SAP Abap Technical Consultant
10+ SAP Abap Technical Consultant Interview Questions and Answers
Q1. How to display multiple screen in one layout
To display multiple screens in one layout, use the SAP Screen Painter tool and create a custom screen with multiple subscreens.
Create a custom screen using the SAP Screen Painter tool
Add multiple subscreens to the custom screen
Define the layout of each subscreen using the Screen Painter
Use the PBO (Process Before Output) module to display the subscreens in the desired layout
Use the PAI (Process After Input) module to handle user input from the subscreens
Q2. What is the use of constructor? When it will be called
Constructor is used to initialize an object. It is called when an object is created.
Constructor is a special method with the same name as the class.
It is used to initialize the instance variables of a class.
It is called automatically when an object is created using the new keyword.
Constructors can be overloaded to provide different ways of initializing objects.
Example: public class Employee { public Employee() { // constructor code } }
Q3. What is Singleton class. What is the use of singleton class
Singleton class is a class that can only have one instance at a time.
It is used to ensure that there is only one instance of a class in the system.
It is often used in situations where a single object needs to coordinate actions across the system.
Example: Database connection class, logger class, configuration class.
It can be implemented using private constructors, static methods, and static variables.
Q4. What is enhancement framework? Difference between customer exit and Badi
Enhancement framework is a tool to modify standard SAP applications without changing the original code.
Enhancement framework provides a way to add custom code to standard SAP applications.
Customer exits are predefined hooks in the standard code that allow custom code to be added.
Badis are similar to customer exits but provide more flexibility and can be implemented multiple times.
Enhancement framework is used to avoid modifying standard code and to make upgrades easier.
Exampl...read more
Q5. What is the annotation used to display text element in cds
The annotation used to display text element in CDS is @Semantics.text
The @Semantics.text annotation is used to display text elements in CDS views
It is used in combination with the element name and the label for the text
Example: @Semantics.text.label: 'Product Description';
The label can be customized to display any desired text
Q6. What is table function in cds. Practical example when it was used
Table function in CDS is a reusable database function that can be used to define complex logic and calculations.
Table function is defined in CDS (Core Data Services) using the @EndUserFunction annotation.
It allows you to define complex logic and calculations that can be used in CDS views or ABAP programs.
Table functions can have input parameters and return a table of data as the result.
They can be used to perform data transformations, aggregations, filtering, and more.
A pract...read more
Share interview questions and help millions of jobseekers 🌟
Q7. Which method will be called in backend to handle the deep entity call?
The method called in backend to handle deep entity call is GET_DEEP_ENTITY.
GET_DEEP_ENTITY method is used to retrieve a deep entity from the backend system.
It is used to retrieve a single entity with its related entities in one request.
It is called when a deep entity is requested in OData service.
It is used to retrieve data from multiple tables in one request.
Q8. What is abstract class. Difference between abstract class and Interface
Abstract class is a class that cannot be instantiated. Interface is a collection of abstract methods.
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have instance variables, while interface cannot.
A class can implement multiple interfaces, but can only inherit from one abstract class.
Example of abstract class: Animal (cannot be instantiated). Example of interface: Runnable (collection of abstrac...read more
SAP Abap Technical Consultant Jobs
Q9. What is partner profile in Idocs? Steps to create custom Idoc.
Partner profile in Idocs is used to define communication partners and their settings.
Partner profile contains information about the communication partner such as their ID, address, and communication protocol
Partner profile is used to determine the outbound and inbound processing of Idocs
To create a custom Idoc, define the segments and fields using WE31 transaction
Create a message type using WE81 transaction and link it to the Idoc type
Create a process code using WE42 transact...read more
Q10. How to publish Odata service by consumption view
To publish Odata service by consumption view, create a consumption view and expose it as an Odata service.
Create a consumption view using SE11 transaction
Activate the view and generate the runtime object
Create an Odata service using SEGW transaction
Add the consumption view to the Odata service
Activate and publish the Odata service
Q11. What is VDM module in CDS
VDM module in CDS is a virtual data model that provides a semantic layer on top of the underlying database tables.
VDM stands for Virtual Data Model.
It is used in SAP ABAP CDS (Core Data Services) to define the structure and behavior of data models.
VDM provides a semantic layer that abstracts the complexity of the underlying database tables.
It allows developers to define entities, associations, and annotations to represent business objects and relationships.
VDM modules can be ...read more
Q12. What is search help exit
Search help exit is a user-defined ABAP routine that is used to modify the search help behavior.
Search help exit is used to customize the search help functionality in SAP.
It allows developers to modify the search help behavior by adding additional checks or filters.
Search help exit is implemented as a user-defined ABAP routine that is called during the search help process.
It can be used to restrict the search results or to add additional fields to the search help dialog.
Examp...read more
Q13. What is the data dictionary
The data dictionary is a centralized repository of data definitions used in a database management system.
It stores metadata about the database objects such as tables, views, data types, etc.
It helps in maintaining data integrity by defining constraints and relationships between objects.
It simplifies database management by providing a single source of truth for data definitions.
It is used by developers to create and modify database objects in SAP ABAP.
Q14. What are filters in badi
Filters in BADI are used to restrict the execution of BADI implementations based on certain conditions.
Filters are used to control the execution of BADI implementations.
They allow you to specify conditions under which a particular implementation should be executed.
Filters can be defined based on various criteria such as user roles, transaction codes, organizational units, etc.
By using filters, you can customize the behavior of a BADI implementation for different scenarios.
Exa...read more
Q15. What is ALV with IDA
ALV with IDA is a tool in SAP ABAP used for interactive data analysis and reporting.
ALV stands for ABAP List Viewer, which is a tool for displaying data in a tabular format.
IDA stands for Interactive Data Analysis, which allows users to perform data analysis and reporting tasks.
ALV with IDA combines the features of ALV and IDA to provide a comprehensive tool for data analysis and reporting.
It allows users to interactively analyze data, apply filters, sort data, and perform ca...read more
Q16. Edit a table without TMG
To edit a table without TMG, you can use the MODIFY statement in ABAP.
Use the MODIFY statement to update the table entries
Specify the key fields to identify the record to be modified
Provide the new values for the fields to be updated
Example: MODIFY table_name FROM wa_data WHERE key_field = value.
Ensure proper authorization and handle error cases
Q17. Kernel badi vs classic badi
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
Interview Questions of Similar Designations
Interview experiences of popular companies
Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Reviews
Interviews
Salaries
Users/Month