Get Example source ABAP code based on a different SAP table
VERSION 5 OUT
ABAP_DDIC - Type Pools A type pool> is an ABAP program managed by the ABAP Dictionary that starts with 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 the statement TYPE-POOL>>. A type pool and its types, constants, and macros do not have any semantic properties except for a short text and optionally 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.
Latest notes:
Types in type pools are the predecessors for general type definitions in the ABAP Dictionary. Types in type pools can be elementary data types, reference data types, or table 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 properties when compared to the other dictionary objects. These properties can also be defined in global classes.
The name of a type pool can also be prefixed with a namespace prefix> (/.../>) of a prefix namespace>. This prefix can have a maximum of four characters. ABAP_HINT_END
Example ABAP Coding
A type pool that is frequently used in ABAP programs is ABAP>>, which contains many types and constants predefined for common usage>. ABAP_EXAMPLE_END