preloader
SAP ABAP Interview Questions

Top SAP ABAP Interview Questions and Answers for 2022 Job Interviews

author image

Here we have provided the frequently asked SAP ABAP interview questions. So, if you appearing for the technical interview then you also need to prepare these SAP ABAP Interview questions and answers for upcoming 2022 job interviews. Here we have given questions for all levels i.e. freshers, intermediate, experienced to crack the job interview after preparing SAP ABAP Interview Questions & Answers.

About SAP: ABAP is a programming/coding language that performs in the SAP ABAP runtime conditions, developed and used by SAP for the development of application programs that includes Reports, Module Pool Programming, Interfaces, etc.

Also, prepare for Embedded C interview questions, Networking interview questions, and other language interview questions from here.

SAP ABAP Interview Questions

1. Explain SAP ABAP?

2. Explain the ABAP data dictionary?

3. Explain the difference between pool tables and transparent tables?

4. Explain BDC (Batch Data Communications) programming?

5. Define different data classes?

6. Explain internal tables?

7. Name the functional modules required in sequence in BDC?

8. Explain a foreign key relationship?

9. Differentiate between table and structure in data dictionary?

10. Explain Smart Forms?

11. Tell about components of SAP scripts?

12. Tell about Control break events in ABAP?

13. How will you format the data before noting the statement in the report?

14. Differentiate between Template and Table?

15. Explain ALV programming in ABAP?

16. When to use End-of-selection event?

17. Differentiate between ABAP and OOABAP? When do we use OOABAP?

18. Explain table buffer?

19. Tell the use of a ‘pretty printer’?

20. Differentiate between ‘Type’ and ‘Like’?

21. Tell about various ABAP/4 editors?

22. Differentiate between a dialog program and a report?

23. Explain a lock object?

24. How cluster table store the data?

25. Tell the way to debug a script form?

26. Name different types of data dictionary objects?

27. Tell the ways to do the tuning?

28. Explain ‘group by’ in the ‘select’ statement?

29. Explain a dispatcher?

30. Name the methods of modifying SAP standard tables?

31. Differentiate between a ‘Database index’ and a ‘Match code’?

32. What are the advantages of the modularization technique?

33. What are the ways of creating callable modules of code within one ABAP/4 program?

34. Explain different types of parameters?

35. Name different databases Integrities?

36. Tell me the use of events and actions in Web Dynpro?

37. Explain Subroutine?

38. Differentiate between user exit and BADIs?

39. Tell me the statement that is needed in an ABAP program to output an icon using a "write" statement?

40. What is the way to insert a line into ABAP internal tables?


Learn More Interview Questions Here:


ABAP Interview Questions

1. Explain SAP ABAP?

SAP is a software also called ERP (Enterprise Resource Planning) that big enterprises use to control their day-to-day affairs. ABAP (Advanced Business Application Programming) is the programming language for SAP to create RICEFW objects such as (Reports, Extensions, Interfaces, Forms, and Workflows).

2. Explain the ABAP data dictionary?

To define the logical designs of the objects which are used to develop the application, ABAP 4 data dictionary is used. To display the underlying relational database in tables ABAP data dictionary is used.

3. Explain the difference between pool tables and transparent tables?

Transparent tables: In a database, it makes a one-to-one relation with the table. Its design fits a single database field.

Pooled tables: In a database, it has multiple one relations with the table. Pooled tables are reserved at the database level.

a) Basic List: For simple reports

b) Statistics: For Percentage, Average, etc.

c) Ranked List: For analytical reports

4. Explain BDC (Batch Data Communications) programming?

It is an automated procedure to share big or external data into an SAP system. ‘Queue file’ is the main component of the share, which receives the data via batch input programs and groups that are linked with ‘sessions’.

5. Define different data classes?

Master Data: The data in this class is rarely change

Transaction Data: The data can be frequently changed in this class

Organization Data: This data is personalized data and is put into the system when the system is configured. It changes rarely.

System Data: R/3 system itself uses this data.

6. Explain internal tables?

When the program is run then only an internal table exists. It can be used for re-organizing the content of database tables as per the user requirement and also for performing table calculations on a subset of database tables.

7. Name the functional modules required in sequence in BDC?

The three functional modules are used in sequence to execute data transfer effectively using BDC programming. They are

a) BDC_OPEN_GROUP

b) BDC_INSERT

c) BDC_CLOSE_GROUP

8. Explain a foreign key relationship?

Foreign keys are used to assure the consistency of data. The connection made between the tables must be explicitly described at the field level. Data entered must be inspected against the current data to make sure that there is no rejection. Cardinality has to be established while defining foreign key relationships.

9. Differentiate between table and structure in data dictionary?

  • Table can store the data physically whereas a structure cannot do the same.
  • Table can have a primary key but the structure doesn’t.
  • Table does have a technical attribute but the structure doesn’t.

10. Explain Smart Forms?

Smart forms enable you to generate forms using a graphical design tool.

11. Tell about components of SAP scripts?

SAP scripts are word processing tools that have features like standard text and layout sets. Its layout set includes Character formats, Windows and pages, Paragraph formats, etc.

12. Tell about Control break events in ABAP?

Some control break events are:

AT-FIRST: This event runs the statements before records are processed.

AT-LAST: This event runs the statements after all records are processed.

AT-NEW: This event runs the statement before the group of records is processed.

AT-END: This event runs the statements after processing a collection of records.

13. How will you format the data before noting the statement in the report?

The reports output can be formatted by using the loop event

a) .at first

b) .at new

c) .at last

14. Differentiate between Template and Table?

The simple difference is that table is dynamic and the template is static.

15. Explain ALV programming in ABAP?

ALV means Application List Viewer, it is used to improve the output of the report. SAP gives a set of ALV function modules that can be used, also enhances the functionality and readability of any report output.

16. When to use End-of-selection event?

End-of-selection event is used when we type the HR-ABAP code. In this code, data is recovered at the start of the selection event and printing on the list and all this will be completed at the end of the selection event.

17. Differentiate between ABAP and OOABAP? When do we use OOABAP?

ABAP is used to generate traditional programs in R/3, whereas OOABAP is generating BSP/ PCUI applications and also develop object-oriented programs like BADI’s and SmartForms etc.

18. Explain table buffer?

Here, Buffer means memory area, so table buffer represents the table information that exists on the application server. When you call data from a database table, it will come from the application server. Pool tables and transparent tables are buffered, whereas you cannot buffer cluster tables.

19. Tell the use of a ‘pretty printer’?

‘Pretty printer’ is used to format the ABAP code.

20. Differentiate between ‘Type’ and ‘Like’?

‘Type’: At the time of declaring we assign data type straight to the data object.

‘Like’: We allocate the data type of other objects to the declaring data object.

‘Type’ refers to the current data type while ‘Like’ refers to the current data object.

Know the Interview Criteria of these MNCs!!!

SAP ABAP Interview Questions For Experienced Candidates

21. Tell about various ABAP/4 editors?

The 2 ABAP editors are SE38 and SE80. In SE38, you can make programs and view online reports, and can develop objects by using this editor. In SE80, there are added features like creating packages, module pools, function groups, BSP applications, and classes, programs.

22. Differentiate between a dialog program and a report?

A report is a program that can be executed whereas the dialog is a module pool program and can be executed through a transaction only. For the customizations of screens, dialog programming is used.

23. Explain a lock object?

Lock objects are used to synchronize access of various users using the exact data.

24. How cluster table store the data?

A cluster table includes data from numerous DDIC tables. It reserves data as name-value pair.

25. Tell the way to debug a script form?

You have to follow the following details given below to debug a script form:

SE71–>give the form name->utilities->activate debugger

26. Name different types of data dictionary objects?

  • Tables
  • Domain
  • Views
  • Type Groups
  • Data Element
  • Lock Objects
  • Search Helps/Matchcode Objects
  • Table Types
  • Structures

27. Tell the ways to do the tuning?

There are three ways to do the tuning that is disk i/o, SQL tuning, and memory tuning. Before tuning, gets the status of your database using oracle utility also known as statpack and tkprof.

28. Explain ‘group by’ in the ‘select’ statement?

To bring the data from the table by the precise field Group by Clause is used.

29. Explain a dispatcher?

A control agent is known as an SAP dispatcher which handles resources for the R/3 applications.

30. Name the methods of modifying SAP standard tables?

  1. Append structures
  2. Customizing includes

31. Differentiate between a ‘Database index’ and a ‘Match code’?

‘Database Index’ includes fields from one table whereas ‘Match Code’ includes fields from multiple tables. Match code objects can be made by using transparent tables, cluster tables, and pooled tables.

32. What are the advantages of the modularization technique?

You can bypass redundancy if the code includes the same blocks of statements or it is needed to process the exact function multiple times. By modularizing the ABAP/4 programs, we push them easy to read and enhance their structure. Modularized programs are easy to maintain and update.

33. What are the ways of creating callable modules of code within one ABAP/4 program?

  • By defining Macros
  • By creating include programs in the library.

34. Explain different types of parameters?

  • Formal Parameters: It is represented during the definition of subroutine with the ‘FORM’ statement

  • Actual Parameters: It is defined during the call of a subroutine with the ‘PERFORM’ statement

35. Name different databases Integrities?

  • Semantic Integrity
  • Primary Key Integrity
  • Relational Integrity
  • Foreign Key Integrity
  • Value Set Integrity
  • Operational Integrity

36. Tell me the use of events and actions in Web Dynpro?

In Web Dynpro, events are made to set a connection between controllers. With the connection, one controller stimulus events in other controllers. All events are managed in component controllers and functional in particular components.

37. Explain Subroutine?

The subroutine is a section where the code can be reused. It is a custom unit where functions are enclosed in the form of source code. A program part can be called a subroutine for acquiring a better summary of the main program.

38. Differentiate between user exit and BADIs?

For single implementation, user exit is used with a procedural approach. Whereas BADIs id used for multiple implementations (Reusability of the object).

39. Tell me the statement that is needed in an ABAP program to output an icon using a "write" statement?

There are 2 statements that are needed in the ABAP program:

INCLUDE: Include Statement is a mandated statement for the program.

WRITE: The syntax of the Write Statement is mentioned below:

WRITE AS ICON

40. What is the way to insert a line into ABAP internal tables?

To insert lines in ABAP internal tables we have to use the INSERT statement command. Firstly write the values that you want to insert in a work area then utilize the INSERT statement to insert the values in the work area to the internal table.

The syntax are:

INSERT INTO TABLE .

OR

INSERT INTO INDEX .


Want to prepare for these languages:

Recent Articles