SAP ABAP Interview Questions and Answers
Are you planning to attend an interview for the SAP ABAP role but confused on how to crack that interview and also what would be the most probable SAP ABAP Interview Questions and Answers that the interviewer may ask? Well, you have reached the right place. Tekslate has collected the most frequently asked SAP ABAP Interview Questions which are often asked in multiple interviews.
1Q) Which interface converts SQL requirements in the SAP development system to those of the database?
Ans. Database Interface.
2Q) How many types of size categories and data classes are there?
Ans. There are five size categories (0-4) and 11 data classes only three of which are appropriate for application tables: - APPL0- Master data (data frequently accessed but rarely updated). - APPL1- Transaction data (data that is changed frequently). - APPL2- Organizational data (customizing data that is entered when the system is configured and then rarely changed). The other two types are - USR - USR1 – Intended for customer's own developments.
3Q) What are the function of the transport system and workbench organizer?
Ans. The function of the transport system and the Workbench Organizer is to manage any changes made to objects of the ABAP/4 Development Workbench and to transport these changes between different SAP systems.
4Q) What are the Data types of the ABAP/4 layer?
Ans. Possible ABAP/4 data types: C: Character. D: Date, format YYYYMMDD. F: Floating-point number in DOUBLE PRECISION (8 bytes). I: Integer. N: Numerical character string of arbitrary length. P: Amount of counter field (packed; implementation depends on h/w platform). S: Time Stamp YYYYMMDDHHMMSS. V: Character string of variable length, the length is given in the first two bytes. X: Hexadecimal (binary) storage.
5Q) What are the features of the ABAP/4 Dictionary?
Ans. The most important features are: - Integrated to aABAP/4 Development Workbench. - Active in the runtime environment.
6Q) Name ABAP/4 Modularization techniques?
- Source code module.
7Q) Is it possible to pass data to and from include programs explicitly?
Ans. No. If it is required to pass data to and from modules it is required to use subroutines or function modules.
8Q) What are subroutines?
Ans. Subroutines are program modules, which can be called from other ABAP/4 programs or within the same program.
9Q) What are the types of Subroutines?
- Internal Subroutines: The source code of the internal subroutines will be in the same ABAP/4 program as the calling procedure (internal call).
- External Subroutines: The source code of the external subroutines will be in an ABAP/4 program other than the calling procedure.
10Q) It is not possible to create an ABAP/4 program, which contains only Subroutines (T/F).
SAP ABAP Real-time Interview Questions
11Q) A subroutine can contain nested form and endform blocks. (T/F)
12Q) What are the different types of parameters?
Ans. Formal Parameters: Parameters, which are defined during the definition of subroutine with the FORM statement. Actual Parameters: Parameters that are specified during the call of a subroutine with the PERFORM statement.
13Q) How can one distinguish between different kinds of parameters?
- Input parameters are used to pass data to subroutines.
- Output parameters are used to pass data from subroutines.
14Q) What are the different methods of passing data?
- Calling by reference: During a subroutine call, only the address of the actual parameter is transferred to the formal parameters. The formal parameter has no memory of its own, and we work with the field of the calling program within the subroutine. If we change the formal parameter, the field contents in the calling program also change.
- Calling by value: During a subroutine call, the formal parameters are created as copies of the actual parameters. The formal parameters have a memory of their own. Changes to the formal parameters have no effect on the actual parameters.
- Calling by value and result: During a subroutine call, the formal parameters are created as copies of the actual parameters. The formal parameters have their own memory space. Changes to the formal parameters are copied to the actual parameters at the end of the subroutine.