LOOP AT itab - TABLE LINE
ABAP Syntax(Obsolete) LOOP AT itab ...
WHERE TABLE LINE ... .
What does it do? The addition TABLE LINE can also be specified
outside of classes in the WHERE condition of a LOOP
statement, instead of the pseudo component table_line .
Latest notes: ABAP Compiler should consider this addition as an error,
retained only for reasons of downward compatibility. Always specify the
pseudo component table_line instead of TABLE LINE .
Bad example
DATA: itab TYPE TABLE OF i,
wa TYPE i.
LOOP AT itab INTO wa WHERE TABLE LINE > 10.
ENDLOOP.
Good example
DATA: itab TYPE TABLE OF i,
wa TYPE i.
LOOP AT itab INTO wa WHERE table_line > 10.
ENDLOOP.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved