WHAT IS TYPE GROUPS

WHAT IS TYPE GROUPS?WHAT IS IT USE?

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.
Type Groups
Before Release 4.5A, it was not possible to define standalone types in the ABAP Dictionary to which you could refer using a TYPE addition in an ABAP program. It was only possible to refer to flat structures. Structures in programs corresponded to the structures of database tables or structures in the ABAP Dictionary. In ABAP programs, you could only refer to database tables and structures in the ABAP Dictionary using LIKE. It was, however, possible to refer to individual components of the Dictionary type. Complex local data types such as internal tables or deep structures had no equivalent in the ABAP Dictionary. The solution to this from Release 3.0 onwards was to use type groups. Type groups were based on the include technique, and allowed you to store any type definitions globally in the Dictionary by defining them using TYPES statements.
The definition of a type group is a fragment of ABAP code which you enter in the ABAP Editor. The first statement for the type group <pool> is always:
TYPE-POOL <pool>.
After this came the definitions of data types using the TYPES statement, as described in Local Data Types in Programs. It was also possible to define global constants using the CONSTANTS statement. All the names of these data types and constants must begin with the name of the type group and an underscore:
In an ABAP program, you must declare a type group as follows before you can use it:
TYPE-POOLS <pool>.
This statement allows you to use all the data types and constants defined in the type group <pool> in your program
Check this link for more details with eg
http://help.sap.com/saphelp_46c/helpdata/en/fc/eb3138358411d1829f0000e829fbfe/content.htm

