We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
MOVE ${$[EXACT$] source TO destination$}
$| ${ source ?TO destination$}.
1. MOVE $[EXACT$] source TO destination.
2. MOVE source ?TO destination.
Obsolete form of the assignment of data objects and reference variables source to target variables destination. If EXACT is specified, only data objects can be specified for source. If EXACT is not specified, the following can be specified for source alongside data objects:
The following cannot be specified with MOVE:
MOVE $[EXACT$] source TO destination.
Without the addition EXACT, this statement works in the same way as
If the addition EXACT is specified, the statement works like
destination = EXACT #( source ).
In this way, the addition EXACT produces a lossless assignment in accordance with the rules that apply when using the lossless operator EXACT. This can raise exceptions if values are lost or if they are invalid. If an exception is raised when the operator EXACT is used, the statement is not executed, and the value of the target field remains unchanged. In assignments made without the operator EXACT, the target field contains an undefined value when an exception raised by the conversion is handled.
When MOVE is used for enumerated objects, addition EXACT and the lossless operator EXACT have the special effect that they can enable assignments, which would otherwise have not been possible.
The two commented out assignments of a number to the
enumerated
variable num is not possible. The assignment is possible using EXACT, because in this case the assignment follows the same
rules as the lossless operator shown below.
MOVE source ?TO destination.
This statement works in the same way as
source and destination must have reference types. The addition ?TO makes downcasts possible, whereas in TO only upcasts can be used.
Assignments with the assignment operators = and ?= only
Leave us your contact details and we will call you back. Fields marked with * are mandatory.
We offer holistic SAP solutions from a single source to shape digital change and develop new business areas.
Switzerland
Schaffhausen
Germany
Mannheim, Düsseldorf, Munich
USA
Haverhill
Greece
Thessaloniki