MODIFY itab

Short Reference

Syntax

MODIFY { itab_line | itab_lines }.

Effect

This statement changes the content of one or several itab_line or itab_lines lines that can be specified using the table key or the table index.

System fields

sy-subrc Meaning
0 At least one line was changed.
4 No lines were changed, since no suitable line was found for the insertion using the table key, or the specified index was greater than the current number of lines for the insertion using the table index.

Note

Apart from using the MODIFY statement, the content of an individual table line can be changed using assignments to field symbols and dereferenced data references that point to the table line.

Exceptions

Non-Catchable Exceptions