Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Type Pools

Former Member
0 Kudos
130

Hi All,

What is meant By Type pools and Class pools. It contains Types like SLIS, VRM. What is the use of it.

Thanks in Advance

8 REPLIES 8

former_member181962
Active Contributor
0 Kudos
74

Hope this example gives a idea.

If you declare a types statement inside your program, you can refer that type only in your program. BUt if you declare a type in a type group, then it is visible to all the programs(Provided they have declare the type-pools: <Type pool name>.) .

It is a global area where you can define your types which can be accessed anywhere.

Regards,

Ravi

Former Member
0 Kudos
74

Hi,

If u add this stmt in ur ABAP program,

TYPE-POOLS tpool.

It includes the types and constants of a type group [Which will be created through SE11 transaction].

Class-pool:

This is a container for global classes .

-SatyaPriya

Former Member
0 Kudos
74

TYPE Pools can be thought of as an include having TYPE declarations.

The use of this in your program gives your program access to these TYPE declarations which can then be used directly in your program when declaring new data declaration.

Class pool is actually a kind of program which is created when you create a class in transaction SE24. You cannot create a class pool from se38 and even if I told you a class pool program name , if you try to open it will only open SE24.

This contains all the information about the class.

Hope this helps

Regards

Nishant

Former Member
0 Kudos
74

Vijay ,

Pls. go through this.

10. What is a table pool?

A table pool (or pool) is used to combine several logical tables in the ABAP/4 Dictionary. The definition of a pool consists of at least two key fields and a long argument field (VARDATA).

11. What are pooled tables?

These are logical tables, which must be assigned to a table pool when they are defined. Pooled tables can be used to store control data (such as screen sequences or program parameters).

Pls. mark if useful

12. What is a table cluster?

A table cluster combines several logical tables in the ABAP/4 Dictionary. Several logical rows from different cluster tables are brought together in a single physical record. The records from the cluster tables assigned to a cluster are thus stored in a single common table in the database.

0 Kudos
74

Hi,

Please refrain from wrongly answering the question and check the question before answering.

Nishant

Message was edited by:

Nishant Rustagi

0 Kudos
74

Thanks Nishant..

0 Kudos
74

You can change the question to answered.

- Nishant

0 Kudos
74

Yes