ABAP Keyword Documentation → ABAP - Dictionary → Classic Objects in ABAP Dictionary → Data Types → Data Elements
Technical Attributes of Data Elements
A data element describes an elementary data type or a reference type with the following technical attributes:
- Elementary type
- Reference type
- The static type for a data reference variable is either the generic type DATA, any data type from ABAP Dictionary (including database tables or views), or a directly specified built-in data type.
- The static type for an object reference variable is either the generic type OBJECT or a global class or global interface from the class library.
Other versions:
7.31 | 7.40 | 7.54
Notes
- When existing data elements are modified, all consumers of the data element are also affected. In particular, foreign keys can become inconsistent when used for fields of database tables, which makes conversions necessary.
- Global reference types in ABAP Dictionary can be used to specify types in ABAP programs. They cannot, however, be used for fields of database tables or in CDS views.
Example
The data element S_CONN_ID takes its technical attributes (data type NUMC, length 4) from the domain S_CONN_ID. The data element S_CONN_ID has documentation and further texts that describe its semantics. It is used as a data type of many table fields that match these semantic attributes, such as the column CONNID of the database tables SPFLI, SBOOK, and SFLIGHT.