Ansicht
Dokumentation
ABENDDIC_STRUCTURES_TECH - DDIC STRUCTURES TECH
General Data in Customer Master ABAP Short ReferenceThis documentation is copyright by SAP AG.
- Technical Attributes of Structures
A DDIC structure describes a structure type constructed from components and with the following technical attributes:
- Component name
- The name of a component can have a maximum of 30 characters, can consist of only letters, numbers, and underscores, and must start with a letter or a namespace prefix. The following restrictions apply:
- A component name cannot be the name of the pseudo component table_line reserved in ABAP.
- If a structure is to be included in a database table, however, the component names cannot have any of the reserved names that are forbidden in DDIC database tables.
- Component type
- For elementary components, the technical attributes ( built-in data type, length, and any decimal places) are defined with reference to a data element for an elementary type in the ABAP Dictionary or directly in the structure component. In the case of DDIC currency fields and DDIC quantity fields, a reference field must be specified for the unit.
- For reference-like components, the technical attributes are defined using a reference to a data element that describes a reference type or defined directly in the structure component. When specified directly, data references can be defined by reference to any DDIC data type or to the generic type DATA. Object references can be defined by reference to classes or interfaces in the class library or to the generic type OBJECT,
- Substructures are defined by reference to DDIC structures, DDIC database tables, or DDIC views. A substructure can be defined as a static box. In ABAP data objects declared with reference to the DDIC structure, a static box supports initial value sharing.
- Tabular components are defined by reference to a DDIC table type.
- Enhancement category
- The enhancement category of a structure specifies how a structure can be enhanced using customizing includes or append structures and affects how ABAP programs that work with data objects of this structure type are checked.
- Activation type
- An activation type can be defined for a structure, like for DDIC database tables, but has no specific use here.
Notes
- In ABAP, the component names of structures are not strictly speaking a technical type attribute. They are listed here however to simplify the picture.
- The above rules for component names are checked strictly by the ABAP Dictionary only for table fields of DDIC database tables and not for structures. Component names of structures can contain special characters such as a colon : that prevent the component from being addressed in an ABAP program. For this reason, only those component names should be used that comply with the above rules.
- A substructure cannot be defined using a reference to a CDS entity, but it can be defined using a reference to a CDS-managed DDIC view of a corresponding CDS view.
General Data in Customer Master TXBHW - Original Tax Base Amount in Local Currency
This documentation is copyright by SAP AG.
Length: 5705 Date: 20240329 Time: 153930 sap01-206 ( 81 ms )