SAP REFERENCE ASSIGNMENTS

Get Example source ABAP code based on a different SAP table
  

Warning: Undefined variable $prev in /customers/b/9/9/trailsap.com/httpd.www/sap-help/index.php on line 54
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 components) which are also managed internally using references, value semantics apply. This means that the internal management is not visible for the developers.