Ansicht
Dokumentation
ABENSET_REFERENCES - SET REFERENCES
CL_GUI_FRONTEND_SERVICES - Frontend Services Vendor Master (General Section)This documentation is copyright by SAP AG.
Assigning Reference Variables
Special rules apply when setting the reference or pointer of a reference variable:
A reference is always set as an upcast or as a downcast. When a reference variable is assigned to another reference variable, two different assignment operators are used, as well as a constructor operator.
References in data reference variables can point to existing data objects. There is a statement and a constructor operator for this.
Like all data objects, reference variables are initialized using the statement CLEAR. The content of an initial reference variable is the null reference, which does not point to an object and can be assigned to every reference variable.
Notes
- The same rules apply to references set when objects are created as to assignments.
- When a reference variable containing a heap reference is initialized, this affects Garbage Collector.
Addresses (Business Address Services) General Material Data
This documentation is copyright by SAP AG.
Length: 2297 Date: 20240425 Time: 021401 sap01-206 ( 25 ms )