ARTICLE
Assigning References
This section discusses the assignments and special statements that set
the references (or pointers) used in data references and field symbols.
Setting Reference Variables
Setting Field Symbols
When using field symbols and data references that contain references to
data objects, the following should be noted:
In a regular assignment between field symbols, as occurs in an
assignment of data objects , each field symbol is
handled as a dereferenced pointer ( value
semantics ).
In a regular assignment between data references, as occurs in an
up cast or down cast , the references
are copied ( reference semantics ).
The corresponding rules can be found in the
assignment rules for reference variables
.
ABAP_PGL Use field symbols and
data references in appropriate ways
Note
For the dynamic data objects
(strings, internal tables, and boxed
component s ) which are also managed internally using references,
value semantics apply. This means that the internal management is not
visible for the developers.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved