Ansicht
Dokumentation

ABENDDIC_TABLE_TYPES_TECH - DDIC TABLE TYPES TECH

ABENDDIC_TABLE_TYPES_TECH - DDIC TABLE TYPES TECH

rdisp/max_wprun_time - Maximum work process run time   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

- Technical Attributes of Table Types

A table type describes an internal table with the following technical attributes:

  • Line type
The line type can be defined as follows:

  • Elementary or reference-like line types can also be specified by using their technical attributes directly. This is done in the same way as with data elements or structure components.

  • Table category
The table category can be specified as follows:

  • Index table as a generic table category for standard tables and sorted tables

  • Any table as a generic table category for all table categories

These methods are the same as defining the table category using the statement TYPES.
  • Table key
The following can be defined as table keys:
  • A primary key as a primary table key. The primary key is either the standard key, the entire table line if it is not a table type, or does not contain a table type as a component, or is determined using individual components of a structured line type in the relevant order. A primary key of sorted tables and hashed tables can be given a unique alias name from the namespace of the secondary keys. It is currently not possible to specify an empty primary table key explicitly in the ABAP Dictionary. The uniqueness of the primary key is unique or non-unique, depending on the table category, and cannot be specified for generic tables. If no primary key is specified or its uniqueness is not defined, the table type is generic for this property.

  • Up to 15 secondary keys as secondary table keys. Each secondary key has a unique name, which cannot be PRIMARY_KEY or LOOP_KEY, and is either a sorted key or a hash key. Sorted keys can be either unique or non-unique and a hash key is always unique. A secondary key is defined either by the entire table line, if it is not a table type or does not contain a table type as component, or by using individual components of a structured line type in the relevant order. Using the additions WITH or WITHOUT FURTHER SECONDARY KEYS of the statement TYPES, it is possible to define explicitly whether the table type is generic with respect to the secondary keys. It is currently not possible to specify an alias name for a secondary key in the ABAP Dictionary.

  • Initial row count
This specification is a hint for the internal memory management of internal tables and corresponds to the addition INITIAL SIZE in the declaration of an internal table in an ABAP program.

Notes

  • Generic table types, that is, table types for which one or more attributes are generic) can only be used in ABAP for generic typings of formal parameters or field symbols.





Fill RESBD Structure from EBP Component Structure   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 5870 Date: 20240426 Time: 111658     sap01-206 ( 85 ms )