Extract expense for a designated cost center group

Hi,
There is a problem that we want get expense for a designated cost center group instead of cost center and store in the cube. We can get the cost center group but it is a node in a hierachy. I don't know how to map cost center to it's group.
Thanks in advance.

>
rahul dsnr wrote:
> Hi,
>  Thanks for ur reply, but those FM's are not providing Cost center group for a cost center.
>
>  Can u provide me a  better solution to find cost center group for a cost center.
>
> Regards,
> Rahul
Do you mean that you want to read the cost centre group hierarchy for a cost centre?  So that instead of entering a cost centre group and reading down the hierarachy until you get to the cost centre codes at the bottom, you want to enter a cost centre and then read up the hierarchy until you get to the cost centre group at the top of the hierarchy.  If so, I don't think there is a function module to do what you want.  The cost centre group hierarchy data is held in table SETNOTE, so you could have a look at that.

Similar Messages

  • Table containing Line items for a Cost center group ?

    Please help me in locating the table which will contain 'Line items' for a given 'Cost center group'.
    Hope my question is clear.
    Thanks.

    check the tables
    SETHEADER  and  SETLEAF 
    SETLEAF will contain all the line items where set class is equal to 0101 for cost center group

  • TAble for cost center group in 3.0 F transaction.

    hi, 
    i need to develop a report to extract cost center data from r/3 in 3.0 F version.
    can u guys help me that which table has got entries for cost center group.
    waiting for  your replies,
    Regards,
    Rachana

    hi  ,
    I have checked in csks, cska, cskb, and cssk as well, but i didnt find a field which holds the cost center group information ..please help me as this is a bit urgent ..
    Thanks in advance , 
    Regards,
    RaAchana

  • Get Name for CO Cost Center Group and BGD Processing

    Hi,
    I use these function modules to get the cost center group nodes in the CO hierarchy.
    If I pass it a value that is in two controlling areas
    if prompts another screen to pick which controlling area we want to look in.  My problem is when I try to run this report in the background it gets hung up on this screen waiting for input. any ideas on how to get around this.
    here is the reference code.
    thanks
    Please note that the following logic is parts of SAP example report
    RGSEX001.
    Get the internal Set-ID from the external name of the set
    Selection of sets can be restricted to a specific set class or
    to sets matching a specific table field.
    See documentation of function module G_SET_GET_ID_FROM_NAME
    If the set class, subclass and setname is known, function module
    G_SET_ENCRYPT_SETID should be used alternatively (see RGSEX020)
        CALL FUNCTION 'G_SET_GET_ID_FROM_NAME'
             EXPORTING
                  shortname = w_set
                  old_setid = w_setid
             IMPORTING
                  new_setid = w_setid.
    Read the complete hierarchy (set and all subsets)
        CALL FUNCTION 'G_SET_TREE_IMPORT'
             EXPORTING
                  setid              = w_setid  "Set-ID, not the Setname!!!
                  no_table_buffering = ' '
             TABLES
                  set_hierarchy      = it_hierarchy
                  set_values         = it_values.

    Hi!
    For reading cost center hierarchy you can try K_HIERARCHY_TABLES_READ.
    It returns near the same info as one you've mentioned, works well for single controlling area and I hope in case of ambiguity it will raise one of exceptions provided. Give it try.
    Regards,
    Maxim.

  • Why authorization for cost center groups does not worked ?

    hello all,
    I would like to give authorization for a CO report (S_ALR_87013625) based on authorization values : cost center groups.
    But, unfortunately, it doesn't work. I get a message : No authorization for x of x read records.
    Is it only possible to give authorization on standard hierarchy and cost center ?
    Please, help me
    Thanks and best regards

    hi,
    Run the su53 transaction.See what authorization was missing

  • Functional areas vs. cost center groups for cost of goods sales

    What are the benefits of using functional areas over cost center groups when building your p&l for cost absorbtion or visa versa?  Which of the two is recommended?

    Hi,
    1: a P&L statement does not only contain cost-center related postings, you can have different CO-objects (Internal order, WBS-Element,...)but all of them contain the functional area in its master record.
    The P&L reporting structure (created via report painter) can use account groups but restricted to one functional area for porper P&L structure creation.
    Best regards, Christian

  • Function module for custom report for cost center group

    Hello all,
    I wonder, if there is any SAP function module for following query:
    We have got a custom program, which evaluates cost centers. We would like to evaluate a cost center group, like it is available within the report painter - the output screen is splitted into two parts, on the left part there is the cost centre group hierarchy and on the right side, there are the values for the node, which is selected within the hierarchy.
    Is there any standard function module od do we have to program it ourself?
    Thanks in advance

    Hi Peter,
    You have a BAPI which gives you the details of cost centre group, if this is what you are looking for:
    BAPI_COSTCENTERGROUP_GETLIST
    Regards,
    Eli

  • Need a drop down list for cost center group

    Hello,
    I need to add the cost center group selection option to my program. I have added it to the selection options of my program and I would like to have a drop down list on this field. I have looked at the t-code KS13 and I am thinking that this is  what I need. I am not sure if this is a search help or something else. if this is a search help, is it possible to use the same search help in my program? can some please let me know how I would do this in my program?   possibly a code example?
    thanks in advance for the help.

    PARAMETER:     p_sostat(15) TYPE c AS LISTBOX VISIBLE LENGTH 16,
      name = 'p_sostat'.
      CLEAR sostatlist[].
      value-text = text-101. "'Open'(101).
      value-key = '1'.
      APPEND value TO sostatlist.
      value-text = text-102. "'On Hold'(102).
      value-key = '2'.
      APPEND value TO sostatlist.
      value-text = text-103. "'Drop/Pull'(103).
      value-key = '3'.
      APPEND value TO sostatlist.
      value-text = text-104. "'Pending'(104).
      value-key = '4'.
      APPEND value TO sostatlist.
      value-text = text-105. "'Floor'(105).
      value-key = '5'.
      APPEND value TO sostatlist.
      value-text = text-106. "'Kitted'(106).
      value-key = '6'.
      APPEND value TO sostatlist.
      value-text = text-107. "'Packed'(107).
      value-key = '7'.
      APPEND value TO sostatlist.
      value-text = text-108. "'PGI'(108).
      value-key = '8'.
      APPEND value TO sostatlist.
      value-text = text-109. "'EDI Error'(109).
      value-key = '9'.
      APPEND value TO sostatlist.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id     = name
          values = sostatlist.

  • MDG-F - Replication model for Cost Center Group

    Hello
    We are trying to create IDOC replication model for Cost center group IDOC_COSTG for data model 0G (MDG 7.0).
    When trying to assign "Outbound Parameter" = SEND_DELTA_INFO against outbound implementation 1112, we are getting error message saying : "Entry 1112 SEND_DELTA_INFO does not exist in DRFC_PARO (check table)".
    While checking table DRFC_PARO via SE16, it shows all the entries for 1012 (GL mast), 1102 (cost center) but it is missing entry for 1112 (cost center group).
    What are we missing? How to generate entry in this check table DRFC_PARO? which step is creating this entry?
    Thanks
    Luo

    Hello Luo
    You have to maintain this entry in following table -
    Go to SM30. Give table name - DRFV_PARO and click on maintain. You will get a pop-up for outbound implementation. Give 1112 and proceed. Add the send_delta_info in the table, save it and then add it in DRF. Do add package_data so that you can send multiple cost centers in your target system.
    Kiran

  • Table name for Cost Center Group/Profit Center Group/Cost Element Group

    Hi,
    Kindly let me know the table names for cost center group, cost element group and profit center groups.
    Thanks.
    Suresh

    Hi,
    The tables for storing groups in SAP are SETNODE and SETLEAF. The codes in the previous message posted by my fellow SAP consultant are transactions and not tables.
    The classes are:
    Cost centres - 0101
    Cost elements - 0102
    Profit centres - 0106
    Regards,
    Eli

  • Function module for Profit Center group and Cost Center group changes

    All,
    The requirement is to change the profit center group and cost center group from one node to another. Please remember it is trying to simulate the transactions KCH5 and OKEO programatically.
    I would like to know if somebody had this requirement previously and had made use of some function module or some other technique which will help in changing the standard hierarchy nodes.
    Help is much appreciated.
    Regards,
    Hari

    All,
    The requirement is to change the profit center group and cost center group from one node to another. Please remember it is trying to simulate the transactions KCH5 and OKEO programatically.
    I would like to know if somebody had this requirement previously and had made use of some function module or some other technique which will help in changing the standard hierarchy nodes.
    Help is much appreciated.
    Regards,
    Hari

  • Displaying only cost center groups

    Hi BW Gurus!
    There's a standard cost center group and cost center hierarchy in the source system that I was able to extract. My cost center infoobject (0COSTCENTER) had that hierarchy data. My question is, in the instance that I want to display only the cost center groups with its corresponding summation results, how will I able to go about it without having to display the whole hierarchy? Is that possible?
    Thanks in advance,
    Maan

    Hi Arun!
    Yes, the hierarchy would be cost center - cost center group.
    Thanks for the suggestions..
    1) The first option seems ideal with a structured hierarchy. The hierarchy I'm dealing with seems very complicated. The cost center group that I need to report on does not necessarily reside on level one of the hierarchy.
    2) It's quite embarrassing to ask but, I've really looked at the standard infoobjects and I haven't seen any that handles cost center group. Any ideas? Or, did you mean that I should create my own?
    Thank you so much again!
    Maan

  • Cost Center Group and Profit center Group

    Hi All,
    The Client is requested to have Cost Center Group in the CO reports. I have trying to analyse how to get Cost center group in the report or Info Provider.
    When i went to T-code KS03 in ECC ( Display Cost Center), i get the Hierarchy Area field called KHINR, which shows the Cost center grp. Upon discussing with Functional person, he has told that this Field lies in Table CSKS (Cost Center Master).
    Now i am thinking to enhance the Cost Center Attribute Dsrc. with this Field KHINR.
    I just want some suggestions or advice on how to bring Cost center grp and Profit center grp
    Thanks and Regards
    Edited by: Raihaan Khan on Dec 12, 2008 3:35 PM

    Hello Simon, Thanks again for all your FICO resolutions.
    Yes i truly agree that Cost Center Grp is CostCenter Hierarchy,, but i dont understand, y the Client has told that he needs the field KHINR in the Cost Center Report too.
    Actually he wants Cost Center Group wise report and NOT Cost center wise report.
    I have thght of extracting the Complete Std Hierarchy to 0COSTCENTER and then in the report , i can give a Cost Center Hierarchy Variable(probably a selection screen), such that the User can select the Nodes he want and then drill down the CostCenter Groups to see his respective Cost center accounting.
    Please opinionate on this
    Thanks

  • How batch append cost center group to standard hierarchy by batch

    Hi Guys,
    Would you please tell how me how append cost center groups to standard hierarchy by batch, every time I have to do it one by one, is there  a convenient way? thanks.
    Best Regards
    FS

    Hi,
    You can create any number of cost center groups as per your requirement.
    But one thing is crucial. If you crin your eate the groups using the T Code:OKEON. those will effect  to the standard hierarchy.
    Cost centers created wil KSH1 will not effect to standard Hierarchy.
    Main point here is the main hierarchy should be maintained in OKEON. Later you can add any number of groups to that. LSMW will work, before that Hirarchy Area(Cost center group) should be maintained in the system for effective work of LSMW.
    Regards,
    Pavan Kumar Arvapally

  • Track changes for Standard Heirarchy Cost Center details( Tcode: OKEON)

    Hi all,
    I have a requirement to track the changes for <b>Standard Heirarchy Cost Center</b> data and whenever it change i need to initimate with email to certain group of people in organization.
    Transaction code : OKEON .
    Whenever standard heirarchy get changes then i need to send email to certain group people .
    My findings and questions are as follows :
    1. I understand that the changes can be track by using CDHDR table .
    2. What is Object Class for Standard Heirarchy Cost Center  ?
    3. Is there any standard report available for that please let me know .
    4. How to track the changes when Cost center Group got changes ?
    5. Is there any exits or BADI for this requirement ?
    Please respond this question as soon as possible . For every useful answer points will be awarded.
    Appreciate your help.
    Thanks.
    Mark

    You can try using the option GoTo - Change Documents, which is available, when you display cost center hierarchy.
    Regards
    Rakesh Pawaskar

Maybe you are looking for