Ansicht
Dokumentation
ABENLOOP_AT_ITAB_KEY_ABEXA - LOOP AT ITAB KEY ABEXA
BAL Application Log Documentation Fill RESBD Structure from EBP Component StructureThis documentation is copyright by SAP AG.
- Loop with Key
The example demonstrates the execution of the statement LOOP AT itab with different table keys.
Source Code
Description
The table spfli_tab is a hashed table with an unique primary key and two non-unique sorted secondary keys.
- The first LOOP takes place without a key specification. The table output is in the order in which the table was filled, that is, sorted by the fields specified after ORDER BY in the SELECT statement.
- The other two LOOP loops are performed with each of the secondary table keys city_from_to or city_to_from specified.
General Material Data CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 852 Date: 20240511 Time: 051744 sap01-206 ( 26 ms )