Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how to create type pools

Hi Experts,

I have a query like can we create custom "type pools". if yes, then what are the steps to create it.

Thank you in advance.

Samad.

Tags:
Former Member
Former Member replied

hi..

Pls check the f1 help in ur system.

It gives u simple examples. Anyway,

Typepool falls under - Data types.

Data Types

You can define program-local data types in ABAP programs that can be used for typing or declaring additional data types and data objects according to validity and visibility.

The corresponding statements are:

1. TYPE-POOLS

2. TYPES

3. INCLUDE TYPE

TYPE-POOLS

Syntax

TYPE-POOLS tpool.

Effect

Declaring global data types and constants from a type group.

The TYPE-POOLS statement declares the data types and constants of type group tpool You can specify it in the global data declarations of an ABAP program or in the declaration section of a class or interface. The data types and constants of the type group are visible as of this statement in the current context.

Notes

If the declared type group tpool integrates a further type group with the TYPE-POOLS statement, its data types and constants are also declared.

,,Data types declared using type groups cover ABAP Dictionary data types of the same name.

Example

Declaration of the predefined type group abap. By referring to the table type abap_func_parmbind_tab from the type group abap, the system declares an internal table parameter_tab for the dynamic parameter transfer to function modules.

TYPE-POOLS abap.

DATA parameter_tab TYPE abap_func_parmbind_tab.

regards,

Padma

Edited by: Padmashree RamMaghenthar on Oct 13, 2008 11:18 AM

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question