Ansicht
Dokumentation

ABENITAB_SHORT_FORMS - ITAB SHORT FORMS

ABENITAB_SHORT_FORMS - ITAB SHORT FORMS

BAL Application Log Documentation   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

READ, LOOP, INSERT, COLLECT, APPEND, MODIFY, DELETE, Short Forms

Obsolete Syntax

READ TABLE itab table_key| free_key|index.

LOOP AT itab $[cond$].

INSERT itab_position $[result$].

COLLECT itab $[result$].

APPEND TO itab $[SORTED BY comp$] $[result$].

MODIFY table_key$| index $[TRANSPORTING comp1 comp2 ...$]$[result$].
MODIFY itab TRANSPORTING comp1 comp2 ... WHERE log_exp$|(cond_syntax).

DELETE TABLE itab.

Effect

These short forms of processing statements for internal tables, which are forbidden in classes, can only be used for obsolete standard tables with header line. INTO itab, itab INTO, itab TO, and FROM itab are added to them implicitly, with itab indicating the header line. Instead, an explicit work area wa must be specified in explicit additions INTO wa, wa INTO, wa TO, and FROM wa.






PERFORM Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 3129 Date: 20240328 Time: 111915     sap01-206 ( 35 ms )