Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

ABAPCREATE_DATA_SHORTREF - CREATE DATA SHORTREF

ABAPCREATE_DATA_SHORTREF - CREATE DATA SHORTREF

RFUMSV00 - Advance Return for Tax on Sales/Purchases   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

CREATE DATA

Reference



Syntax

CREATE DATA dref [ AREA HANDLE handle ]
                 [ TYPE { {abap_type|(name)
                           [LENGTH len] [DECIMALS dec]}
                        | {[LINE OF] type|(name)}
                        | {REF TO type|(name)}
                        | {{{[STANDARD] TABLE}
                           |{SORTED TABLE}
                           |{HASHED TABLE}}
                           OF [REF TO] {type|(name)}
                           [WITH [UNIQUE|NON-UNIQUE]
                              {KEY {comp1 comp2 ...}|(keytab)}|{DEFAULT KEY}]
                           [INITIAL SIZE n]}
                        | {HANDLE handle} } ]
               | [ LIKE { {[LINE OF] dobj}
                        | {REF TO dobj}
                        | {{{[STANDARD] TABLE}
                           |{SORTED TABLE}
                           |{HASHED TABLE}}
                           OF dobj
                           [WITH [UNIQUE|NON-UNIQUE]
                              {KEY {comp1 comp2 ...}|(keytab)}|{DEFAULT KEY}]
                           [INITIAL SIZE n]} } ].


Effect

Creates an anonymous data object and sets the data reference in dref to the data object. If no TYPE or LIKE addition is specified, dref has to be completely typed and this type is used for the data object.

Additions

  • TYPE
    Defines the type by referring to a data type.
  • LIKE
    Defines the type by referring to a data object.
  • $[LINE OF$] type$|(name)
    Specifies a defined data type statically or dynamically. Here, LINE OF can be used to reference the line type of an internal table.
  • REF TO
    Creates a reference variable.





CPI1466 during Backup   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 7414 Date: 20230208 Time: 190746     sap01-206 ( 47 ms )