‎2007 Jun 25 11:14 AM
‎2007 Jun 25 11:18 AM
Hi,
A type group is a Global Declaration area, where you can define the types which will be accessible across all the program
goto transaction SE11.
Select type group radio button.
Enter the name of the type group u want to copy.
then select the copy button on the application toolbar enter the name of the ztype group u want to create. Activate it.
That's it!!
type group is a group where all diiferent types are defined.
for example ..go to se11->in type group type SLIS.
SLIS is a type group where you will find all the related type
these type group could related to a structure or any type which is define in it.
for example:
types: SLIS.
DATA : FIELDCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
W_FIELDCAT LIKE LINE OF FIELDCAT,
GD_TAB_GROUP TYPE SLIS_T_SP_GROUP_ALV WITH HEADER LINE,
GD_LAYOUT TYPE SLIS_LAYOUT_ALV,
GD_EVENTS TYPE SLIS_T_EVENT,
GD_SORT TYPE SLIS_T_SORTINFO_ALV,
GS_PRINT TYPE SLIS_PRINT_ALV,
GD_REPID LIKE SY-REPID.
check out this link
http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb3138358411d1829f0000e829fbfe/content.htm
<b>Reward is useful.</b>
All the best
‎2007 Jun 25 11:26 AM
hi uday,
u can go thro this link.
http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb3138358411d1829f0000e829fbfe/content.htm
Regards...
Arun.
Reward points if useful.
‎2007 Jun 25 12:37 PM
hi
good
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.
thanks
mrutyun^
‎2007 Jun 25 1:07 PM
<b>Type Groups</b>
Type groups or type pools are created using the ABAP Dictionary tool and are introduced with the TYPE-POOL statement. They may not contain any screens of their own or any processing blocks. Type groups are exclusively used as containers for global data types which can be made visible in any ABAP program using the TYPE-POOLS statement.
TYPE-POOL
Basic form
TYPE-POOL typepool.
Effect
Introduces a type group. You can only maintain a type group via the ABAP/4 Dictionary (using Transaction SE11 ). The name typepool must match the name in the ABAP/4 Dictionary . You can only define types and constants in type groups. The names of all these types and constants must begin with the name of the type group and an underscore.
Example
TYPE-POOL ABCDE.
TYPES: ABCDE_PACKED TYPE P,
ABCDE_INT TYPE I.
TYPE-POOLS
Basic form
TYPE-POOLS typepool.
Effect
Includes the types and constants of a type group. If the type group typepool has already been included, the statement is ignored. You can only maintain a type group via the ABAP/4 Dictionary (using Transaction SE11 ). You introduce a type group with the TYPE-POOL statement. Since the types and constants specified in a type group have global validity, you cannot use the statement within a FORM or FUNCTION .
Example
TYPE-POOLS VERI1.
DATA X TYPE VERI1_TYP1.
reward points if it is usefull ...
Girish