Fund group table

hi all,
I am trying to find fund group table. I have created fund group from public sector --> fund mgt --> master data --> fund --> fund group. But as this is a hierarchy so it is only shown in the setnode and setleaf table. Is it also given at some other place.
Thanks for your assistance.
Regards,
FS

Hi ,
do u want to get the same from SET IDs ?
try this sample program
RGSEX001
regards
Prabhu

Similar Messages

  • Mobility Group Table *MUST* be populated in each WLC in same mobility group

    For what it's worth,
    I recently discovered that when you have multiple controllers and want to implement Mobility Groups, more is needed than simply entering the same Default Mobility Group Name for each controller within the mobility group. The following is required:
    a) The IP address of the "Virtual" interface on each controller must be identical on each controller within the mobility group.
    b) The Default Mobility Group Name must be identical on each controller within the mobility group (case sensitive).
    c) The mobility table must be populated with an entry for each controller within the mobility group.
    Otherwise, you will see some inexplicable behavior such as:
    * LWAP access points refusing to change to a different controller, even if their primary controller is explicitly set and the LWAP is rebooted.
    * LWAP access points unable to find any other wireless controller other than the one pointed to by the "CISCO-LWAPP-CONTROLLER" DNS entry (presumably, this would also be the case if DHCP Option 43 is used to point the LWAP to a controller). Once the first controller reaches its max. capacity of LWAPs, no more LWAPs can join.
    * Even MASTER CONTROLLER MODE has no effect.
    Cisco TAC was able to explain the great mystery of the Mobilty Group Table to me. However, unless you know your problem is related to mobility groups issues, you might not know to start there (I know I didn't).
    The least difficult method I have found for populating the mobility group table is as follows:
    Build a text file with one entry for each controller in the mobility group as follows:
    Log into the GUI for each controller and selecting: Controller -> Mobility Management -> Mobility Groups, click the "EDIT ALL" button and copy the MAC and IP address from the text box into a text file using NOTEPAD. Repeat this for each controller, creating a new line for each:
    The format for the entries is as follows:
    00:1a:6c:91:22:A0 192.168.20.44
    00:1a:6c:91:22:B4 192.168.20.45
    Once the text file is completed (one entry for each controller in the mobilit group), click the EDITALL button and copy the entire contents of the text file and paste it into the text box on the controller GUI, click the APPLY button and click Save Changes. Repeat for each controller.
    Again, make sure that the following settings are IDENTICAL in each of the controllers in the Mobility Group:
    * The IP address of the "virtual" interface ( Controller -> interfaces ) must be the same on all controllers.
    * The "Default Mobility Domain Name" ( Controller -> General ) must be identical on each controller in the mobility group (note: the Mobility Domain Name is case sensitive).
    After making changes directly to the controllers, a "refresh from controller" in the WCS might be needed to get the WCS to attempt to synchronize itself with the controllers.
    Here is a link to the 4.2 Wireless Controller Configuration Guide which discusses this in greater detail.
    http://www.cisco.com/en/US/products/ps6366/products_configuration_guide_chapter09186a00808e638b.html
    It is unfortunate that there are currently no mechanisms in the WCS 4.2 to make these changes in bulk (i.e.: The WCS has no Controller Template to do this).
    Also, if you ever need to replace a controller, you will need to update the Mobility Group Table in each controller in the Mobility Group (since the tables will have the MAC address of the old controller which will now be different in the new replacement controller).
    Despite having used the "unified" product for some time now, there are still surprises from time to time. I just thought that I would share my experience for those who may want avoid it and/or who may be encountering any of odd the behavior described above.
    - John

    Hi John,
    Nice work with this very relevant info! Please post a short reply here so that we can give this the nice rating it deserves :)
    Thanks again!
    Rob

  • Cost element group - Table name

    Hi Guru,
    Can any body knew cost element group - Table name
    Regards,
    Bharathi.S

    Hi,
    It's stored in SETNODE and SETLEAF tables (class '0102').
    Regards,
    Eli

  • Grouping Table Columns

    Hi All,
    In my webdynpro application we need to "Group Table Column".  I am using NWDS 2.0.9. The "Insert Group COlumn" feature is not there in NWDS 2.0.9. If so how ca i group my table columns. Can anyone provide me a solution for this.
    Regards,
    Divya

    Hi Divya,
    I have done this in my application too.
    I have used two tables,
    The things you need to do is,
    1. Create a scroll container
    2. Create 1st table,
    3. assign the columns coming under its header.
    4. create the 2nd table,
    5. assign the rest of the columns under that header.
    6. Table properties to be set
    7. Now make footer visible false for both the table.
    8. visible no of rows = -1
    9. assigning same context or model node to both the tables will make it as one table itself, and selecting row in one table will also select same row in other table.
    10.Dont keep wrapping as true in any table cell editor, because if there occurs any wrapping in one table, the alignment of rows will be disturbed for both.
    11.And using scroll container instead of footer will not create the scrolling event of footer in the application.
    This will solve your problem.
    Mohak.

  • Possible new feature for SQL Data modeler: grouping tables by subfolder/

    When creating models of more than 500 tables. it would be nice if there was a way to be able group sets of tables into subfolders.
    while I might have a centralized schema, meaning the physical schema inside a database can have all 500 tables.
    for example:
    I might choose to group tables by product.
    HR folder contains all my HR_<tables>
    OrderEntry folder contains all my OE_<tables>
    Inventory folder conatins all my INV_<tables>
    this will help to view in the explorer window when searching for a table.

    I might choose to group tables by product.
    HR folder contains all my HR_<tables>
    OrderEntry folder contains all my OE_<tables>
    Inventory folder conatins all my INV_<tables>You can use subviews for that. Subview can be created in different ways:
    - drag&drop from browser
    - using selected objects on diagram
    - context menu for table in browser
    - context menu for subview in browser - you can create similar subview and use it as starting point
    - context menu for schema object in relational model - such subview becomes schema bound - you can update it later with tables added/removed to/from that svchema
    Philip

  • How to maintain TEXT ID GROUP (table TTXERN)

    Dear SAP,
    I am having a problem on how to maintain TEXT ID GROUP (table TTXERN). Where is it configured and why after upgraded to ECC6, this table doesn't cover all data availbale in table TTXER?
    Your expert advice is realy much appreciated. will give points for those who help me out this problem.
    TQ
    Regards,
    Nazrul

    You need to run the program SDTXT1AID, it will list all entries present in TTXER but missing in TTXERN.
    It is very common to come across this issue during SAP upgrade.
    You can refer to the std documentation of the program &/or Google it to find further details

  • Aggregate query on global cache group table

    Hi,
    I set up two global cache nodes. As we know, global cache group is dynamic.
    The cache group can be dynamically loaded by primary key or foreign key as my understanding.
    There are three records in oracle cache table, and one record is loaded in node A, and the other two records in node B.
    Oracle:
    1 Java
    2 C
    3 Python
    Node A:
    1 Java
    Node B:
    2 C
    3 Python
    If I select count(*) in Node A or Node B, the result respectively is 1 and 2.
    The questions are:
    how I can get the real count 3?
    Is it reasonable to do this query on global cache group table?
    I have one idea that create another read-only node for aggregation query, but it seems weird.
    Thanks very much.
    Regards,
    Nesta
    Edited by: user12240056 on Dec 2, 2009 12:54 AM

    Do you mean something like
    UPDATE sometable SET somecol = somevalue;
    where you are updating all rows (or where you may use a WHERE clause that matches many rows and is not an equality)?
    This is not something you can do in one step with a GLOBAL DYNAMIC cache group. If the number of rows that would be affected is small and you know the keys or every row that must be updated then you could simply execute multiple individual updates. If the number of rows is large or you do not know all the ketys in advance then maybe you would adopt the approach of ensuring that all relevant rows are in the local cache grid node already via LOAD CACHE GROUP ... WHERE ... Alternatively, if you do not need Grid functionality you could consider using a single cache with a non-dynamic (explicitly loaded) cache group and just pre-load all the data.
    I would not try and use JTA to update rows in multiple grid nodes in one transaction; it will be slow and you would have to know which rows are located in which nodes...
    Chris

  • Grouped tables not grouping

    I don't know if it's a coincidence or not, but recently I installed the iPhone SDK 3.0 beta 2, and I can't seem to create grouped tables anymore. It's a bit strange, and I keep looking for a possible code error, but I don't see one. I'm building for 2.2.1, so I'm not even trying to use any of the newer libs.
    It's a really simple static table, two sections, one row in the first, one row in the second. Title on each section. Each of the rows ends up in the right section, the UITableView just isn't using the grouped table style. It's set in the nib file in IB, and if I open up the nib in a text editor the setting looks correct. Has anybody else experienced any kind of issue like this?
    Other grouped tables that I created pre-upgrade to 3.0 beta 2 are still working just fine, I just can't seem to create any new nibs that work.
    This is all testing in the simulator, btw.

    Are you overriding the methods that declare the number of rows and sections in your view controller class as shown below?
    - (NSInteger) numberOfSectionsInTableView: (UITableView *) tv {
    return 2;
    - (NSInteger) tableView: (UITableView *) tv numberOfRowsInSection: (NSInteger) section {
    return 1;
    If you have already done this, you could try re-creating the xib file to see if it helps.
    And finally, you may want to install beta 3 to see if you are still having this problem.
    Good luck!

  • SQL recursion problem in custom groups table

    hi all,
    Consider the following seemingly simple table structure ( with sample rows ) :
    PERMISSION_ID P_ID DESCRIPTION DESIGNATION
    ============= ==== =========== =======
    1776 Null Z-ENGINEERING 88888
    1860 Null Z-LABORATORY 88888
    1909 Null Z-RESEARCH 88888
    1902 Null Z-PLANT 88888
    1905 Null Z-SOFTWARE DESIGN 88888
    1903 Null Z-BLANKET 88888
    1904 Null Z-OFFICE 88888
    40000 1909 James Gosling 67890
    40001 1909 Edgar Codd 21135
    40002 1904 Alan Turing 85542
    40003 1909 Z-SOFTWARE DESIGN 88888
    40004 1905 Dennis Ritchie 12111
    40005 1909 Z-OFFICE 88888
    40006 1776 Brian Kernighan 84251
    40007 1904 Z-ENGINEERING 88888
    Explanation of table structure :
    (1) All rows with P_ID = {Null} are the root groups, and they all have a uniform DESIGNATION of 88888.
    (2) All rows that starts with 40000 are memberships; under these memberships scheme, a root group can become a member of another root group, cascaded, which means that root groups can be members of another root group or they can be members of multiple root groups ( and cascaded even ), as long as the cascade do not end up in a circular reference, or an endless cycle. The idea here is so that the memberships for both groups and human members can be chained.
    (3) Both root groups and human memberships are stored in the same table above, using rules (1) & (2) as the logic.
    (4) No additional table may be added to this table in order to implement rules (1), (2), & (3); columns may be added, though.
    (5) Use only plain SQL statements ( SELECT, CONNECT BY, PRIOR, NOCYCLES, etc ... ); PL/SQL, functions, and procedures are strongly discouraged.
    Desired output of the query is as follows :
    The SELECT query should return a list of all human members which belongs to a specific root group. Using the example table above, the initial query should have the following intended result set:
    (start with p_id = 1909) -- 1909 is root group Z-RESEARCH
    PERMISSION MEMBERS
    ========== =======
    40000 James Gosling
    40001 Edgar Codd
    40003 Z-SOFTWARE DESIGN
    40005 Z-OFFICE
    However, Z-SOFTWARE DESIGN has it's own member , Dennis Ritchie, so the updated result set should be :
    PERMISSION MEMBERS
    ========== =======
    40000 James Gosling
    40001 Edgar Codd
    40004 Dennis Ritche
    40005 Z-OFFICE
    Same is true for Z-OFFICE, but it's member is another root group, Z-ENGINEERING, whose member is Brian Kernighan, thus the final result set list would be as follows, which is the final intended list :
    PERMISSION MEMBERS
    ========== =======
    40000 James Gosling
    40001 Edgar Codd
    40004 Dennis Ritche
    40002 Alan Turing
    40006 Brian Kernighan
    The problem now would be, how to generate the final intended list using the table scheme illustrated above, with no additional tables, but possible additional columns, using Oracle's SELECT ... START WITH ... CONNECT BY PRIOR ?
    Any theoretical advice is greatly appreciated; even our consulting firm cannot solve this problem. Coming here to the Oracle Forums itself is a last resort. Perhaps someone here can take a gander at this seemingly simple problem. Fact is, solving this problem has lots of applications, one of which is the ability to mimic Outlook's nested distribution groups list.
    Thank you so much for your time.

    Ok, first time back at a database, here my 2 cent.
    I use the with-clause to simulate your sample-data, i have also added the master-reference-column i suggested. Just restrict the result to the group you want to. (i only put the id's in the query)
    WITH DATA AS (SELECT 1776 PERMISSION_ID, TO_NUMBER(NULL) P_ID, TO_NUMBER(NULL) MASTER_PERMISSION_ID, 'Z-ENGINEERING' DESCRIPTION,  88888 DESIGNATION FROM DUAL
                  UNION ALL
                  SELECT 1860, Null, Null, 'Z-LABORATORY', 88888 FROM DUAL
                  UNION ALL
                  SELECT 1909, Null, Null, 'Z-RESEARCH', 88888 FROM DUAL
                  UNION ALL
                  SELECT 1902, Null, Null, 'Z-PLANT' ,88888 FROM DUAL
                  UNION ALL
                  SELECT 1905, Null, Null, 'Z-SOFTWARE DESIGN', 88888 FROM DUAL
                  UNION ALL
                  SELECT 1903, Null, Null, 'Z-BLANKET', 88888 FROM DUAL
                  UNION ALL
                  SELECT 1904, Null, Null, 'Z-OFFICE', 88888 FROM DUAL
                  UNION ALL
                  SELECT 40000, 1909, Null, 'James Gosling', 67890 FROM DUAL
                  UNION ALL
                  SELECT 40001, 1909, Null, 'Edgar Codd', 21135  FROM DUAL
                  UNION ALL
                  SELECT 40002, 1904, Null, 'Alan Turing', 85542 FROM DUAL
                  UNION ALL
                  SELECT 40003, 1909, 1905, 'Z-SOFTWARE DESIGN', 88888 FROM DUAL
                  UNION ALL
                  SELECT 40004, 1905, Null, 'Dennis Ritchie', 12111 FROM DUAL
                  UNION ALL
                  SELECT 40005, 1909, 1904, 'Z-OFFICE', 88888 FROM DUAL
                  UNION ALL
                  SELECT 40006, 1776, Null, 'Brian Kernighan', 84251  FROM DUAL
                  UNION ALL
                  SELECT 40007, 1904, 1776, 'Z-ENGINEERING', 88888  FROM DUAL
    SELECT GROUP_REFERENCE,
           THE_USERS.PERMISSION_ID,
           USER_NAME,
           FROM_GROUP
      FROM (SELECT PERMISSION_ID,
                   DESCRIPTION FROM_GROUP,
                   CONNECT_BY_ROOT(PERMISSION_ID) GROUP_REFERENCE
              FROM (SELECT PERMISSION_ID, TO_NUMBER(NULL) P_MASTER, DESCRIPTION
                      FROM DATA
                     WHERE DESIGNATION=88888
                       AND P_ID IS NULL
                    UNION ALL
                    SELECT MASTER_PERMISSION_ID PERMISSION_ID,  P_ID P_MASTER, DESCRIPTION
                      FROM DATA
                     WHERE DESIGNATION=88888
                       AND P_ID IS NOT NULL       
            CONNECT BY PRIOR PERMISSION_ID=P_MASTER
            START WITH P_MASTER IS NULL
           ) THE_GROUPS,
           (SELECT P_ID PERMISSION_REFERENCE,
                   PERMISSION_ID,
                   DESCRIPTION USER_NAME
              FROM DATA
             WHERE MASTER_PERMISSION_ID IS NULL
               AND P_ID IS NOT NULL
           ) THE_USERS
    WHERE THE_GROUPS.PERMISSION_ID=THE_USERS.PERMISSION_REFERENCE

  • Vendor account group table

    hi
    i wanted know in which table vendor and its account group will get store.
    Ex: vendor-XYZ belongs to account group 0001
    above combination in which table will get it. i want do validation in report. user will give vendor number. now i want to find this vendor belongs to which vendor account group?
    Thanks
    GP

    Hi,
    you can see vendor account group details in vendor master it self, ty this
    go to vendor master and from the menu select Extras- Administrative data.
    Regards
    babu

  • Grouping Table Problem

    Using CF8. I'm creating a report using cfdocument what will export as a PDF. I want the report to look like the following:
    Vendors Within the City
       comm_cd sub-heading
         vendor name
    address
    loc_code
         vendor name
    address
    loc_code
       comm_cd sub-heading
         vendor name
    address
    loc_code
       comm_cd sub-heading
         vendor name
    address
    loc_code
    Vendors Outside the City
       comm_cd sub-heading
         vendor name 
    address
    loc_code
         vendor name
    address
    loc_code
    The loc_code is what determines which grouping the record will be in. Here is the code I'm working with so far without the second heading...not sure where to put it.
    My query that is being called from the switch 
    <cfquery dbtype="query" name="getVendor">
         SELECT DISTINCT
         comm_cd,
         comm_desc,
         vend10,
         mbe,
         gender,
         ethnic,
         lgl_nm,
         street_address,
         city,
         state,
         zip,
         loc_code,
         phone,
         fax
         FROM
              variables.savedlist
         ORDER BY
         comm_cd,
         lgl_nm
    </cfquery> 
    <cfscript>
       variables.location = 0;
    </cfscript>
    <cfif listFind('LO,AU,SL',getvendor.loc_code)>
         <cfset variables.location = 1 />
    </cfif>
    <cfif variables.location EQ 1>
        <div style="text-align:left;font-size:10pt;font-weight:bold;font-family:arial;">Vendors Within City</div>
    <cfoutput query="getvendor" group="comm_cd">
         <table>
              <div style="width: 100%; border: 1px; table-layout:fixed;">
              <colgroup>
                   <col align="left" style="width:400px;"/>
                   <col align="left" style="width:400px;"/>
                   <col align="left" style="width:300px;"/>
                   <col align="left" style="width:300px;"/>
                   <col align="left" style="width:300px;"/>
              </colgroup>
              <tbody>
              <tr>
                   <td colspan="6"><div style="text-align:left;font-size:8pt;font-weight:bold;font-family:arial;">#getVendor.COMM_CD#  #getVendor.comm_desc#</div></td>
              </tr>
    <cfoutput>
              <tr>
                   <td><div style="text-align:left;font-size:8pt;font-family:arial;"> </div></td>
                   <td><div style="text-align:left;font-size:8pt;font-family:arial;">#getVendor.VEND10#<br>#getVendor.LGL_NM#<br>#getVendor.street_address#<br>#getVendor.city# #getVendor.state# #getVendor.zip#</div></td>
                   <td><div style="text-align:left;font-size:8pt;font-family:arial;">#getVendor.phone#<br>#getVendor.fax#</div></td>
                   <td><div style="text-align:left;font-size:8pt;font-family:arial;">#getVendor.MBE#</div></td>
                   <td><div style="text-align:left;font-size:8pt;font-family:arial;">#getVendor.GENDER#/#getVendor.ETHNIC#</div>
                   <td><div style="text-align:left;font-size:8pt;font-family:arial;">#getVendor.loc_code#</div></td>
              </tr>
    </cfoutput>
              <tr> </tr>
              </tbody>
                   </div>
    </table>
    </cfoutput>
    </cfif>            
        What am I doing wrong?  I know I need a <cfelse> in there along with the heading 'Vendors Outside the City'.  But no matter where I put it nothing seems to work correctly.
         Thanks

    Hi,
    in that case you can group them using Sort table parameter. you can build the sort table based on month, and the data will be grouped based on month. this is another possibility.
    sort-fieldname = 'MONTH'.
    sort-up = 'X'.
    append sort to it_sort.
    pass this IT_sort to alv grid FM.
    Regards
    Vjay

  • Cost Element group table

    Can anyone tell me which table contains the cost element groups and which cost elements are related to them

    Please.... Help!
    I want to write data there can fix it ....!
    ---------      I want to record this record in the edit field -----------------------
    code is:
    REPORT NO STANDARD PAGE HEADING LINE-SIZE 100 LINE-COUNT 60
                                    MESSAGE-ID zin.
    TYPE-POOLS: gset, gseth, slis, kkblo.
    TABLES: aufk.
    TYPES: BEGIN OF t_datam.
            INCLUDE STRUCTURE GRPOBJECTS.
    TYPES: END OF t_datam.
    DATA: it_datam TYPE STANDARD TABLE OF t_datam WITH HEADER LINE.
    DATA: gwa_datam TYPE t_datam,
          GRPOBJECTS TYPE t_datam.
    DATA: pt_node TYPE gseth_node_tab,           "Nodos
          pt_valu TYPE gseth_val_tab,            "Valores
          pt_mast TYPE gseth_md_tab.             "Descripciones
    DATA: ls_node LIKE LINE OF pt_node,
          ls_valu LIKE LINE OF pt_valu.
    DATA:
          p_layout     TYPE slis_layout_alv,              " Layout inicial
          t_sortcat    TYPE slis_sortinfo_alv OCCURS 1,   " Orden ALV
          t_fieldcat   TYPE slis_t_fieldcat_alv,          " Atributos a mostrar
          t_events     TYPE slis_t_event,                 " Lista de eventos
          t_top_page   TYPE slis_t_listheader,            " Write ini pagina
          w_sort       LIKE LINE OF t_sortcat.
    DATA: l_repid TYPE sy-repid.
    SELECTION-SCREEN BEGIN OF BLOCK b01 WITH FRAME TITLE text-b01.
    PARAMETERS:     p_kokrs LIKE aufk-kokrs       OBLIGATORY DEFAULT '300',
                    p_class LIKE setnode-setclass OBLIGATORY DEFAULT '0101',
                    p_subcl LIKE setnode-subclass DEFAULT '300',
                    p_setnm LIKE setnode-setname  OBLIGATORY DEFAULT '300MPR2'.
    SELECTION-SCREEN: END OF BLOCK b01.
    PARAMETERS:     p_expor NO-DISPLAY,
                    p_nivel NO-DISPLAY. "@01
    *Initialization
    INITIALIZATION.
      l_repid = sy-repid.
    START-OF-SELECTION.
       PERFORM 1pro_data.
    IF p_expor = 'X'.
        IF p_nivel = 'X'.                                       " @01
          EXPORT it_datam TO MEMORY ID 'T_DATAM'.
        ENDIF.
       ELSE.
        PERFORM 0_layout USING p_layout.
        PERFORM a_haz_alv.
        PERFORM c_haz_eventos CHANGING t_events.
        PERFORM d_call_alv.
      ENDIF.
    END-OF-SELECTION.
    FORM 1pro_data.
    PERFORM obt_jerarquia  USING  p_kokrs      "Sociedad         (intput)
                                   p_class      "Clase de set     (intput)
                                   p_subcl      "Subclase
                                   p_setnm.     "Nombre del set
    * LLenado de datos del master
      LOOP AT pt_node INTO ls_node.
        it_datam-shortname = ls_node-shortname.
        it_datam-hlevel = ls_node-hlevel.
        it_datam-descript = ls_node-descript.
        it_datam-credate = ls_node-credate. "Fecha creada
        it_datam-creuser = ls_node-creuser. "usuario creador
        it_datam-ref_set = ls_node-ref_set. "Email
        APPEND it_datam.
      ENDLOOP.
    sort it_datam by hlevel ascending.
    ENDFORM.
    FORM obt_jerarquia USING  pi_kokrs                      "Sociedad         (intput)
                              pi_class                      "Clase de set     (intput)
                              pi_subcl                      "Subclase         (intput)
                              pi_setnm.                     "Nombre de set    (intput)
      DATA:
        lf_info       LIKE grphinfo,
        lf_over       LIKE sy-datar,
        lf_class      LIKE sethier-setclass,
        lf_setid      LIKE sethier-setid,
        lf_kokrs      LIKE sethier-kokrs,
        lf_mandt      LIKE sy-mandt,
        lf_mast_datax LIKE grphp1,
        lf_structurex LIKE grphp2,
        lf_repl_class LIKE sethier-setclass,
        lf_repl_unitx LIKE sethier-kokrs,
        lf_repl_table LIKE sethier-fieldname,
        lf_repl_field LIKE sethier-tabname,
        lf_repl_suffi LIKE grpdynp-suffix,
        lf_nros_level LIKE sethier-level.
      DATA lf_strlen TYPE i.
    * Data
      lf_class = pi_class.
    *              CONCATENAMOS CLASE + SUBCLASE + NOMBRE DE GRUPO
    *Si hay subclase (Centro de beneficio, clase de costo, centro de costo)
      IF pi_subcl NE space.
    * Cargamos la clase de set con la subclase
        CONCATENATE lf_class pi_subcl INTO lf_setid.
        lf_strlen = STRLEN( pi_subcl ).
      ELSE.
    * Si no hay subclase (orden interna), cargamos solo la clase de set
        lf_setid  = lf_class.
        lf_strlen = 0.
      ENDIF.
    *Obtenemos cuántos espacios en blanco habrá entre la subclase y el nombre del set
      lf_strlen = 4 - lf_strlen.
      IF lf_strlen < 0. lf_strlen = 0. ENDIF.
      lf_strlen = 0.
    *Si es > 0 concatenamos caracter para ser reemplazado por espacio en blanco
      DO lf_strlen TIMES.
        CONCATENATE lf_setid '&' INTO lf_setid.
      ENDDO.
    *Cargamos nombre de set
      IF p_class = '0106' OR p_class = '0101'.
        CONCATENATE lf_setid '&' pi_setnm INTO lf_setid.
      ELSE.
        CONCATENATE lf_setid pi_setnm INTO lf_setid.
      ENDIF.
    *Reemplazamos & por espacios en blanco
      TRANSLATE lf_setid USING '& '.
      lf_kokrs         = pi_kokrs.
      lf_mandt         = '100'.
      lf_mast_datax    = '   '.   "Los espacios evita mensaje verificación de datos maestros
      lf_structurex    = 'X  X0200'.
      lf_repl_class    = ' '.
      lf_repl_unitx    = ' '.
      lf_repl_table    = ' '.
      lf_repl_field    = ' '.
      lf_repl_suffi    = ' '.
      lf_nros_level    = '1'.
      REFRESH: pt_node, pt_valu, pt_mast.
    *Obtiene lista de sub estaciones de la tabla objetos
      CALL FUNCTION 'K_HIERARCHY_TABLES_READ'
        EXPORTING
          e_class                     = lf_class
          e_setid                     = lf_setid
          e_kokrs                     = lf_kokrs
          e_mandt                     = lf_mandt
          e_master_data               = lf_mast_datax
          e_structure                 = lf_structurex
          e_replace_class             = lf_repl_class
          e_replace_unit              = lf_repl_unitx
          e_replace_table             = lf_repl_table
          e_replace_field             = lf_repl_field
          e_suffix                    = lf_repl_suffi
          e_old_line_level            = lf_nros_level
        TABLES
          t_nodes                     = pt_node         "Nodos
          t_values                    = pt_valu         "Valores
          t_master_data               = pt_mast         "Textos
        CHANGING
          c_info                      = lf_info
          c_overwrite                 = lf_over
        EXCEPTIONS
          no_controlling_area         = 1
          no_chart_of_account         = 2
          different_controlling_areas = 3
          different_chart_of_accounts = 4
          set_not_found               = 5
          illegal_field_replacement   = 6
          illegal_table_replacement   = 7
          fm_raise                    = 8
          convert_error               = 9
          no_overwrite_standard_hier  = 10
          no_bukrs_for_kokrs          = 11.
    ENDFORM. 
    FORM 0_layout USING ls_layout TYPE slis_layout_alv.
      CLEAR: ls_layout.
      ls_layout-zebra                 = ''.
      ls_layout-colwidth_optimize     = 'X'.
      ls_layout-box_fieldname         = space.
      ls_layout-no_input              = 'X'.
      ls_layout-no_vline              = ' '.
      ls_layout-no_colhead            = ' '.
      ls_layout-lights_condense       = 'X'.
      ls_layout-confirmation_prompt   = 'X'.
      ls_layout-detail_popup          = 'X'.
      ls_layout-detail_initial_lines  = 'X'.
      ls_layout-detail_titlebar       = 'Centro de Benef. vs Centro Costo'.
    ENDFORM.  
    FORM a_haz_alv.
      REFRESH: t_fieldcat.
      CLEAR:   t_fieldcat.
      PERFORM define_campo USING:
      'SHORTNAME' '' '' '25' 'GRPOBJECTS' '' '' 'ID Corto'       '' '' '' '' '',
      'HLEVEL' ''    '' '04' 'GRPOBJECTS' '' '' 'Nivel'          '' '' '' '' '',
      'DESCRIPT' '' ''  '35' 'GRPOBJECTS' '' '' 'Descripción'    '' '' '' '' '',
      'CREDATE' '' ''   '12' 'GRPOBJECTS' '' '' 'Fec.Creada'     '' '' '' '' '',
      'CREUSER' '' ''   '08' 'GRPOBJECTS' '' '' 'Usu.Creador'    '' '' '' '' 'X',
      'REF_SET' '' ''   '34' 'GRPOBJECTS' '' '' 'Correo E-mail asig.' 'Cor.Email' 'E-mail' '' '' 'X'.
    ENDFORM.
    FORM define_campo  USING fieldname        "Nombre de campo
                             emphasize        "Color
                             hotspot          "Evento click
                             outputlen        "Longitud
                             ref_tabname      "Tabla referencia
                             cfieldname       "Campo referencia
                             datatype         "Tipo de dato
                             seltext_l        "Texto largo
                             seltext_m        "Texto mediano
                             seltext_s        "Texto corto
                             do_sum           "Campo para suma
                             no_out           "No se visualiza
                             pi_edit  TYPE c. "Editar campos
      DATA: ls_fieldcat TYPE slis_fieldcat_alv.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname   = fieldname.
      ls_fieldcat-tabname     = 'T_AUFK2'.
      ls_fieldcat-ref_tabname = ref_tabname.
      ls_fieldcat-outputlen   = outputlen.
      ls_fieldcat-emphasize   = emphasize.
      ls_fieldcat-hotspot     = hotspot.
      ls_fieldcat-cfieldname  = cfieldname.
      ls_fieldcat-datatype    = datatype.
      ls_fieldcat-seltext_l   = seltext_l.
      ls_fieldcat-seltext_m   = seltext_m.
      ls_fieldcat-seltext_s   = seltext_s.
      ls_fieldcat-do_sum      = do_sum.
      ls_fieldcat-no_out      = no_out.
      ls_fieldcat-edit        = pi_edit.
      APPEND ls_fieldcat TO t_fieldcat.
    ENDFORM.                    "define_campo
    FORM c_haz_eventos CHANGING lt_events TYPE slis_t_event.
      CONSTANTS:
        c_top_of_page  TYPE slis_formname VALUE 'TOP_OF_PAGE',
        c_end_of_page  TYPE slis_formname VALUE 'END_OF_PAGE',
        c_user_command TYPE slis_formname VALUE 'USER_COMMAND'.
      DATA: ls_event TYPE slis_alv_event.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type = 0
        IMPORTING
          et_events   = lt_events.
    * tope de pagina
      READ TABLE lt_events WITH KEY name =  slis_ev_top_of_page INTO ls_event.
      IF sy-subrc = 0.
        MOVE c_top_of_page TO ls_event-form.
        APPEND ls_event TO lt_events.
      ENDIF.
    * fin de pagina
      READ TABLE lt_events WITH KEY name =  slis_ev_top_of_page INTO ls_event.
      IF sy-subrc = 0.
        MOVE c_top_of_page TO ls_event-form.
        APPEND ls_event TO lt_events.
      ENDIF.
    * eventos de usuario
      READ TABLE lt_events WITH KEY name = slis_ev_user_command INTO ls_event.
      IF sy-subrc = 0.
        MOVE c_user_command TO ls_event-form.
        APPEND ls_event TO lt_events.
      ENDIF.
    ENDFORM.
    FORM d_call_alv.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program       = l_repid
          i_callback_pf_status_set = 'SET_STATUS'
          i_callback_user_command  = 'USER_COMMAND'
          is_layout                = p_layout
          it_fieldcat              = t_fieldcat[]
          i_save                   = 'X'
          it_sort                  = t_sortcat
    *   is_variant               = g_variant_1
        TABLES
          t_outtab                 = it_datam
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
    ENDFORM. 
    FORM set_status USING rt_extab  TYPE  slis_t_extab.
      SET PF-STATUS  'ALV_STATUS'.
    ENDFORM.
    FORM user_command USING r_ucomm     LIKE sy-ucomm
                            r_selfield TYPE slis_selfield.
      PERFORM sr_upd_alv.
    DATA: wa_alv  LIKE it_datam.
    r_selfield-refresh = 'X'.
      CASE r_ucomm.
        WHEN 'SAVE'.
          LOOP AT it_datam INTO gwa_datam.
      "Here you should go, because I have not created anything but just reads the data helps.
          ENDLOOP.
    ENDFORM.

  • Fund management Table Name

    Hi SAP Team,
    My clint asked me to downlode data from Production System,
    He want Combination data like Cost Center + Profit Center + Fund Center data,
    i am taking data from Table CSKS, with Cost Center + Profit Center...
    Please suggest me how can i downlode whith this combination
    Regards,
    Swathi
    Edited by: Swathi on Apr 21, 2008 7:55 AM

    Hi Swathi,
    I hope the following tables help you...
    CEPC--Profit Center Master
    COSK--Cost Center Master
    FMFCTR--Fund Center Master
    GLPCT--Profit Center Summary
    GLPCA--Profit Center Actual
    GLPCP--Profit Center Plan
    COEP--Cost Center Actual
    COEJ--Cost Center Plan
    COSP--Cost Center Primary Plan
    COSS--Cost Center Secondary Plan
    FMIT--Totals Table for Funds Management
    FMFUSE--FM: Application of Funds
    Regards
    Srinivas

  • (Cost center groups) table

    Hi all,
    In which database table can we find cost center groups .
    regards,
    Ramya

    Hi,
    You can find it in table SETNODE.
    Regards,
    pankaj singh.
    reward if it solved your question

  • Account Group Table ?

    Hi,
    What is the table name for Account Groups?
    The reference Tcodes is KDH1 / KDH2 / KDH3.
    Here we make our account groups and assing GLs to that group.
    Thanks & Regards,
    Dhanunjaya Reddy.

    Hi,
    Try using the flow as below:
    SETHEADER -> SETLEAF
    In SETLEAF you get the set names and their intervals.
    Next get the valid G/L accounts from table SKA1 for all ranges of SETLEAF.
    SELECT saknr FROM SKA1
         INTO TABLE <itab>
         WHERE KTOPL = <chart of accounts>
         AND SAKNR BT ( valfrom, valto ).  " VALFROM and VALTO are values from SETLEAF
    Hope this helps you understand the relation.
    Alternatively you can explore FM: K_RACCT_VALUES_GET
    Regards
    Eswar
    Note: Dont forget to appreciate the SDN way

Maybe you are looking for

  • FCE to iMov to iDVD = generation loss

    The only way I have found to burn projects on the internal iMac DVD drive is to a) export using QT b) import into iMovie c) burn from iDVD It's so frustrating bec the newly burned DVD looks like it was all shot on an ancient VHS camera and is fuzzier

  • Qm end user manual

    Anybody having QM End user manual? Kindly provide ASHEESH

  • Is it possible to create a new "category" in iTunes?

    I'm not even sure if we can create our own categories....I'd like to be able to have two different year columns - one for when the work was first created (ex: Mozart's Symphony No. 25 in G minor was written in 1773) and a second column for when a par

  • I get an error when I try downloading files - 8520 Curve

     I get an error when I try downloading files with my 8520 curve...and they say must contact my webmaster

  • My 3GS iphone always go into 'network lost'!

    my 3GS iphone is constantly going into network lost and 'no service'. Each time that happens, I have to go through a lengthy process of re-starting the phone which is painful! Additionally, the call drops while i am on conversation. My colleagues alw