SAP Certified Associate – ABAP Cloud Developer — Question 14
When processing an internal table with the statement LOOP AT itab… ENDLOOP, what system variable contains the current row number?
Answer options
- A. sy-tabix
- B. sy-linno
- C. sy-index
- D. sy-subrc
Correct answer: A
Explanation
The correct answer is A, sy-tabix, as it specifically tracks the index of the current row within the LOOP statement. The other options do not serve this purpose; sy-linno refers to the line number in the current screen, sy-index is not a standard variable in this context, and sy-subrc indicates the return code of the last operation performed.