Top 30 ABAP Interview Questions and Answers

Updated 28 Nov 2024

Q1. 10. Why we write IF GT_VBAK IS INITIAL statement in for all entries.

Ans.

The IF GT_VBAK IS INITIAL statement is used to check if the internal table GT_VBAK is empty.

  • The statement is used to avoid processing an empty internal table.

  • It helps in preventing runtime errors when accessing the table.

  • By checking if the internal table is initial, we can handle the empty table scenario gracefully.

  • It is a good practice to use this statement before accessing the internal table.

View 2 more answers

Q2. 1.what is ddic T-code 2. what is package 3.what are objects in se11 3.what is domain and data element 4.steps to create table 5.what are different types of views 5.what is lock objects 6.what is TMG and events...

read more
Ans.

SAP ABAP Consultant interview questions

  • 1. DDIC T-code is used to access the Data Dictionary in SAP.

  • 2. A package is a container for development objects in SAP.

  • 3. Objects in SE11 refer to database tables, views, and data types.

  • 4. A domain defines the technical attributes of a field, while a data element defines its semantic attributes.

  • 5. Steps to create a table include defining the table structure, fields, and keys.

  • 6. Different types of views in SAP include database views, proj...read more

View 1 answer

Q3. What is t code to extend material.

Ans.

The t-code to extend material in SAP MM is MM01.

  • MM01 is used to create a new material master record.

  • It allows you to extend the material to different organizational levels, such as plants or storage locations.

  • You can enter all the relevant information for the material, such as description, unit of measure, pricing, and accounting data.

  • Once the material is extended, it can be used in various SAP MM processes like purchasing, inventory management, and production planning.

View 2 more answers

Q4. What is Abap in sap

Ans.

ABAP (Advanced Business Application Programming) is a high-level programming language created by SAP for developing business applications.

  • ABAP is the primary programming language used in SAP for customizing and developing reports, interfaces, forms, and workflows.

  • It is a 4th generation programming language that runs in the SAP ABAP runtime environment.

  • ABAP programs are stored in the SAP database and are executed on the application server.

  • ABAP code can be used to enhance stand...read more

Add your answer
Frequently asked in
Are these interview questions helpful?

Q5. what is ALV in reports

Ans.

ALV stands for ABAP List Viewer, a tool used to display data in tabular format in SAP reports.

  • ALV is used to enhance the readability and usability of reports by displaying data in a structured format.

  • It allows users to sort, filter, and customize the display of data according to their requirements.

  • ALV can display data in various formats such as grid, list, tree, etc.

  • It provides features like column resizing, column freezing, subtotaling, and exporting data to Excel.

  • ALV can be...read more

Add your answer
Frequently asked in

Q6. New things which can be done with sap abap hana

Ans.

SAP ABAP HANA offers new capabilities for real-time data processing and analytics.

  • Real-time data processing and analytics

  • In-memory computing for faster performance

  • Advanced data modeling and predictive analytics

  • Integration with other SAP technologies like SAP S/4HANA

  • Support for cloud deployment and mobile devices

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q7. Worked on Module Pool

Ans.

Yes, I have worked on Module Pool in SAP ABAP.

  • Developed interactive user interfaces using Module Pool programming in SAP ABAP

  • Utilized screen painter to design screens and flow logic to control user interactions

  • Implemented data retrieval and processing logic within Module Pool programs

  • Used function modules and subroutines to modularize code and improve reusability

Add your answer

Q8. Report Events, why is At selection Screen Event used

Ans.

At selection screen event is used to capture user input before executing a report.

  • At selection screen event is triggered before the selection screen is displayed to the user.

  • It is used to validate user input and set default values for selection screen parameters.

  • It can also be used to dynamically modify the selection screen based on user input.

  • Example: At selection screen event can be used to restrict the input values for a parameter to a specific range.

  • Example: At selection ...read more

View 1 answer
Frequently asked in

ABAP Jobs

Application Developer: SAP ABAP HANA 2-4 years
IBM India Pvt. Limited
4.0
Ahmedabad
Application Developer: SAP ABAP HANA 2-4 years
IBM India Pvt. Limited
4.0
Coimbatore
Application Developer: SAP ABAP HANA 2-4 years
IBM India Pvt. Limited
4.0
Ahmedabad

Q9. 20. What is implicit & explicit enhancements

Ans.

Implicit enhancements are modifications to standard SAP code without changing the original code. Explicit enhancements are modifications to standard SAP code by adding new code.

  • Implicit enhancements are done using the Enhancement Framework and are implemented using Enhancement Spots and Enhancement Sections.

  • Explicit enhancements are done using the Enhancement Framework and are implemented using Enhancement Points and Enhancement Sections.

  • Implicit enhancements are used when th...read more

Add your answer

Q10. Difference between CDS view and AMDP

Ans.

CDS views are used to define database views in ABAP, while AMDP is used to write database procedures in ABAP.

  • CDS views are defined using ABAP Development Tools (ADT) in Eclipse IDE.

  • AMDP allows writing database procedures directly in ABAP code.

  • CDS views are used for defining virtual data models, while AMDP is used for complex calculations or data manipulations directly in the database.

  • CDS views can be consumed in ABAP programs, while AMDP procedures are called from ABAP progra...read more

Add your answer

Q11. What is the different between call transaction method and session method?

Ans.

Call transaction method is synchronous and session method is asynchronous.

  • Call transaction method executes the transaction immediately and waits for the response while session method creates a session and executes the transaction in the background.

  • Call transaction method is suitable for small data sets while session method is suitable for large data sets.

  • Call transaction method is faster than session method but session method provides better error handling and logging.

  • Call tr...read more

Add your answer

Q12. Tables types in SAP ABAP

Ans.

Table types in SAP ABAP include transparent tables, pooled tables, cluster tables, and internal tables.

  • Transparent tables store data from a single database table.

  • Pooled tables store data from multiple tables with the same structure.

  • Cluster tables store data from multiple tables with different structures.

  • Internal tables are temporary tables used for data processing within a program.

Add your answer

Q13. What is implicit and explicit enhancement and how to identify it?

Ans.

Implicit and explicit enhancements are ways to modify standard SAP code without modifying it directly.

  • Implicit enhancements are modifications made to standard SAP code without changing the original code. They are done using predefined hooks in the code.

  • Explicit enhancements are modifications made to standard SAP code by directly modifying the original code. They are done using custom code.

  • To identify implicit enhancements, look for predefined function modules or include progr...read more

Add your answer

Q14. How to debug smartform

Ans.

To debug a smartform, use transaction SMARTFORMS and set breakpoints in the code.

  • Open transaction SMARTFORMS

  • Select the smartform to be debugged

  • Click on the 'Debugging' button

  • Set breakpoints in the code

  • Execute the smartform and the debugger will stop at the breakpoints

Add your answer

Q15. How touse sorted BADI's?

Ans.

Sorted BADI's are used to execute multiple implementations in a specific order.

  • Sorted BADI's are used when multiple implementations need to be executed in a specific order.

  • The order is determined by a sort number assigned to each implementation.

  • The sort number can be set in the BADI definition or in the implementation.

  • To use sorted BADI's, the BADI interface must have a method to retrieve the sort number.

  • An example of a sorted BADI is BADI_MATERIAL_CHECK, which checks the val...read more

Add your answer

Q16. Tell me some t-codes

Ans.

T-codes are transaction codes used in SAP to access specific functions or perform specific tasks.

  • T-code SU01 - User Maintenance

  • T-code SE38 - ABAP Editor

  • T-code SM21 - System Log

  • T-code SE11 - Data Dictionary

  • T-code SE16 - Data Browser

View 1 answer
Frequently asked in,

Q17. How can find an Enhancement point?

Ans.

Enhancement points can be found using the Enhancement Framework in SAP.

  • Use transaction code SE19 to access the Enhancement Framework.

  • Select the relevant enhancement spot and enhancement option.

  • Create a new implementation or modify an existing one.

  • Activate the implementation and test the changes.

  • Enhancement points can also be found using the Enhancement Finder tool.

  • Check the SAP documentation for more information.

Add your answer

Q18. What is Alv reports, module pool program,smartforms

Ans.

