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

type-pools

Former Member
0 Likes
773

hi

where do we can see type-pools?

thanks in advance

bramara k

7 REPLIES 7
Read only

Former Member
0 Likes
746

SE11

check out type pools: ICON, etc.. In SE11, type groups..

Read only

Former Member
0 Likes
746

Hi,

Go to Se11 --> on Type Groups press F4.

You can see.

Thanks,

Sri,

Read only

Former Member
0 Likes
746

Hi Bramara,

TYPE-POOLS tp

Type-pools are used to declare a type pool to be used in the program.The specified type pool should already exists in the ABAP DICTONARY(SE11) .Once the type pool has been declared we can use any of the constants and types declared in that type pool.

TYPE-POOL tp

Type-pool statement is used to create a type group in the ABAP dictionary.It is the first statement in the definition.The type group is used to declare constants and types and these must begin with the name of the type pool and underscore.

e.g. TYPE-POOL owntypes.

TYPES num TYPE P DECIMALS 2.

TYPES name(14) TYPE C.

To use these types in the abap program we have to use the statement

TYPE-POOLS .

e.g. TYPE-POOLS owntypes.

DATA customer TYPE owntypes_num.

DATA name TYPE owntypes_name.

<REMOVED BY MODERATOR>

Thankyou,

Regards.

Edited by: Alvaro Tejada Galindo on Jan 11, 2008 4:04 PM

Read only

RoySayak
Active Participant
0 Likes
746

Hi bramara,

Go to SE11

Select the radio button Type Group

Then type SLIS

Then display the SLIS type pools structure.

Regards,

Sayak...

Read only

Former Member
0 Likes
746

see in se11.

in this we can create our own datatypes..

we can reuse these data types..

we hav predefined typegroups..like slis etc..

go to se11 and create a type group. and define few data types in it.

for use these data types in other programs.

u hav to define

type-pools: <typegroupname>.

data: usr_data type <typegroupname>-<datatype>

<REMOVED BY MODERATOR>

thanks&regards,

sudheer.

Edited by: sudheer b on Jan 11, 2008 3:18 PM

Edited by: Alvaro Tejada Galindo on Jan 11, 2008 4:06 PM

Read only

Former Member
0 Likes
746

Hi Bramara,

TYPE-POOLS

Type-pools are used to declare a type pool to be used in the program.The specified type pool should already exists in the ABAP DICTONARY(SE11) .Once the type pool has been declared we can use any of the constants and types declared in that type pool.

You need to use the following code to use type pools:

TYPE-POOLS .

e.g. TYPE-POOLS owntypes.

DATA customer TYPE owntypes_num.

DATA name TYPE owntypes_name.

Go to Se11.

In the type group field,press an F4 to get type pools.

Regards,

Kashyap

Read only

Former Member
0 Likes
746

HI Bramara,

TYPE-POOLS,TYPES, TYPE-POOL

TYPES----


USER DEFINED DATATYPES ARE DECLARED WITH TYPES STATEMENT

TYPE-POOL----


IT IS A PROGRAM WITH A COLLECTION OF TYPES STATEMENTS. CAN BE CREATED IN DICTIONARY

TYPE-POOLS----


IT IS A COLLECTION OF TYPE-POOL s.

in an ABAP Program we use TYPE-POOLS statement which is a collection of different TYPE-POOL s

ex: TYPE-POOLS : ICON, SLIS etc

you can see it by navigating to

Goto SE11->Select radio button type Group->then press F4.

Regards,

Chandru