SAP CREATE DATA IMPLICIT ABAP Statements



Get Example source ABAP code based on a different SAP table
  



CREATE DATA dref
Short Reference

ABAP_SYNTAX
CREATE DATA dref $[area_handle $].

What does it do?
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.



Latest notes:

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.
NON_V5_HINTS
ABAP_HINT_END

ABAP_EXAMPLE_VX5
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.
ABEXA 00159
ABAP_EXAMPLE_END

ABAP_EXAMPLE_ABEXA
Creating Data Objects with Implicit Type
ABAP_EXAMPLE_END

Return to menu