SAP ABAP Interview Questions and Answers
Question - 71 : - What is a method in ABAP?
Answer - 71 : -
Methods describe the functions of classes in ABAP objects. We can call methods using the call method statement.methods are introduced with the method statement & concluded with the end method statement.methods can only be defined in the implementation parts of classes.
Question - 72 : - Which are the various Events in Application Server?
Answer - 72 : -
The various events in Application Server are:
- OPEN DATA SET
- READ DATA SET
- CLOSE DATA SET.
Question - 73 : - What is the role of ‘Refresh’ in the Internal Table?
Answer - 73 : -
'Refresh' is the keyword that is used to clear the contents of a body in an internal table.
Question - 74 : - How to find output type?
Answer - 74 : -
Use table Table TNAPR / NAST in order to find the output type.
Question - 75 : - What is the keyword used to eliminate the leading zeros of a number field?
Answer - 75 : -
Use keyword 'NO-ZERO'.
Question - 76 : - Which are the various Events in Dialog Programs?
Answer - 76 : -
The various events in Dialog Programming are:
- PBO-Process Before Output
- PAI-Process AFter Input
- POH-Process on Help Request
- POV-Process on Value Request
Question - 77 : - How can we read selected lines of a database table into an internal table in packages of predefined size?
Answer - 77 : -
SELECT * FROM INTO TABLE PACKAGE SIZE .
where 'n' is variable.
Name the WILDCARD characters which can be used for comparing with character strings & numeric strings.
'%' and '_'.
Question - 78 : - How can we determine the table to which a field belong to by knowing only field name?
Answer - 78 : -
Please follow the steps below:
- First, use t-code SE84
- Then navigate to R/3 Repository -> ABAP Dictionary -> Fields -> Table Fields
- Now insert the field name and execute...
- A list of table where the field is used is will be shown.
Question - 79 : - What is a Data Class?
Answer - 79 : -
The Data class determines in which table space the table is stored when it is created in the database.
Question - 80 : - What is a Size Category?
Answer - 80 : -
The Size category describes the probable space requirement of the table in the database.