SAP Certified Associate Back End Developer ABAP Cloud · Free Practice Question Easy
Question 5
You have written the following code: START-OF-SELECTION. LOOP AT itab INTO DATA(line). * ENDLOOP. The system creates a variable called Line. When is it created and when can you address it?
-
A
It is created when the LOOP statement is processed. You can access it only within the loop.
-
B
It is created at the beginning of the program. You can access it only within the loop.
-
C
It is created when the LOOP statement is processed. You can access it any time after the declaration.
-
D
It is created at the beginning of the program. You can access it any time after the declaration.
Reveal correct answer
Correct answer: C
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
