ABAP Keyword Documentation → ABAP - Short Reference
APPEND - Short Reference
Other versions: 7.31 | 7.40 | 7.54
Syntax
APPEND { wa
| {INITIAL LINE}
| {LINES OF jtab [FROM idx1] [TO idx2] [USING KEY key_name|(name)]} }
TO itab [SORTED BY comp]
[ {ASSIGNING <fs> [CASTING]} | {REFERENCE INTO dref} ].
Effect
Appends rows to an internal table itab
.
Additions
-
wa
Appends a workareawa
. -
INITIAL LINE
Appends an initial row. -
LINES OF jtab [FROM idx1] [TO idx2] [USING KEY key_name|(name)]
Appends the rows fromidx1
toidx2
of the internal tablejtab
. The table key to be used for this can be specified either statically or dynamically. -
SORTED BY comp
Creates a ranking, which is sorted by the row componentcomp
in descending order. -
ASSIGNING <fs> [CASTING]
Assigns an appended row to a field symbol<fs>
and a casting can thus be carried out. -
REFERENCE INTO dref
Sets a data referencedref
to an appended row.