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

Hi Everyone,

Can anybody Please let me know, What are the basic functionalities of Type-Pools and what are the advantages of using a type-pool and under what circumstances we use them?

Thanks a ton,

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

TYPE-POOLS are used for the declaration of DATA TYPES used in the program or collection of common application programs.

in a type pool you declare the data types for Variables, tables, structures etc. SInce these declarations are available globally,they can be used in a function group or class or common Application Programs, where many use the same declarations.

Regards,

Vara

3 REPLIES 3

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Type pools are just like include programs that hold TYPE statements.

Regards,

Rich Heilman

Former Member
0 Kudos

Hi,

TYPE-POOLS are used for the declaration of DATA TYPES used in the program or collection of common application programs.

in a type pool you declare the data types for Variables, tables, structures etc. SInce these declarations are available globally,they can be used in a function group or class or common Application Programs, where many use the same declarations.

Regards,

Vara

former_member183804
Active Contributor
0 Kudos

Hey,

Type-Pools offer the possibility the define types and constants in source-code. So they offer somehow an alternative to ddic definitions.

In contrast to includes the types defined in type pools can also be used in signatures of function-modules or class-methods. That is very different to includes. An included type is an own type while an type-pool type is shared. This is also reflected in the ABAP byte code / run time. An included type is loaded into memory per each including program, while a type-pool type only once.

With release 6.40 types and constants can be also expressed in interface-pools thus making the type-pool technology more or less obsolete.

Best Regards

Klaus