SAP ABAP اسئلة واجوبة المقابلات
سؤال 11. Explain the purpose of the 'LOOP AT' statement in ABAP.
The 'LOOP AT' statement is used to iterate over the lines of an internal table in ABAP and perform operations on each line.
Example:
LOOP AT lt_data INTO wa_data.
سؤال 12. What is a function module in SAP ABAP?
A function module is a reusable unit of code that performs a specific task. It can be called from other programs or function modules.
Example:
CALL FUNCTION 'BAPI_MATERIAL_GETLIST'.
سؤال 13. Explain the purpose of the 'CALL TRANSACTION' statement in ABAP.
The 'CALL TRANSACTION' statement is used to call a transaction in SAP, allowing you to execute a series of related functions.
Example:
CALL TRANSACTION 'MM01' USING bdcdata MODE 'N'.
سؤال 14. What is the difference between 'SY-SUBRC' and 'SY-SUBRC <> 0' in ABAP?
'SY-SUBRC' is a system field that holds the return code of the last executed statement. 'SY-SUBRC <> 0' is a condition that checks if the last statement was successful.
Example:
IF sy-subrc = 0.
سؤال 15. Explain the concept of modularization in ABAP.
Modularization in ABAP involves dividing a program into smaller, manageable units like function modules, subroutines, or methods to improve readability and maintainability.
Example:
FORM calculate_total USING p_quantity TYPE i p_price TYPE p DECIMALS 2.
الاكثر فائدة حسب تقييم المستخدمين: