‎2008 May 23 9:51 AM
Hi guys,
plz told me,how to use type group in our reports.how many types of type.what is the advantage to use.plz don't send link.
with warm regards.
vikash
‎2008 May 23 9:53 AM
Hi,
Type Groups in the ABAP/4 Dictionary
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 types in a type group must be declared in ABAP/4 programs with the TYPE-POOLS command.
Reward if Helpfull,
Naresh.
‎2008 May 23 9:56 AM
hi,
using type-pools statement
example TYPE-POOLS: SLIS.
If we use some structures tables etc in most of our programs we declare them at one place called type group or typepool inn se11 globally and can use it. it helps to prevent data redundancy
regards
prasanth
‎2008 May 23 9:57 AM
Hello,
A type group as the name describes, is nothing but a group of Global types, which are accessible globally.Some important type groups are SLIS, ICON etc.
type-pools is the abap statement to make the types defined in that type group, available to the program.
like this
type-pools: slis. "Or any type group name
Look at the below link
http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb3138358411d1829f0000e829fbfe/content.htm
**************Reward points,if found useful
‎2008 May 23 10:05 AM
hi
1) type groups is similar to ur header files in c and c++.
2) but it is specifically used for defining types. (ie) when u write a report prog. u would have used types declaration rite.
3) similarly, lot of types will be maintained centrally using type groups.
4) so wen u would like to use those types in ur prog. u can import those types to ur program using type-pool command.
example:
type-pools: slis.
slis is a type pool which has lot of types declaration in it. if u use the above command in ur prog. u can declare structures of types that is in slis. many type pools are maintained in type groups.
reward points for helpful ans.
regards
mano
‎2008 May 26 8:20 AM
hi,
Type pool statement is used to create type group in the ABAP
dictionary.It is the first statement in the definition.type group is to used to declare constants and types and these must begin with the name of the typepool and underscore. once the typepool has been declared we can use any of the constants and types declared in that typepool.
TYPE-POOLS.
EG: TYPEPOOLS OWN TYPES.
DATA customer TYPE own types_num
DATA name TYPE owntypes _name.
‎2008 May 26 8:41 AM
Hi,
Type groups contains the decalarations of varions TYPE.
To use a special TYPE in your program, you must include the TYPE-GROUP by TYPE-POOLS staement.
Reward if useful.