SAP DDIC STRUCTURES TECH



Get Example source ABAP code based on a different SAP table
  



ABAP_DDIC - Technical Properties of Structures
A DDIC structure describes a structure type that consists of components and has the following technical properties:
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, the components must not be given any of the reserved names that are forbidden in DDIC database tables.
Component type
For elementary components, the technical properties ( built-in data type, length, and any decimal places) are defined with reference to a data element for an elementary DDIC type 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 properties 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 extended using