Application Development and Automation 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: 
Read only

What is typegroup??

Former Member
0 Likes
1,002

Give me explanation on typegroup??

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
887

You can define data types in a type group in the ABAP/4 Dictionary instead of defining them within an ABAP/4 program.

The type group name in the ABAP/4 Dictionary has a maximum of 5 characters. Type names within type group <typepool> must begin with <typepool> followed by an underscore.

The name typepool must match the name in the ABAP/4 Dictionary . You can only define types and constants in type groups. .

EG:

TYPE-POOL ABCDE.

TYPES: ABCDE_PACKED TYPE P,

ABCDE_INT TYPE I.

reward if useful...

Give me explanation on typegroup??

5 REPLIES 5
Read only

Former Member
0 Likes
887
Read only

Former Member
0 Likes
888

You can define data types in a type group in the ABAP/4 Dictionary instead of defining them within an ABAP/4 program.

The type group name in the ABAP/4 Dictionary has a maximum of 5 characters. Type names within type group <typepool> must begin with <typepool> followed by an underscore.

The name typepool must match the name in the ABAP/4 Dictionary . You can only define types and constants in type groups. .

EG:

TYPE-POOL ABCDE.

TYPES: ABCDE_PACKED TYPE P,

ABCDE_INT TYPE I.

reward if useful...

Read only

Former Member
0 Likes
887

<u><b>Type Group</b></u> is the group where data types and constants <i>created by user</i> is stored in ABAP dictionary. They are used in programming when different data types or constants of similar kind are used at once. <b>TYPE-POOLS</b> is the key word used to access the Type Group from ABAP program.

This is done to avoid redundancy. Similar type of type groups can be reused in different programs.