Thursday, 11 July 2013

SAP ABAP INTERVIEW QUESTIONS

   1. What guarantees the integration of all application modules ?
  • The R/3 basis system guarantees the integration of all application modules. The R/3 basis s/w provides the run time environment for the R/3 applications ensures optimal integration, defines a stable architectural frame for system enhancements, and contains the administration tools for the entire system.
  • One of the main tasks of the basis system is to guarantee the portability of the complete system.
   2. What are the central interfaces of the R/3 system ?
  • Presentation Interface.
  • Database Interface.
  • Operating system Interface.
   3. Which interface controls what is shown on the p.c.?
Presentation Interface.
   4. Which interface converts SQL requirements in the SAP development system to those of the database ?
Database Interface.
   5. What is SAP dispatcher ?
SAP dispatcher is the control agent that manages the resources for the R/3 applications.
   6. What are the functions of dispatcher ?
  • Equal distribution of transaction load to the work processes.
  • Management of buffer areas in main memory.
  • Integration of the presentation levels.
  • Organization of communication activities.
   7. What is a work process ?
A work process is where individual dialog steps are actually processed and the work is done. Each work process handles one type of request.
  8. Name various work processes of R/3 system ?
  • Dialog or Online (processes only one request at a time).
  • Background (Started at a specific time)
  • Update (primary or secondary)
  • Enque (Lock mechanism).
  • Spool (generated online or during back ground processing for printing).
   9. Explain about the two services that are used to deal with communication.
  • Message Service: Used by the application servers to exchange short internal messages, all system communications.
  • Gateway Service: Enables communication between R/3 and external applications using CPI-C protocol.
  10. Which work process triggers database changes ?
Update work process.
  11. Define service (within R/3) ?
A service is a process or group of processes that perform a specific system function and often provide an application-programming interface for other processes to call.
  12. What are the roll and page areas ?
  • Roll and page areas are SAP R/3 buffers used to store user contexts (process requests). The SAP dispatcher assigns process requests to work processes as they are queued in the roll and page areas.
  • Paging area holds data from the application programs.
  • Roll area holds data from previous dialog steps and data that characterize the user.
   13. What are the different layers in R/3 system ?
  • Presentation Layer.
  • Application Layer.
  • Database Layer.
   14. What are the phases of background processing ?
  • Job Scheduling.
  • Job Processing.
  • Job Overview.
   15. What components of the R/e system initiate the start of background jobs at the specified time ?
The batch scheduler initiates the start of background job. The dispatcher then sends this request to an available background work process for processing.
   16. Define Instance.
An instance is an administrative unit in which components of an R/3 systems providing one or more services are grouped together. The services offered by an instance are started and stopped at random. All components are parameterized using a joint instance profile. A central R/3 system consists of a single instance in which all-necessary SAP services are offered. Each instance uses separate buffer areas.
   17. From hardware perspective, every information system can be divided into three task areas Presentation, Application Logic and Data Storage.
The R/3 Basis software is highly suitable for use in multi-level client/server architectures.
   18. What are R/3 Basis configurations ?
  • A central system with centrally installed presentation software.
  • Two-level client/server system with rolled out presentation software.
  • Two-level client/server system. Presentation and Application run on the same computer.
  • Three-level client/server system. Presentation, Application and database each run on separate computers.
    19. What is a Service in SAP terminology ?
A service refers to something offered by a s/w component.
    20. What is Server in SAP terminology ?
A component can consist of one process or a group and is then called the server for the respective service.
    21. What is a client in SAP terminology ?
A S/W component that uses the service (offered by a s/w component) is called a Client. At the same time these clients may also be servers for other services.
    22.What is a SAP system ?
The union of all s/w components that are assigned to the same databases is called as a SAP system.
   23. What is the means of communications between R/3 and external applications ?
The means of communication between R/2,R/3 and external applications is via the CPI-C handler or SAP Gateway, using the CPI-C Protocol.
   24. What is the protocol used by SAP Gateway process ?
The SAP Gateway process communicates with the clients based on the TCP/IP Protocol.
    25. Expand CPI-C.
Common Program Interface Communication.
    26. What is a Spool request ?
Spool requests are generated during dialog or background processing and placed in the spool database with information about the printer and print format. The actual data is places in the Tem Se (Temporary Sequential objects).
   27. What are different types of Log records ?
V1 and V2. V1 must be processed before V2. But, we can have more than one V2 logs.
   28. What are the types of Update requests ?
