Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Obsolete Language Elements →  Obsolete Processing of Internal Data →  Obsolete Internal Table Processing 

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

Other versions: 7.31 | 7.40 | 7.54

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.