Ansicht
Dokumentation

ABAPCREATE_DATA_IMPLICIT - CREATE DATA IMPLICIT

ABAPCREATE_DATA_IMPLICIT - CREATE DATA IMPLICIT

ABAP Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

CREATE DATA dref

Short Reference



CREATE DATA dref $[area_handle$].

Effect

Creation of an anonymous data object with an implicit type. If neither of the additions TYPE or LIKE are specified, the data reference variable dref must be completely typed. The data object is then created with the static data type of the data reference variable.

Note

When the character # is used in an operand position with the operand type of a data reference variable, the instance operator NEW works like the statement CREATE DATA dref.

Example

Creation of an anonymous data object of the type SCARR from the ABAP Dictionary. The type is implicitly determined using the static data type of the data reference variable.

Creating Data Objects with Implicit Type








BAL_S_LOG - Application Log: Log header data   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 1429 Date: 20240424 Time: 191201     sap01-206 ( 27 ms )