Ansicht
Dokumentation

ABENDATA_OBJECTS_INCLUDE - DATA OBJECTS INCLUDE

ABENDATA_OBJECTS_INCLUDE - DATA OBJECTS INCLUDE

General Material Data   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Data Objects

Data objects are instances of data types, that is the specific data that a program handles at runtime. Each data object has a specific data type and appropriate memory assigned to it.

Data objects are instances of the data types subtree in the ABAP type hierarchy:


Data objects ---- elementary ----  static    ---- C
              |               |               |-- N
              |               |               |-- D
              |               |               |-- T
              |               |               |
              |               |               |-- X
              |               |               |
              |               |               |-- P
              |               |               |-- I
              |               |               |-- F
              |               |
              |               |-- dynamic   ----  STRING
              |                               |-- XSTRING
              |-- reference variables
              |
              |-- complex    ---- structures
                              |-- internal tables

Data objects are defined statically with a data defining statement or dynamically using an operational statement. The prototype data defining statement is DATA. In addition, several other statements are available to define data objects with additional specific properties.

In addition to the data objects declared in the program, several data objects are introduced automatically, for example, the system fields SY-... or the constant SPACE. SUM(f) and CNT(f) within control level processing for extracts are also implicitly defined data objects.

The technical properties of data objects - that is, the field length, number of decimal places, and the data type - are always defined uniquely at runtime. There are two main types of data objects: Static data objects , where all technical properties must be defined in the declaration; and dynamic data objects, where the memory requirements and size are determined at runtime.

Dynamic data objects are the elementary data objects of types STRING and XSTRING and internal tables.

  • The length of character and byte strings is zero after their declaration; it changes during runtime according to the content assigned.
  • Internal tables do not contain any lines after their declaration. They can have any number of lines and are filled dynamically at runtime.

All other data objects are static.

For further information refer to Data Objects in the SAP Library.






Addresses (Business Address Services)   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 6422 Date: 20240419 Time: 025852     sap01-206 ( 73 ms )