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

Similar Messages

  • How to get The users from a Collaborator that is type Group.

    Hello, I'm trying to get the users (and their emails) of a collaborator inside a Master Agreement that is type group.
    I've tried the following methods:
    1- Using a IBeanHomeLocator to get the GroupIBeanHomeIfc (with the static variable of sHOME_NAME) and then trying to get the Group with the DocumentId that the colaborator's method (getDocumentId()) returns and the GroupIBeanHome method findGroup().
    The result was null
    2 - Using exactly the same method as before, but instead of using the DocumentId, I did a query, in order to get the field USER_GROUP_OBJECT_ID,  to get the Id of the group.
    The result is still null.
    I'm not sure if there is a direct way to get it, or if i'm misusing the GroupIBeanHomeIfc.
    Thanks in advance!

    Hi Oscar,
    In the document collaborator class there is a method getCollaboratorType() which returns CollaboratorTypeEnumType and there are certain values assigned to them.
    user - A user collaborator
    group - A group collaborator
    contact - A user contact
    So, hashcode of 2 returns the group.
    Please have a look in to the below code.
    collaborators = doc.getCollaborators();
         if(collaborators.size() > 0)
            collabIter = collaborators.iterator();
              while (collabIter.hasNext())
                 member = collabIter.next();
                 collabType= member.getCollaboratorType();
                 hashValue= collabType.hashCode();
                    if(hashValue==2)
                              collabName= member.getDisplayName();
                              throw new ApplicationException("collabName:" +collabName);
    In the above code collabName returns the name of the group, with this you can search for the specified group using IbeanHomeLocator for group and then you can get the members in it and their mail Id's
    Hope it helps you and let me know if you need any assistance.
    Thanks,
    Raj.

  • 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 !

  • Transaction Type Group

    Dear All,
    Where do I find the config for Transaction Type Group (TTG)?
    FYI - I read about this in SAP library and it stated that TTG : " The number of possible transaction type groups, as well as the characteristics of the individual groups, is specified in the system and cannot be changed ." Is this hard coded somewhere?
    Furthermore, according to the SAP library, this TTG can determine few items eg: "According to which rule the start period for the depreciation calculation is determined"
    Reason: I notice that when an AUC is being capitalised to Final Asset using
    1) Settlement (AIAB and AIBU)
    2) Transfer (ABUMN)
    both will give difference depreciation value - even if  they are under the same asset number - which means same depreciation key. I need to investigate this and I suspect, it got to do with the TTG or not the period control method in depn key.
    Appreciate your advise. Thanks.
    Regards
    Fauzi

    Where do I find the config for Transaction Type Group (TTG)?
    Go to the table V_TABWG. It will be in display mode. To create/edit the TTy group you have to click the change button.
    Note: Any changes to this table is not recommended by SAP... be EXTRA careful when creating new entries
    F1 help on period control group reads as below.
    The system determines the beg. or ending period for the calculation of depreciation based on the asset value date of the transaction and the specificiations in the period control.
    The period group specifies which period control the asset value date of a specific transaction type group corrects.

  • 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.

  • 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.

  • Ironport - new file type group

    Is it possible to create a new file type group on an Ironport c360?  Or is is possible to add a specific file type to an existing group?  I figure there is a config file somewhere with this data but, so far, I'm unable to find it.
    Thanks
    If this is the wrong location for this discussion please redirect me.  I have not been able to read any existing discussions on in the official ironport area.

    Kirk;
      You may want to move this thread to the IronPort > Email Security community to get better exposure.
    Scott

  • Order Type Group - CRM 7.0 B2B Ecommerce with ERP Sales Order Scenario

    Hello Experts
    Scenario: CRM 7.0 with ERP Sales Order
    How can we use ORDER TYPE GROUP in CRM 7.0 B2B E-commerce with ERP sales order?
    With CRM as a back end this ORDER TYPE GROUP functionality is available as OOTB, but with ECC as a back end is this available?
    As per out understanding, we can use more than one TRANSACTION TYPE by seperating the TRANSACTION TYPES by COMMA in shopadmin? Is it a right understanding?
    Kindly let us know if we have ORDER TYPE GROUP functionality in CRM 7.0 B2B E-commerce with ERP sales order?
    Thanks and Regards
    DJ

    Hi DJ,
    In fact the Order Type Group is only available when you are connected to CRM Backend. For ERP Webshops, you only have the option to add the Order Types separated by coma.
    In addition, be aware that B2B only supports Sales Document with category "C - Sales Orders" on ERP backends, for example:Credit Memo Requests won't work. For more information, I created Note 1567713 that explain the restrictions.
    Kind Regards,
    Diego Felix.

  • 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.

  • Use of BP Type " Group"

    Hello Experts,
    In SAP CRM there are three types of BPs are there 1) BP Type Person 2) BP Type Organization 3) BP Type Group.
    Please explain the use of "BP Type Group" .
    Thanks

    Hi Koti,
    Group could be a Joint account in CRM.
    Or may represent group of ppl or partners as a single entity.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Type groups for alv

    how many type groups r there for ALV reports

    Hi,
    The following Groups are used in ALV Reports.
    ALVHT     ALV Control: HTML Templates
    KKBHT     Type pool for hierarchy component KKRT
    KKBLO     Type group for dynamic list output
    SLIS         Global types for generic list modules
    Regards,
    Mehul Shah.

  • BDC to assign MIC -:Error occurred when checking type $ group $.

    Hi
    We have developed a BDC program to assign MIC`s in routing operations,at the end of assigning the MIC`s in the operations the system is giving the below message .
    Error occurred when checking type $ group $.  
    Please note that 100% sampling procedure is assigned in MIC`s.
    Please advise how to recfity the same .
    PS :- while creating it manually there are no errors.
    Regards
    Trishna Nambiar

    There was some problem with Sampling unit of the MICs assigned in the operations.  This caused the error. Error log was in Tasklist checklist in the Inspection plan.

  • Table for Type Groups (DDIC)

    Hi,
    I´m searching for the database table the Type Groups are stored in.
    (SE11 -> Type Group)
    From table TADIR I´m getting the owner and the dev. class.
    From table DDTYPET I´m getting the short text.
    But where I can find "Last changed on/by"? (SE11 -> Type Group -> Atttributes)
    Cheers,
    André

    Use this function module TYPD_GET_OBJECT to get the last changed by user
    PTRDIR exporting parameter contains the values
    column - UNAM - Last changed by
                 UDAT - Last changed time
    you can get all the details from this parameter(PTRDIR).

  • M61X_CM61B" is not a pre-defined type or a type from a type group

    Hi,
    I'm trying to activate the exit EXIT_SAPMM61R_001 but i have this message:
    include LXM61$01.
    M61X_CM61B" is not a pre-defined type or a type from a type group
    LXM61$01 Is a standard include. Any ideas?
    SAP version is ECC6.
    Thanks.
    Rafael.
    Message was edited by:
            Rafael Rocha

    Anybody?

  • Not a pre-defined type or a type from a type group

    Hi experts,
    I create a interface Z_I_ADOBETEST, and add the following parameter for import:
      /1BCDWB/DOCPARAMS  TYPE   SFPDOCPARAMS  1   1     
    IT_ITEM               TYPE     ZTVBAP      0     1     
    IT_HEADER       TYPE     ZTVBAK      0     1     
    IMAGE_URL      TYPE     STRING      0     1     
    I added 2 data types by SE11, and actived  them
      ZTVBAP    line type VBAP
    ZTVBAK     line type VBAK
    When I checked (ctrl+F2) interface Z_I_ADOBETEST, I got a error:
    Interface Z_I_ADOBETEST     
    "ZTVBAK" is not a pre-defined type or a type from a type group.     
    THANKS

    Thanks for Otto's help. I'm a  newbie at Adobe forms.
    For ZTVBAP, it's table type.
    The interface type is ABAP Dictionary-Based interface.
    Thanks.

Maybe you are looking for

  • Error message occurs when preview crystal

    I have one formula "Year+1" in my crystal report based on parameter "ZYEARMONTH". When I check this formula sytax, system show me no error founds. But, when I preview this crystal report, I get error message like "the string is non-numeric" with the

  • How to reorder / move new pages and subform instances

    I have a form that has 2 functions - show a hidden page and duplicate the Page 1 and I need to reorder the pages once the user has added an instance or shown a page. I have Form A (Page 1) that can be duplicated but the user can add in a Form C (extr

  • Add page break when exporting a report as an editable RTF with JRC

    Hello, When exporting a report as an editable rtf in Crystal Reports Designer we can select the option : "Insert page break after each report page". Does the same option exists in the JRC ? I don't want to use the MSWord export format. Thanks in adva

  • Adobe LifeCycle Designer ES4 crashes after SP1 installation

    Good Morning to everyone. I have a problem with my Adobe LiveCycle Designer ES4 since yesterday and I hope that someone can solve it. Yesterday, I downloaded and installed (German) SP1 for Adobe LiveCycle Designer ES4. Download and installation were

  • Problem with page positioning

    I've created a site using layers..the site positions correctly in my browser but in large monitors the whole thing is moved over to the left. How can I make my page adjust to any size monitor? thanks for you help my page .. www.gabeholzer.com