ABAPDATA_REF_TO - DATA REF TO

ROGBILLS - Synchronize billing plans   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Effect

Declares the data object f as a generic data reference variable.

Data reference variables of that kind can containreferences (pointers) to data objects of any types. They can only be dereferenced using the statement ASSIGN.

Example

DATA: numref     TYPE REF TO DATA,
      number     TYPE I VALUE 123.
FIELD-SYMBOLS: <fs> TYPE ANY.

GET REFERENCE OF number INTO numref.
ASSIGN numref->* TO <fs>.

This example creates a reference to the data object number. It is then assigned to the fieldsymbol <fs> using the dereferencing operator ->*. It is now possible to work with the field symbol in the normal way.


TXBHW - Original Tax Base Amount in Local Currency   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.


Length: 970 Date: 20120522 Time: 044550     triton ( 39 ms )