SAP ABAP Questions et reponses d'entretien
Question 16. What is the purpose of the 'LIKE' addition in ABAP data declarations?
The 'LIKE' addition is used to define a data object with the same data type and length as an existing data object or field.
Example:
DATA: lv_copy LIKE lv_original.
Question 17. Explain the difference between 'TOP-OF-PAGE' and 'TOP-OF-PAGE DURING LINE-SELECTION' events in ABAP?
'TOP-OF-PAGE' event is triggered before the first line of the page is displayed, while 'TOP-OF-PAGE DURING LINE-SELECTION' event is triggered before each line is displayed in a list.
Example:
TOP-OF-PAGE.
Question 18. What is the purpose of the 'EXPORT TO DATABASE' statement in ABAP?
The 'EXPORT TO DATABASE' statement is used to store data in the database. It is often used to update or insert data records in database tables.
Example:
EXPORT lt_data TO DATABASE db1(ldb) ID 'KEY' MODE 'A'.
Question 19. Explain the use of 'FIELD-SYMBOLS' in ABAP.
'FIELD-SYMBOLS' are used to create a symbolic name (reference) for a field at runtime. It allows dynamic access to data in internal tables or structures.
Example:
FIELD-SYMBOLS:TYPE any.
Question 20. What is a 'Smart Form' in SAP ABAP?
A 'Smart Form' is a tool provided by SAP for creating and maintaining print layouts. It allows the creation of sophisticated and interactive forms in SAP applications.
Example:
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'.
Les plus utiles selon les utilisateurs :
- What is ABAP?
- What is a Data Dictionary in SAP?
- What is an internal table in ABAP?
- What is the difference between 'MOVE' and 'MOVE-CORRESPONDING' in ABAP?
- What is the role of the SAP Data Dictionary?