Ansicht
Dokumentation

ABENDDIC_STRUCTURES - DDIC STRUCTURES

ABENDDIC_STRUCTURES - DDIC STRUCTURES

BAL Application Log Documentation   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

- Structures

A DDIC structure defines a structured type that contains other data types as components. These components can be:

  • Elementary data types
  • Reference types
  • Structured types
  • Table types

The name of a DDIC structure must follow naming rules for DDIC types and additionally some special naming rules for DDIC structures.

A DDIC structure that contains other structures as components is called a nested structure. Structure components are substructures and substructures can themselves be nested. A structure that contains a string type, reference type, or table type as a direct or nested component is a deep structure. A structure that contains only elementary data types (except string types) as direct or nested components is a flat structure. An internal program object declared with reference to a structure is a data object structured correspondingly (or structure for short).

A DDIC structure can be included in another structure as an include structure, with the components of the included structure being added as the components of the including structure.

Structures can be defined as form-based structures in transaction SE11 or as source-code-based structures using Dictionary DDL the ABAP Development Tools. The following section is a summary of the syntax of the source code-based definition:

Notes

  • Mesh types cannot currently be defined in the ABAP Dictionary.
  • When a dynpro field references a component of a structure in the ABAP Dictionary, it is important that the structure is declared using TABLES to enable a data transport between the dynpro and the ABAP program. Only flat structures are suitable here.

Names of structure components

Example

The structure SOADDRESS for the address of a SAPoffice user is a nested structure with substructures.






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

Length: 4731 Date: 20240426 Time: 033839     sap01-206 ( 73 ms )