SAP REFERENCE ASSIGNMENTS



Get Example source ABAP code based on a different SAP table
  



Assigning References
This section discusses the assignments and special statements that set the references (pointers) contained 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 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 in an upcast or downcast, 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
ABAP_PGL_END



Latest notes:

For the dynamic data objects (strings, internal tables) and boxed components that are also managed internally using references, value semantics apply. This means that the internal administration is not visible for the developers.
NON_V5_HINTS
ABAP_HINT_END