SAP NetWeaver AS ABAP Release 750, ©Copyright 2016 SAP AG. All rights reserved.
ABAP - Keyword Documentation → ABAP - Reference → Program Layout → Introductory Statements for Programs →
TYPE-POOL
Syntax
TYPE-POOL tpool.
Effect
The statement TYPE-POOL introduces a type group called tpool. It must be the first statement of a type group after any include programs are resolved. Type groups are only defined in ABAP Dictionary in ABAP Workbench. Here, an ABAP program is generated automatically, including the statement TYPE-POOL. The actual name of the program of a type group in the repository does not completely match the name of the type group and is of internal relevance only.
Type groups can only contain the following statements:
Here, the declared data types, constants, and macros must be prefixed with the name tpool of the type group. The elements declared in a type group can be addressed statically or dynamically by name in every ABAP program in which the type group can be used. The type group is loaded when an element of a type group is first accessed.
Notes
Example
Type group with the definition of a table type.