Entering content frame

Getting References to Data Objects Locate the document in its SAP Library structure

The following statements allow you to place a data reference to an existing data object in a reference variable:

GET REFERENCE OF dobj INTO dref.

dobj can be a statically-declared data object, or a field symbol pointing to any object (including a dynamic object). If you specify a field symbol to which no objects have yet been assigned, a runtime error occurs.

If you place a reference to a local field in a procedure in a global reference variable, the reference will become invalid when you leave the procedure. You cannot then dereference the reference variable.

 

 

Leaving content frame