SAP ABAP Interview Questions
Q1) Explain the 3-tier architecture of SAP ABAP.
Ans: The presentation layer of SAP ABAP includes an input device. The SAP system is controlled by this presentation layer. The presentation can be a mobile phone or just a web browser. The process takes place with the help of the Application Server. This processing system has various instances in the Application server. A database layer is placed on another server and the application server communicates with this layer. This is done for security and performance purposes. In this way, all the layers communicate within the system right from the presentation to the database later.
Q2) What is the meaning data dictionary in ABAP?
Ans: The data dictionary is mainly used for describing the logic behind the structures of certain objects which are used for the development of ABAP 4. A data dictionary is mainly used in the development of such an application or programming language. The relational database is shown with the help of a data dictionary in tables. know more at SAP ABAP online training
Q3) Define Function Group. What are the differences between Function Module and Function Group?
Ans: Function Group and Function Module are said to belong together logically. Function groups are considered to be containers of the Function Modules.
The differences between Function Groups and Function Modules are as follows -
- Function Groups need not be defined in Function Module but however, the latter one must be defined in Function Groups.
- Function Modules are able to be called from various kinds of programs. Function Groups can't be called.
- Function Groups acts as Function Module's containers but the latter one doesn't act as containers.
Q4) What are the functions of Lock Objects?
Ans: The same data can be accessed by various programs and Lock Objects which is a particular feature of ABAP that synchronizes the access to these data. Particular programs help in accessing the data records. Sometimes, inconsistencies appear when data gets inserted into the database and in order to avoid this, Lock Object is used.
Q5) What are the functions of a message command available in a report? Mention its types.
Ans: The message ID gets specified right at the start of the program and this is available in the reported statement. Message command helps in displaying the message ID. Message-ID includes a 2-character code that helps in defining a total set of 1000 total messages and message command defines what sets are to be used in the program.
The following are the different kinds of messages which appear in the program system -
- E - Error: When this message appears, the current application stops working. The program running in the background mode also gets canceled. The job log records this message.
- W - Warming: In order for the application to continue when this message appears, Enter must be pressed by the user. The job log also records this message.
- I - Information: When this message appears, Enter must be pressed and this message which appears in the pop-up window also gets recorded by job log.
- A -Abend: The current transaction used by the user gets canceled when this messy appears.
- S - Success: This message appears mainly in the form of feedback that is given to the users. This appears at the bottom of the screen. This is considered to be a positive message. The program is not disturbed by this message.
- X - Abort: Mainly the entire program Gerd aborted by this and generally an ABAP short dump gets created.
Q6) Why are insert and append statements used in SAP ABAP?
Ans: At the end of the internal table, a record gets added to the specific work area, and the Append statement helps in adding this record. know more at SAP ABAP training
A record at a specific location gets added with the help of Insert Statement.
Q7) Define the various contents of Technical Specifications.
Ans: Technical Specifications consists of 5 contents -
1. Data Class
2. Buffering Permission
3. Size Category
4. Login
5. Buffering Type
Q8) Define Smart Forms.
Ans: Different kinds of forms are created by Graphical design tool with the help of Smart Forms.
Q9) Why is a pretty printer user in ABAP?
Ans: The pretty-printer is used to format the code of ABAP.
Q10) Differentiate between transparent and pool tables.
Ans: Transparent tables are the ones which has one to one relation to the table. The structure is also similar to the single database field. On the other hand, pool tables are the ones which have many to one relation to the table. Database level stores the pooled tables.
Q11) Define BDC programming.
Ans: Batch Data Communications that is BDC is a type of procedure. This automatic procedure is mainly used for transferring large data into the SAP system. The main component of the transfer is known as the Queue file. This file gets hold of the data with the help of batch input programs. These programs and groups are associated with various sessions.
Q12) What are the different types of data classes? Define them.
Ans: The data classes are divided into the following -
1. Master data - The data of this class rarely changes.
2. Transaction data - This type of data often changes.
3. Organization data - The data of this class also rarely changes. The data gets customized and gets entered into the configured system.
4. System data - R/3 system uses this data.
Q13) What is the meaning of a foreign key relationship?
Ans: The data consistency is ensured by using a foreign key. The relationship must be defined explicitly. In order to ensure that no contradiction is there, the data which is entered must be checked. In a foreign key relationship, cardinality must be totally specified.
Q14) What is the meaning of SAP R/3?
Ans: SAP R/3 mainly refers to the processing structure having three types of layers namely, the Presentation layer, the application layer, and the database layer. It is generally considered to be a Systems Application for the processing of data.
Q15) Differentiate between OOABAP and ABAP.
Ans: For the development of traditional programs in R/3, ABAP is used. On the other hand, OOABAP is used for the development of BSP/PCUI applications.
Q16) What is the meaning of table buffer? This buffer is used by which type of table?
Ans: The word buffer here refers to the memory area. The information about the table is found on the application server and this is the meaning of table buffer. In fact, even the data of the database table actually comes from the application server. Cluster tables can't be buffeted but however, transparent and pool tables can be buffered. know more at SAP ABAP online training from India
Q17) How can a cluster table be created?
Ans: The following steps must be followed to create a cluster table -
- From the dictionary of ABAP, the object type table must be selected. Table name should be entered and then the create option must be chosen.
- A maintenance screen gets displayed for the table. The transparent table must be set as the default for the table type option.
- On the page of attributes, changes must be done in the description box or parallel. Next, table fields get defined.
- Save the entries for the creation of the transparent table.
- The category of EXTRAS Change must be chosen.
- Pooled or cluster table - any one of the two table types must be selected from the dialogue box.
- The next step includes returning to the field maintenance screen for the table.
- Lastly, the name of the cluster or pooled table must be selected entered.
Q18) Differentiate between Table and Template.
Ans: The main difference between Template and Table is that the former is dynamic in nature whereas the latter one is static in nature.
Q20) Define dispatcher.
Ans: The resources of the applications of R/3 are managed with the help of SAP dispatcher which is basically a control agent.
Q21) How can the standard tables of SAP be modified?
Ans: The standard table of SAP can be modified mainly by two methods -
1. Customizing includes
2. Append structures
Q22) What are the various events associated with Screen Programming?
Ans: The following are the events associated with Screen Programming -
1. Process Before Output (PBO) - This event gets processed long before displaying the screen.
2. Process After Input (PAI) - This event is processed while the interaction of a user with the screen continues.
3. Process On Help (POH) - This even gets process on request by a user after pressing F1. The program gets appropriately coded in various event blocks. The present screen gets processed by the system.
4. Process On Value (POV) - This gets processed by pressing F4 by users. Here also, the coding can be done in the various event blocks.
Q23) What are the main events of which are used for Logical Database?
Ans: The main events used for Logical Database are as follows -
1. GET - The programs used for Logical Database ads executed with the help of this event. It mainly takes place when a line from the node was read by the logical database. This has made it very much available towards the program and GET statements to determine the depth of the logical database.
2. PUT - The flow of the program is directed by the PUT event.
Q24) How can End-of-selection be used?
Ans: While writing the code of HR-ABAP, End of the selection event can be used. Right at the beginning of the skeleton event, the data gets retrieved. Printing of the same data is done at the end of the selection event.
Q25) Define ALV programming in ABAP.
Ans: ALV is the abbreviation of Application List Viewer. ALV functions are provided by SAP in order for enhancing the report output. These function modules help in improving the readability and the functionality of the output report. Even the columns can be arranged with the help of this tool.
Q26) Differentiate between report and dialog program.
Ans: Dialog program is considered to be a module pool program while a report is considered to be an executable program. The execution is mainly done through a transaction. Screens can be customized with the help of Dialog programming. know more at SAP ABAP online course
Q27) Mention the various types of objects of the data dictionary.
Ans: The following are the data dictionary objects -
1. Tables
2. Domain
3. Views
4. Data Element
5. Search Helps or Matchcode Objects
6. Type Groups
7. Look Objects
8. Table Types
9. Structure
Q28) What are the various types of parameters and how are they distinguished from one another?
Ans: There are mainly two types of parameters -
1. Formal parameters - This is basically defined when the subroutine gets defined alongside the FORM statement.
2. Actual parameters - This is defined when the subroutine gets defined alongside the PERFORM statement.
These can be distinguished by distinguishing the functionality. The data are passed to the subroutines with the help of the Input parameters and data are passed from the subordinates with the help of output parameters.
Q29) Mention the various database integrities.
Ans: The following are the different types of database integrities -
1. Semantic Integrity
2. Primary Key Integrity
3. Relational Integrity
4. Value Set Integrity
5. Operational Integrity
6. Foreign Key Integrity
Q30) Differentiate between ABAP memory and SAP memory.
Ans: ABAP memory is considered to be the memory area included in the ABAP program available in the internal section or the roll area of the ABAP program. Data is stored in the program calls which allow the data to be passed from one program calls to another.
It is possible for data to be passed from one session to another with the help of using SAP Memory. All the sessions of SAPgui have accused of the memory area known as SAP Memory. Data can be very easily transferred from one session of the programming system to another.
Comments
Post a Comment