Ansicht
Dokumentation

ABAPLOOP_TABLE_LINE - LOOP TABLE LINE

ABAPLOOP_TABLE_LINE - LOOP TABLE LINE

Addresses (Business Address Services)   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

LOOP AT itab, TABLE LINE

LOOP AT itab ... WHERE TABLE LINE ....

Effect

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.

Note

The ABAP Compiler should consider this addition as an error, retained only for reasons of downward compatibility. The pseudo component table_line should always be specified instead of TABLE LINE.

DATA: itab TYPE TABLE OF i,
      wa   TYPE i.

LOOP AT itab INTO wa WHERE TABLE LINE > 10.

ENDLOOP.






BAL Application Log Documentation   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 1010 Date: 20240420 Time: 110208     sap01-206 ( 19 ms )