ALV reports, module pool programs, and smartforms are different types of tools used in SAP ABAP development.

  • ALV reports are interactive reports that display data in a tabular format with various functionalities like sorting, filtering, and editing.

  • Module pool programs are used to create interactive screens for user input and display in SAP applications.

  • Smartforms are used to design and generate professional-looking forms like invoices, purchase orders, and delivery notes in S...read more

Add your answer

Q19. What is ddic , domain, lock objects

Ans.

DDIC is Data Dictionary, domain is a data type definition, lock objects are used for data consistency in SAP ABAP.

  • DDIC stands for Data Dictionary in SAP ABAP

  • Domain is a data type definition in DDIC

  • Lock objects are used for data consistency in SAP ABAP

Add your answer

Q20. what is tcode for po

Ans.

ME21N is the tcode for creating a Purchase Order in SAP

  • ME21N is used to create a new Purchase Order

  • ME22N is used to change an existing Purchase Order

  • ME23N is used to display a Purchase Order

Add your answer

Q21. What is the difference bt BDC & Bapi

Ans.

BDC is used for data transfer between SAP and non-SAP systems, while BAPI is used for data transfer between SAP systems.

  • BDC stands for Batch Data Communication and is used for transferring data between SAP and non-SAP systems.

  • BAPI stands for Business Application Programming Interface and is used for transferring data between SAP systems.

  • BDC requires recording of the transaction and is typically used for automating repetitive tasks.

  • BAPI is a standard interface provided by SAP ...read more

View 1 answer

Q22. Difference between BAPI n BADI

Ans.

BAPI is a standard interface provided by SAP for external applications to access business processes, while BADI is an enhancement technique used to add additional functionality to standard SAP applications.

  • BAPI stands for Business Application Programming Interface and is used for integrating external applications with SAP systems.

  • BAPIs are standardized and can be called from external systems to execute business processes in SAP.

  • BADI stands for Business Add-Ins and is used to ...read more

Add your answer
Frequently asked in

Q23. Difference between user exit and badi

Ans.

User exits are older technology, while BAdIs are newer and more flexible.

  • User exits are static, while BAdIs are dynamic and can be implemented multiple times.

  • User exits require modification of standard SAP code, while BAdIs do not.

  • BAdIs can be implemented without modifying the original code, making them more flexible.

  • BAdIs can be filtered based on specific criteria, while user exits cannot.

  • BAdIs are object-oriented, while user exits are procedural.

Add your answer
Frequently asked in

Q24. 7.What is the annotation to expose CDS view in analytics

Ans.

The annotation to expose CDS view in analytics is @Analytics.query: true.

  • Use @Analytics.query: true annotation in the CDS view definition

  • This annotation allows the CDS view to be exposed in analytics tools

Add your answer
Frequently asked in

Q25. Difference Between BADI and UserExit?

Ans.

BADI is an enhancement technique in SAP that allows adding additional functionality to standard SAP programs, while UserExit is a legacy technique for modifying standard SAP programs.

  • BADI stands for Business Add-In and is a newer enhancement technique in SAP.

  • BADI allows multiple implementations to be active at the same time, providing flexibility.

  • BADI implementations are independent of each other and can be activated or deactivated individually.

  • UserExit is an older enhancemen...read more

Add your answer

Q26. Explain interactive report and module pool report

Ans.

An interactive report is a type of report in SAP ABAP that allows users to interact with the data displayed, while a module pool report is a collection of screens and flow logic used for creating interactive applications.

  • Interactive report: Allows users to interact with the data displayed

  • Module pool report: Collection of screens and flow logic for creating interactive applications

  • Interactive report can have user input fields, drill-down functionality, and sorting options

  • Modul...read more

Add your answer

Q27. what is writing ABAP

Ans.

Writing ABAP is a programming language used in SAP systems for developing custom programs and enhancements.

  • ABAP stands for Advanced Business Application Programming.

  • It is used to write code for SAP applications, including SAP BW (Business Warehouse).

  • ABAP programs can be used to extract, transform, and load data in SAP BW.

  • It allows for the creation of custom reports, interfaces, and enhancements.

  • ABAP code can be written in the ABAP Editor within the SAP system.

  • Examples of ABAP...read more

Add your answer
Frequently asked in

Q28. How to find badis, different between user exit and customer exit

Ans.

Badis can be found using transaction code SE18. User exits are older and customer exits are newer enhancements in SAP.

  • Badis can be found using transaction code SE18.

  • User exits are older enhancements in SAP.

  • Customer exits are newer enhancements in SAP.

  • Badis provide a more flexible and object-oriented approach compared to user exits and customer exits.

  • Badis can be implemented multiple times, while user exits and customer exits can only be implemented once.

  • Badis are implemented ...read more

View 1 answer
Frequently asked in

Q29. Introduction and technical aspects of ABAP

Ans.

ABAP is a programming language used for developing SAP applications.

  • ABAP stands for Advanced Business Application Programming.

  • It is a high-level programming language used for developing SAP applications.

  • It is used for developing reports, interfaces, forms, and enhancements.

  • ABAP is an event-driven programming language.

  • It supports object-oriented programming concepts.

  • ABAP programs run on the SAP NetWeaver ABAP application server.

  • ABAP programs can be developed using the ABAP Wor...read more

Add your answer

Q30. Basic concepts of ABAP. New technologies in ABAP.

Ans.

ABAP is a programming language used for SAP applications. New technologies include SAP HANA, SAPUI5, and SAP Fiori.

  • ABAP is used for developing applications in SAP systems

  • SAP HANA is an in-memory database technology used for faster data processing

  • SAPUI5 is a user interface technology used for developing web applications

  • SAP Fiori is a design language used for creating responsive and intuitive user interfaces

  • ABAP supports object-oriented programming concepts

  • ABAP also supports in...read more

Add your answer

Q31. What exact code to be written when there are two field in selection screen if one field is filled the display second field and in which event it need to be written.

Ans.

Use AT SELECTION-SCREEN OUTPUT event to display second field based on first field input.

  • Use AT SELECTION-SCREEN OUTPUT event to check if first field is filled.

  • If first field is filled, display the second field using the statement 'SET PF-STATUS'.

  • Example: AT SELECTION-SCREEN OUTPUT. IF sy-abcde = 'X'. SET PF-STATUS 'SECOND_FIELD'. ENDIF.

View 1 answer
Frequently asked in

Q32. what is the use of container to development abap object. to display output in the screen container is used .

Ans.

Containers are used in ABAP development to display output on the screen.

  • Containers are used to hold and display UI elements in ABAP programs.

  • They can be used to display text, images, tables, and other UI components.

  • Containers can be added to screens using the SAP GUI for Windows or Web Dynpro ABAP technology.

  • Example: DATA container TYPE REF TO cl_gui_container.

  • Example: container->add( text ).

Add your answer
Frequently asked in

Q33. Kernel badi vs classic badi

Ans.

Kernel BAdI is implemented in the SAP kernel while Classic BAdI is implemented in the ABAP application server.

  • Kernel BAdI is implemented in the SAP kernel and is used for modifying the standard SAP behavior.

  • Classic BAdI is implemented in the ABAP application server and is used for enhancing the standard SAP functionality.

  • Kernel BAdI is more powerful and can be used to modify the system behavior at a lower level.

  • Classic BAdI is easier to implement and provides a higher level o...read more

Add your answer
Frequently asked in

Q34. Events in ABAP reports?

Ans.

Events in ABAP reports are triggers that are executed based on certain conditions or user actions.

  • Events can be defined at different levels in an ABAP report, such as initialization, start-of-selection, end-of-selection, etc.

  • These events help in controlling the flow of the report and executing specific logic at different stages.

  • For example, the initialization event is triggered only once at the beginning of the report execution.

  • Another example is the end-of-selection event, w...read more

Add your answer
Frequently asked in
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Interview experiences of popular companies

3.7
 • 10.3k Interviews
3.9
 • 8.1k Interviews
3.7
 • 7.6k Interviews
3.5
 • 3.8k Interviews
3.8
 • 3k Interviews
3.8
 • 2.8k Interviews
4.0
 • 2.4k Interviews
3.6
 • 13 Interviews
View all
ABAP Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter