ABAP Keyword Documentation → ABAP − Short Reference
MOVE-CORRESPONDING - Short Reference
Other versions: 7.31 | 7.40 | 7.54
Syntax
MOVE-CORRESPONDING [EXACT] { struc1 TO struc2 [EXPANDING NESTED TABLES] }
| { itab1 TO itab2 [EXPANDING NESTED TABLES]
[KEEPING TARGET LINES] }.
Effect
Assigns components of a structure struc1
or an internal table itab1
to components with the same name in structure struc2
or internal table itab2
.
Additions
-
EXACT
No values are lost in this assignment. -
EXPANDING NESTED TABLES
Planned: Tabular components to be replaced. -
KEEPING TARGET LINES
Planned: Target tables are not to be overwritten and data is added to them instead.