04-07-2006 10:13 PM
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,
04-07-2006 10:22 PM
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
04-07-2006 10:22 PM
04-07-2006 10:22 PM
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
04-08-2006 2:42 PM
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