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: 

difference between INCLUDE AND TYPE GROUPS

Former Member
0 Kudos

hi

please give the difference between INCLUDE AND TYPE GROUPS

Title was edited by:

Alvaro Tejada Galindo

1 REPLY 1

Former Member
0 Kudos

Hi

Includes are the programs with type I and which are included in some MAIN executable program and which can't be executed on their own.

TYPE-POOLS tpool.

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.

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

Anji