Similar Messages

  • What is TYPE GROUP /TYPE-POOL?  When to use that ?

    hello friends
    Can any one tell me
    What is TYPE GROUP /TYPE-POOL?  When to use that ?
    Thanks & Best Regards
    Nilesh

    Type group
    If you want to define global constants, you have to use a type group. The name of
    the type group can only contain a maximum of five characters. In the type group,
    you can define constants using the CONSTANTS statement. As types, you are
    provided with the integrated ABAP types or the global types of the Dictionary.
    In order to be able to use the types of a type group in a program, make the type
    group known using the TYPE POOL statement. From these lines on, you can use
    all constants of the type group.
    The definition of a type group is a piece of ABAP code that is either maintained
    via the Dictionary (SE11) or via the ABAP Editor (SE38).
    Realization:
    The first statement for the type group zmytp is always:
    TYPE-POOL zmytp.This is followed by the definition of data types with the statement TYPES, as
    described under local program data types. Furthermore, cross-program constants
    can be declared using the CONSTANTS statement. All names of this data type
    and constants must begin with the name of the type group and an underline:
    zmytp_
    In an ABAP program, type groups must be made known with the following
    statements before they are used:
    TYPE-POOLS zmytp.
    When using this statement, all data types ansd constants, which are defined in the
    zmytp type group can be used in the program. Several type groups can be used
    in a program.

  • Type Group

    what is Type Group? explain it?

    <b>Type Groups</b>
    Before Release 4.5A, it was not possible to define standalone types in the ABAP Dictionary to which you could refer using a TYPE addition in an ABAP program. It was only possible to refer to flat structures. Structures in programs corresponded to the structures of database tables or structures in the ABAP Dictionary. In ABAP programs, you could only refer to database tables and structures in the ABAP Dictionary using LIKE. It was, however, possible to refer to individual components of the Dictionary type. Complex local data types such as internal tables or deep structures had no equivalent in the ABAP Dictionary. The solution to this from Release 3.0 onwards was to use type groups. Type groups were based on the include technique, and allowed you to store any type definitions globally in the Dictionary by defining them using TYPES statements.
    The definition of a type group is a fragment of ABAP code which you enter in the ABAP Editor. The first statement for the type group <pool> is always:
    <b>TYPE-POOL <pool>.</b>
    After this came the definitions of data types using the TYPES statement, as described in Local Data Types in Programs. It was also possible to define global constants using the CONSTANTS statement. All the names of these data types and constants must begin with the name of the type group and an underscore:
    In an ABAP program, you must declare a type group as follows before you can use it:
    <b>TYPE-POOLS <pool>.</b>
    This statement allows you to use all the data types and constants defined in the type group <pool> in your program. You can use several type groups in the same program.
    example :
    Let the type group HKTST be created as follows in the ABAP Dictionary:
    TYPE-POOL hktst.
    TYPES: BEGIN OF hktst_typ1,
                    col1(10) TYPE c,
                    col2 TYPE i,
           END OF hktst_typ1.
    TYPES hktst_typ2 TYPE p DECIMALS 2.
    CONSTANTS hktst_eleven TYPE i VALUE 11.
    This type group defines two data types HKTST_TYP1 and HKTST_TYP2, as well as a constant HKTST_ELEVEN with the value 11.
    Any ABAP program can use this definition with the TYPE-POOLS statement:
    TYPE-POOLS hktst.
    DATA: dat1 TYPE hktst_typ1,
          dat2 TYPE hktst_typ2 VALUE '1.23'.
    WRITE: dat2, / hktst_eleven.
    The output is:
    1,23
    11
    The data types defined in the type group are used to declare data objects with the DATA statement and the value of the constant is, as the output shows, known in the program.

  • Type Groups?????? SLIS??

    Hai All,
    Can U plzz let me know <b>"what is Type Group" & all about it???? </b> Y that should be used, when should be used, where can that be used, & all.??????????
    I have come across <i><b>2716 Type Groups</b></i> in our server & <b>"SLIS"</b> of ALV is one of them, whats this??? I do not know its use in ALV. Explain this as an example.
    Thanks in advance.
    Regards.
    Farooq

    Type Groups
    Before Release 4.5A, it was not possible to define standalone types in the ABAP Dictionary to which you could refer using a TYPEaddition in an ABAP program. It was only possible to refer to flat structures. Structures in programs corresponded to the structures of database tables or structures in the ABAP Dictionary. In ABAP programs, you could only refer to database tables and structures in the ABAP Dictionary using LIKE. It was, however, possible to refer to individual components of the Dictionary type. Complex local data types such as internal tables or deep structures had no equivalent in the ABAP Dictionary. The solution to this from Release 3.0 onwards was to use type groups. Type groups were based on the include technique, and allowed you to store any type definitions globally in the Dictionary by defining them using TYPES statements.
    The definition of a type group is a fragment of ABAP code which you enter in the ABAP Editor. The first statement for the type group pool is always:
    TYPE-POOL pool.
    After that, you define data types using the statement TYPES. It was also possible to define global constants using the CONSTANTS statement. All the names of these data types and constants must begin with the name of the type group and an underscore: pool_
    In an ABAP program, you must declare a type group as follows before you can use it:
    TYPE-POOLS pool.
    This statement allows you to use all the data types and constants defined in the type group pool in your program. You can use several type groups in the same program.
    Note:
    As of release 6.40, you can also define data types and constants in the public visibility area of global classes, by which type groups can be completely replaced.
    Let the type group HKTST be created as follows in the ABAP Dictionary:
    TYPE-POOL hktst.
    TYPES: BEGIN OF hktst_typ1,
                    col1(10) TYPE c,
                    col2 TYPE i,
           END OF hktst_typ1.
    TYPES hktst_typ2 TYPE p DECIMALS 2.
    CONSTANTS hktst_eleven TYPE i VALUE 11.
    This type group defines two data types HKTST_TYP1 and HKTST_TYP2, as well as a constant HKTST_ELEVEN with the value 11.
    Any ABAP program can use this definition with the TYPE-POOLS statement:
    TYPE-POOLS hktst.
    DATA: dat1 TYPE hktst_typ1,
          dat2 TYPE hktst_typ2 VALUE '1.23'.
    WRITE: dat2, / hktst_eleven.
    The output is:
                1,23
            11
    The data types defined in the type group are used to declare data objects with the DATAstatement and the value of the constant is, as the output shows, known in the program.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb3138358411d1829f0000e829fbfe/content.htm

  • Regarding type group

    HI Friends please help me on what is type group urgently.

    <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

  • CiscoWorks user options "device type groups|switch and Hubs"

    Hi,
    We are using CiscoWorks software to deploy new configuration to our network devices.  Because our environnement is mixed about version of network devices we have to create a new netconfig job for each device model, because in some plate-forme configuration option, syntax maybe different of each other.
    When I create a new netconfig job with my username under "device type groups|switch and Hubs" I have a list there of all plate-forme we have in our production environnement managed by CiscoWorks software.  I know thoses group was'nt define by on of us and thoses are define by default in CiscoWorks software, but they are hiden by default per user basic.
    We have a new one in our team, I had created his user name and password, but I can find the option where I can asked to make visible to him plate-form device type group as I have in my user configuration.
    Also, is it possible to copy private define group to an other user without to make thoses as public ?
    Thanks a lot !

    Here,
    is a view of what I have with my user
    but in his profile he is only see
    Device type Groups
         + Routers
         + Switches and Hubs
         + Wireless
    if he clic on the plus sing to develop group "Switches and Hubs" he see all switches and hub managed by CiscoWorks software.  I know He did not create Cisco Catalyst 2912 XL Switch and Cisco Catalyst 2924 XL Switch group in my profile.  I know we have to modify an option in CiscoWorks per user basic to view those group, the person who where that option should be modifiy is currently in vacation, but he will need that option enable before our specialist will be back !
    Thanks a lot !

  • Transation type group replication

    hi
    experts
    We are on CRM 4.0, E-commerce, ICSS
    1.Do we need to replicate Transaction type group created in IMG for ICSS B2B?
       If it is to be replicated manually can u please suggest me the process steps
    2.Even we need to replicate the Product Catalog
    We have tried to assign Transaction type group in Transactions tab of B2B Web shop
    but we are unable to find our transaction type group created in IMG
    please suggest us further
    Your help will be highly appreciated
    thanks
    and regards
    venugopalrao

    Hi Venugopal,
    Please find below my answers to your queries.
    1. What do you mean by Replication of the Transaction Type Group? Replication to ECC / R/3 or TREX?
    I guess you are maintaining the transactions in the transaction type group in shopadmin. It is necessary, but not mandatory to maintain the transaction type group here.
    2. So, what is the problem in replicating the Product Catalog? If you have any specific error that you receive, then please mention the same, else please go through the C14 Internet Sales document for details on Product Catalog replication.
    In Transactions,  you will only your transaction type, not the transaction type group. Here, select your transaction type and assign the same here.
    Thanks & Regards,
    Nelson

  • T.code for transaction type groups (FI-AA)

    Hi Friends,
    Please can you tell me the t,code for creating transaction type groups. ( Transaction type groups are attached to transaction types in t.code AO73).
    Thanks & Regards
    Bhairavi

    Hiya,
    T.Code: OAVJ
    However, I wouldn't create Transaction Group Types if I were you... since there is a lot of config behind it that you need to be careful with.
    I assume you know what you are doing.
    Cheers.

  • What message type used by ALE in transactional data

    Hello friends,,,
          I wish to know what msg types are used in transactional data like PO, PR, etc in Materail tables???
    thanking you

    hello babi,
        Message Type         Technical Name
        Product                    PRODUCT
        Location Group/Assortment  LOCGRP
        Assortment Product         ASRTPRD
        Assortment Version         ASRTPRDVRSM
    Assortment Version for Space Management ASRTPRDVRSO
       Allocation and PO           ALLOCPO
       Markdown Proposals          MDPROP
        Open-to-Buy                 OTB
    complete details of ALE:
    http://help.sap.com/saphelp_nw04/helpdata/en/0b/2a6cdd507d11d18ee90000e8366fc2/plain.htm
    REgards
    Varun

  • Read Type Group

    Hi,
    I am trying to read the type group ( type-pools ICON ) using below code:
            data: obj TYPE REF TO cl_abap_typedescr,
             typ TYPE REF TO cl_abap_structdescr,
             table TYPE STANDARD TABLE OF abap_componentdescr.
    obj = cl_abap_typedescr=>describe_by_name( 'ICON' ).
    typ ?= obj.
    table = typ->get_components(  ).
    what i am getting is Transparent table's(ICON) components instead, as Transparent table ICON also exists!!!
    i am not able to read Type groups components,
    is it possible to read type groups components using above method or any method for that matter????
    Please suggest.

    Type groups are specific DDIC objects, which you cannot evaluate using RTTS classes. This can be provided i.e by fm TYPD_GET_OBJECT , but not the way you are trying. In your case system assumes you provide valid DDIC object (table, structure, data object) to method describe_by_name . That's why it returns components of a table, not a type group with same name.
    Regards
    Marcin

  • Movement type group in CIN subcontracting

    hi
    What is the relevenace  of meovement type group in SAP CIN.
    there are two movement type group 0001 & 0002 .......what is the relevance of these groups in subcontracting and if a movement type is not assigned with these groups how does it impact in system. On which basis a movement type is assigned to them.
    if i assign movement type 101 to group 0002 is there anything wrong in it
    I want to understand there significance and impact

    Hi,
    The logic is quite simple to understand
    Lets start from beginning
    Step 1>
    First we need to define subcontracting attributes in CIN customizing
    Logistics General --> Tax on Goods Movement --> India --> Business Transactions -->Subcontracting -->Subcontracting Attributes
    Here we maintain entries for your Excise group , Excise TT (57FC) ,Sub Transaction Type (01)
    Now here you will find 2 fields
    Mvt Grp Issues i.e Movement Type group for Issue.The movement types relevant for issue of materials are grouped for a combination of transaction type and subtransaction type.Which is 0001 in standard SAP
    Mvt Grp Receipt   Movement Type Group Receipts.Receipt of materials are grouped for a combination of transaction type and subtransaction type.Which is 0002 in standard SAP
    Step 2
    And in next step we define the movement types to its group
    Logistics General -->Tax on Goods Movement  --> India  -->Business Transactions  --> Subcontracting  --> Maintain Movement Type Groups
    Now just think Logically forget CIN
    Which are your receipt movement types ?
    101,542 etc  so assign these to Mvt type Grp 0002
    Which are your issue movement types ?
    122 ,102,541 etc so assign these to Mvt type Grp 0001
    Now detailed explanation from  SAP just find the document
    "J85 u2013 Subcontracting without Payment of Excise Duty :Building Block Configuration Guide"
    Link :   http://help.sap.com/bp_bblibrary/600/Documentation/J85_BB_ConfigGuide_EN_IN.doc
    Also check http://help.sap.com/bp_bblibrary/600/html/J85_EN_IN.htm for process details

  • What is account group? how to definf

    what is account group? how to definf

    Dear deva
    You must assign each account to an account group. The account group ensures that only the relevant screens and fields are displayed and ready for input for each of the customer’s different partner functions. For example, the address, communication, and bank data fields are omitted for the account group for one-time accounts.
    You maintain the account groups in Customizing (IMG), or copy the defaulted account groups.
    The account group controls:
    The type of number assignment used for the account number
    A number interval from which the account number is chosen. The system uses the account number to identify the customer.
    Which fields are displayed when you enter or change customer master data and whether or not an entry must be made in these fields (field status)
    Whether the account is a one-time account
    To create a master record, you have to specify an account group. The account group cannot be changed once you have created the master record. Your system administrator, however, can change the above account group specifications.
    For more information about account group specifications, see the Define Account Groups with Screen Layout activity in the Implementation Guide (IMG) for Accounts Receivable and Accounts Payable.
    For instance, if you implement Sales and Distribution (SD) after implementing Financial Accounting (FI), changes to an account group may be necessary if you wish to add fields that were previously hidden in the master record.
    Leaving content frame
    Thanks
    G. Lakshmipathi

  • Junked old macbook for a new one. changed apple id password from a different mac. i want to login and it asks for name and password. no matter what i type i cant seem to login. any way help?

    junked old macbook for a new one. changed apple id password from a different mac. i want to login and it asks for name and password. no matter what i type i cant seem to login. why cant i just enter my apple id and password. or is there a way to change whatever name and password are on the new one from another mac so i can login. anything helps...thanks

    Just open System Preferences>Users & Groups and unlock the preference pane with your root password.
    Set the New Account to be an Administrator and fill in the rest of the data and then click "Create User".
    I would suggest using this user to be YOU with admin capabilities. I wouldn't use the root user - too much damage could occur if you're not sure what you're doing. If you have files, etc., that you want to move to this account, simply but them in the Shared folder - or if you 'rescued' some old files and the like from your 'trashed' MBP, you can put them in your NEW admin account folders.
    Hope I've explained myself well - call back with any questions!
    Clinton

  • What is field group?

    hello all,
    what is field group?

    Hi,
    A field group combines several fields under one name. For clarity, you should declare your field groups at the end of the declaration part of your program.
    A field group does not reserve storage space for the fields, but contains pointers to existing fields. When filling the extract dataset with records, these pointers determine the contents of the stored records.
    Once you have declared the possible record types as field groups and defined their structure, you can fill the extract dataset using the following statements: EXTRACT . When the first EXTRACT statement occurs in a program, the system creates the extract dataset and adds the first extract record to it. In each subsequent EXTRACT statement, the new extract record is added to the dataset EXTRACT HEADER. When you extract the data, the record is filled with the current values of the corresponding fields. As soon as the system has processed the first EXTRACT statement for a field group , the structure of the corresponding extract record in the extract dataset is fixed. You can no longer insert new fields into the field groups and HEADER. If you try to modify one of the field groups afterwards and use it in another EXTRACT statement, a runtime error occurs. By processing EXTRACT statements several times using different field groups, you fill the extract dataset with records of different length and structure. Since you can modify field groups dynamically up to their first usage in an EXTRACT statement, extract datasets provide the advantage that you need not determine the structure at the beginning of the program.
    give the logical database name as F1S in the attributes of the program
    NODES: spfli, sflight.
    FIELD-GROUPS: header, flight_info, flight_date.
    INSERT: spfli-carrid spfli-connid sflight-fldate
    INTO header,
    spfli-cityfrom spfli-cityto
    INTO flight_info.
    START-OF-SELECTION.
    GET spfli.
    EXTRACT flight_info.
    GET sflight.
    EXTRACT flight_date.
    end-of-selection.
    loop.
    write:/ spfli-carrid,spfli-connid,sflight-fldate.
    endloop.
    Regards,
    Priyanka.

  • Diff b'ween  Type pools  & type Groups

    Hi!
       What is type pools & Can i know the difference between the Type pools  & type Groups.

    Hi,
    Type Groups
    Before Release 4.5A, it was not possible to define standalone types in the ABAP Dictionary to which you could refer using a TYPEaddition in an ABAP program. It was only possible to refer to flat structures. Structures in programs corresponded to the structures of database tables or structures in the ABAP Dictionary. In ABAP programs, you could only refer to database tables and structures in the ABAP Dictionary using LIKE. It was, however, possible to refer to individual components of the Dictionary type. Complex local data types such as internal tables or deep structures had no equivalent in the ABAP Dictionary. The solution to this from Release 3.0 onwards was to use type groups. Type groups were based on the include technique, and allowed you to store any type definitions globally in the Dictionary by defining them using TYPES statements.
    The definition of a type group is a fragment of ABAP code which you enter in the ABAP Editor. The first statement for the type group pool is always:
    TYPE-POOL pool.
    After that, you define data types using the statement TYPES. It was also possible to define global constants using the CONSTANTS statement. All the names of these data types and constants must begin with the name of the type group and an underscore: pool_
    In an ABAP program, you must declare a type group as follows before you can use it:
    TYPE-POOLS pool.
    This statement allows you to use all the data types and constants defined in the type group pool in your program. You can use several type groups in the same program.
    Note:
    As of release 6.40, you can also define data types and constants in the public visibility area of global classes, by which type groups can be completely replaced.
    Regards
    Sudheer

Maybe you are looking for