SAP ABAP Interview Preparation Guide
Download PDF

SAP ABAP Interview Questions and Answers will guide you that ABAP is a very high level programming language created by the German software company SAP. It is currently positioned, alongside the more recently introduced Java, so learn more about the SAP ABAP with the help of this SAP ABAP Interview Questions with Answers guide

161 SAP ABAP Questions and Answers:

Table of Contents:

SAP ABAP Interview Questions and Answers
SAP ABAP Interview Questions and Answers

1 :: What is the table, which contain the details of all the name of the programs and forms?

Table contains vertical and horizontal lines. We can store the data in table as blocks. We can scroll depends upon your wish. And these all are stored in database (data dictionary).

2 :: What are the difference between Interactive and Drill Down Reports?

ABAP/4 provides some interactive events on lists such as AT LINE-SELECTION (double click) or AT USER-COMMAND (pressing a button). You can use these events to move through layers of information about individual items in a list.

Drill down report is nothing but interactive report...drilldown means above paragraph only.

3 :: Among the Call Transaction and Session Method, which is faster?

Call transaction is faster then session method. But usually we use session method in real time...because we can transfer large amount of data from internal table to database and if any errors in a session, then process will not complete until session get correct.

4 :: What is runtime analysis? Have you used this?

It checks program execution time in microseconds. When you go to SE30. If you give desired program name in performance file. It will take you to below screen. You can get how much fast is your program.

5 :: How can I copy a standard table to make my own Z_TABLE?

Go to transaction SE11. Then there is one option to copy table. Press that button. Enter the name of the standard table and in the Target table enter Z_table name and press enter.

7 :: Can we create field without data element and how?

In SE11, one option is available above the fields strip i.e. Data element / direct type.

8 :: When top of the page event is triggered?

After executing first write statement in start-of-selection event.

9 :: How do you get output from IDOC?

Data in IDOC is stored in segments; the output from IDOC is obtained by reading the data stored in its respective segments.

10 :: In selection screen, I have three fields, plant material number and material group. If I input plant how do I get the material number and material group based on plant dynamically?

AT SELECTION-SCREEN ON VALUE-REQUEST FOR MATERIAL.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

to get material and material group for the plant.

11 :: On which event we can validate the input fields in module programs?

In PAI (Write field statement on field you want to validate, if you want to validate group of fields put in chain and End chain statement.)

12 :: What are client dependant objects in ABAP / SAP?

SAP Script layout, text element, and some DDIC objects.

13 :: How data is stored in cluster table?

Each field of cluster table behaves as tables, which contains the number of entries.

14 :: Write special commands of List?

There are four specials commands of lists: Write, Uline, Skip and New-Page

15 :: What are different types of screen keywords?

There are four types of screen keywords: Module, Loop, Chain and Field.

16 :: hat are the different types of mode (run code) in Call Transaction method?

There are three modes in Call Transaction:

A – Displays All Screen

E – Display Errors

N – Background Processing

17 :: Write the steps to execute session method?

Steps for execution Session Method:

1) System
2) Service
3) Batch Input
4) Session
5) Choose Session Name
6) Process
7) Asks for Mode (Display All Screen, Display Errors & Background)
8) Process

18 :: What are the function module in BDC?

There are three function module in BDC:

1) BDC_OPEN_GROUP

2) BDC_INSERT

3) BDC_CLOSE_GROUP

19 :: Write syntax for Message Error (Report)?

AT SELECTION-SCREEN.

SELECT * FROM ZREKHA_DEPTT INTO CORRESPONDING FIELDS OF ITAB

WHERE DEPTNO IN DEPTNO.

ENDSELECT.



If SY-DBCNT = 0.

MESSAGE E000 WITH ‘NO RECORDS FOUND’.

ENDIF.

20 :: What is Asynchronous and Synchronous Update?

Asynchronous Update – The program does not wait for the work process to finish the update. Commit Work.
Synchronous Update – The program wait for the work process to finish the update.

Commit Work and Wait.

21 :: What are DML commands in ABAP?

Select,
Insert,
Delete,
Modify,
Update

22 :: What are types of Select statements?

SELECT SINGLE <cols> ... WHERE ...

SELECT [DISTINCT] <cols> ... WHERE ...

SELECT <lines> * ...

23 :: What are the sequences of event block?

i. Reports

ii. Nodes

iii. Data

iv. Initialization

v. At selection-screen

vi. Start-of-selection

vii. Get deptt

viii. Get emp

ix. Get deptt late

x. End-of-selection

xi. Form

xii. Endform

25 :: What are the components of Selection Table?

There are four components of selection table:

Low, High, Sign, Options