An update request can be divided into one primary (V1) and several Secondary update components (V2). Time-critical operations are placed in V1 component and those whose timing is less critical are placed in V2 components. If a V1 update fails, V2 components will not be processed.
  30. Explain what is a transaction in SAP terminology.
In SAP terminology, a transaction is series of logically connected dialog steps.
  31. Explain how SAP GUI handles output screen for the user.
The SAP front-end s/w can either run on the same computer or on different computers provided for that purpose. User terminal input is accepted by the SAP terminal program SAP GUI, converted to SAP proprietary format and sent to the SAP dispatcher. The dispatcher coordinates the information exchange between the SAP GUIs and the work processes. The dispatcher first places the processing request in request queues, which it then processes. The dispatcher dispatches the requests one after another, to the available work process. The actual processing takes place in the work process. When processing is complete, the result of a work process is returned via the dispatcher to the SAP GUI. The SAP GUI interprets the received data and generates the output screen for the user.
  DATA DICTIONARY

    1. What are the layers of data description in R/3 ?
  • The external layer.
  • The ABAP/4 layer.
  • The database layer.
    2. Define external layer ?
The external layer is the plane at which the user sees and interacts with the data, that is, the data format in the user interface. This data format is independent of the database system used.
    3. Define ABAP/4 layer ?
The ABAP/4 layer describes the data formats used by the ABAP/4 processor.
    4. Define Database layer ?
The database layer describes the data formats used in the database.
    5. What is a Data Class ?
The Data class determines in which table space the table is stored when it is created in the database.
    6. What is a Size Category ?
The Size category describes the probable space requirement of the table in the database.
    7. How many types of size categories and data classes are there ?
There are five size categories (0-4) and 11 data classes only three of which are appropriate for application tables:
  • APPL0- Master data (data frequently accessed but rarely updated).
  • APPL1- Transaction data (data that is changed frequently).
  • APPL2- Organizational data (customizing data that is entered when system is configured and then rarely changed).
The other two types are:
  • USR
  • USR1 – Intended for customer's own developments.
   8. What are control tables ?
The values specified for the size category and data class are mapped to database-specific values via control tables.
   9. What is the function of the transport system and workbench organizer ?
The function of the transport system and the Workbench Organizer is to manage any changes made to objects of the ABAP/4 Development Workbench and to transport these changes between different SAP systems.
   10. What is a table pool ?
A table pool (or pool) is used to combine several logical tables in the ABAP/4 Dictionary. The definition of a pool consists of at least two key fields and a long argument field (VARDATA).
   11. What are pooled tables ?
These are logical tables, which must be assigned to a table pool when they are defined. Pooled tables can be used to store control data (such as screen sequences or program parameters).
   12. What is a table cluster ?
A table cluster combines several logical tables in the ABAP/4 Dictionary. Several logical rows from different cluster tables are brought together in a single physical record. The records from the cluster tables assigned to a cluster are thus stored in a single common table in the database.
   13. How can we access the correction and transport system ?
Each time you create a new object or change an existing object in the ABAP/4 Dictionary, you branch automatically to the Workbench Organizer or correction and transport system.
   14. Which objects are independent transport objects ?
Domains, Data elements, Tables, Technical settings for tables, Secondary indexes for transparent tables, Structures, Views, Matchcode objects, Matchcode Ids, Lock objects.
   15. How is conversion of data types done between ABAP/4 & DB layer ?
Conversion between ABAP/4 data types and the database layer is done within the database interface.
   16. How is conversion of data types done between ABAP/4 & external level ?
Conversion between the external layer and the ABAP/4 layer is done in the SAP dialog manager DYNP.
   17. What are the Data types of the external layer ?
ACCP, Char, CLNT, CUKY, CURR, DATS, DESC, FLTP, INT1, INT2, INT4, LANG, LCHR, LRAW, NUMC, PREC, QUAN, RAW, TIMS, UNIT,VARC.
   18. What are the Data types of the ABAP/4 layer ?
 Possible ABAP/4 data types:
C: Character.
D: Date, format YYYYMMDD.
F: Floating-point number in DOUBLE PRECISION (8 bytes).
I: Integer.
N: Numerical character string of arbitrary length.
P: Amount of counter field (packed; implementation depends on h/w platform).
S: Time Stamp YYYYMMDDHHMMSS.
V: Character string of variable length, length is given in the first two bytes.
X: Hexadecimal (binary) storage.
   19. How can we set the table spaces and extent sizes ?
You can specify the extent sizes and the table space (physical storage area in the database) in which a transparent table is to be stored by setting the size category and data class.
   20. What is the function of the correction system ?
The correction system manages changes to internal system components. Such as objects of the ABAP/4 Dictionary.
   21. What are local objects ?
