Ansicht
Dokumentation

ABENDDIC_TYPE_GROUPS - DDIC TYPE GROUPS

ABENDDIC_TYPE_GROUPS - DDIC TYPE GROUPS

CL_GUI_FRONTEND_SERVICES - Frontend Services   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

- Type Pools

A type pool is an ABAP program managed by the ABAP Dictionary that is initiated by the statement TYPE-POOL and that contains ABAP statements for defining globally visible data types, constants, and macros. For more information about type pools, see ABAP Program Types and under the statement TYPE-POOL. A type pool and its types, constants, and macros defined there do not have any semantic attributes except a short text and any comments in the source code. The name of a type pool can have a maximum of five characters, can only consist of letters, numbers, and underscores, and must start with a letter.

Notes

  • Types in type pools are the predecessors for general type definitions in the ABAP Dictionary, which include reference types and table types as well as elementary data types.
  • Since it is possible to also define data types and constants in the public visibility section of global classes or in interfaces, type pools are obsolete and should no longer be created. Existing type pools can still be used.
  • A disadvantage of type pools are their missing semantic attributes when compared to the other dictionary objects. These attributes can also be defined in global classes.

Example

A type pool that is frequently used in ABAP programs is ABAP, which contains many types and constants predefined for common usage.






CPI1466 during Backup   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2879 Date: 20240419 Time: 203207     sap01-206 ( 42 ms )