SAP MOVE MULTIPLES ABAP Statements



Get Example source ABAP code based on a different SAP table
  


VERSION 5 IN

destination1 = destination2 = ...

ABAP_SYNTAX
destination1 = destination2 = ... = destination = rhs.

What does it do?
The assignment operator = can be used to perform multiple assignments at once within a single statement. This statement is the same as:
destination = rhs
... = destination
destination2 = ...
destination1 = destination2.
The same settings can be specified for rhs as for the simple assignment. Only existing variables can be specified for destination, destination1, destination2 , but no inline declarations.



Latest notes:

Any conversions are performed for each assignment, which means that a value assigned to a data object on the left side may be converted multiple times if the operands have different data types. To assign the value of lhs to different data objects with one conversion each, multiple statements are needed.
NON_V5_HINTS
ABAP_HINT_END

ABAP_EXAMPLE_VX5
After the assignments, all involved data objects are given the name Hugo.
ABEXA 00447
ABAP_EXAMPLE_END

Return to menu