Local objects (Dev class$TMP) are independent of correction and transport system.
   22. What is a Development class ?
Related objects from the ABAP/4 repository are assigned to the same development class. This enables you to correct and transport related objects as a unit.
   24. What functions does a data dictionary perform ?
In a data management system, the principal functions performed by the data dictionary are
  • Management of data definitions.
  • Provision of information for evaluation.
  • Support for s/w development.
  • Support form documentation.
  • Ensuring that the data definitions are flexible and up-to-date.
    25. What are the features of ABAP/4 Dictionary ?
  • The most important features are:
  • Integrated to a ABAP/4 Development Workbench.
  • Active in the runtime environment.
   26. What are the uses of the information in the Data dictionary ?
The following information is directly taken from the Data dictionary:
  • Information on fields displayed with F1 help.
  • Possible entries for fields displayed with F4 help.
  • Matchcode and help views search utilities.
   27. What are the basic objects of the data dictionary ?
  • Tables
  • Domains
  • Data elements
  • Structures
  • Foreign Keys
   28. What are the aggregate objects in the data dictionary ?
  • Views
  • Match codes
  • Lock objects.
   29. In the ABAP/4 Dictionary Tables can be defined independent of the underlying database (T/F).
True.
   31. A field containing currency amounts (data type CURR) must be assigned to a reference table and a reference field. Explain.
As a reference table, a system containing all the valid currencies is assigned or any other table, which contains a field with the currency key format. This field is called as reference field. The assignment of the field containing currency amounts to the reference field is made at runtime. The value in the reference field determines the currency of the amount.
   32. A field containing quantity amounts (data type QUAN) must be assigned to a reference table and a reference field. Explain ?
  • As a reference table, a system table containing all the valid quantity units is assigned or any other table, which contains a field with the format or quantity units (data type UNIT). This field is called as reference field.
  • The assignment of the field containing quantity amounts to the reference field is made at runtime. The value in the reference field determines the quantity unit of the amount.
   33. What is the significance of Technical settings (specified while creating a table in the data dictionary) ?
By specifying technical settings we can control how database tables are created in the database. The technical settings allows us to
  • Optimize storage space requirements.
  • Table access behavior.
  • Buffering required.
  • Changes to entries logged.
   34. What is a Table attribute ?
The table's attributes determine who is responsible for maintaining a table and which types of access are allowed for the table. The most important table attributes are:
  • Delivery class.
  • Table maintenance allowed.
  • Activation type.
   35. What is the significance of Delivery Class ?
  • The delivery class controls the degree to which the SAP or the customer is responsible for table maintenance.
  • Whether SAP provides the table with or without contents.
  • Determines the table type.
  • Determines how the table behaves when it is first installed, at upgrade, when it is transported, and when a client copy is performed.
   36. What is the max. no. Of structures that can be included in a table or structure.
Nine.
   37. What are two methods of modifying SAP standard tables ?
  • Append Structures and
  • Customizing Includes.
   38. What is the difference between a Substructure and an Append Structure ?
  •  In case of a substructure, the reference originates in the table itself, in the form of a statement include….
  •  In case of an append structure, the table itself remains unchanged and the reference originates in the append structure.
   39. To how many tables can an append structure be assigned.
One.
  40. If a table that is to be extended contains a long field, we cannot use append structures why ?
Long fields in a table must always be located in the end, as the last field of the table. If a table has an append structure the append line must also be on the last field of the table.
   41. Can we include customizing include or an append structure with Pooled or Cluster tables ?
No.
   42. What are the two ways for restricting the value range for a domain ?
  • By specifying fixed values.
  • By stipulating a value table.
   43. Structures can contain data only during the runtime of a program (T/F)
True.
   44. What are the aggregate objects in the Dictionary ?
  • Views
  • Match Code.
  • Lock Object.
    45. What are base tables of an aggregate object ?
The tables making up an aggregate object (primary and secondary) are called aggregate object.
    46. The data of a view is not physically stored, but derived from one or more tables (t/f)
True.
    47. What are the 2 other types of Views, which are not allowed in Release 3.0 ?
  • Structure Views.
  • Entity Views.
    48. What is a Match Code ?
Match code is a tool to help us to search for data records in the system. Match Codes are an efficient and user-friendly search aid where key of a record is unknown.
   49. What are the two levels in defining a Match Code ?
  • Match Code Object.
  • Match Code Id.
  50. What is the max no of match code Id's that can be defined for one Match code object ?
A match code Id is a one character ID that can be a letter or a number.

No comments:

Post a Comment