Get Example source ABAP code based on a different SAP table
ABAP_DDIC - Semantic Properties of Structures Structures in the ABAP Dictionary can have the following semantic properties:
Short text of the structure> Each structure is assigned a short descriptive text that must be specified when it is created.
Documentation> A structure can be assigned documentation that can be read as required.
Short text of components> Each component is assigned a short descriptive text that is inherited in any references to an existing type. A custom text can be specified if the type is defined directly.
Output style of components> A component with the directly specified type of a decimal floating point number can be assigned an output style> BEGIN_SECTION VERSION 5 OUT for dynpros END_SECTION VERSION 5 OUT .
Reference field> for components of the built-in data types> CURR> and QUAN> For each currency field> with the type CURR> and for each quantity field> with the type QUAN> , a component of the same or a different structure (or DDIC database table or view) must be defined as a reference field with the built-in data type CUKY> or UNIT> . This field is the currency key> or unit key> that specifies the currency or the unit. A table in which a reference field is defined is called a reference table.
Check table> Like table fields of DDIC database tables, structure components can be assigned check tables>. This is useful for structures included in DDIC database tables which are part of the database table's foreign key >.
Spatial reference system> Structure components with the geodata type > GEOM_EWKB> must be assigned spatial reference systems>, just like table fields of DDIC database tables. This is relevant for structures that are included in DDIC database tables.
Search help> Structure components whose data type is specified by a data element with an elementary data type can be assigned a search help>. This is only useful, however, for components used for input fields on UIs.
Key field> Like table fields of DDIC database tables, structure components can be defined as key fields>. BEGIN_SECTION VERSION 5 OUT Components of structures used as lock parameters in a lock object> must be defined as key fields. END_SECTION VERSION 5 OUT When a structure with key fields is included in DDIC database tables >, however, they are not used as key fields of the DDIC database table. Either all or no fields of an included structure can become key fields when included.
Flag for initial values> Like table fields of DDIC database tables, structure components can be assigned a flag for initial values> . When a structure with such components is included in DDIC database tables >, the table fields can inherit these properties.
Latest notes: Structure components whose type is defined using data elements> have the additional semantic properties of the data elements. NON_V5_HINTS ABAP_HINT_END