Delete Cost element group

Hi Gurus,
I would like delete a cost element group by KAH2. When I try to delete it, the program tells me that is being used in a report.
I use the feature "Extras -> Where-Used list for group" to find the report in which I am using the cost element group.
I go to modify the report painter by GRR2 to see in what line is using this cost element group, but I can`t find any line of the report, or in General options of this report, where is using this cost element group.
It seems that the report is not using this cost element group, however I can not erase, because it always brings me to this report.
Someone can help me?
Thank you very much.

Hi
You  can remove the cost elements from Cost Element Group just select the cost element Group(Tcode:KAH2) then select the cost element that time the cost element becomes in red colour then right click on it & click on remove (F5).
Then you can reassign the cost element if required
Please check & confirm the same
Hope this will solve your problem
Regards
Praveen PC

Similar Messages

  • How can I delete a cost element group

    Hy,
    I have a new system and the cost elements groups came with the questionary. Now I want to delete them, but I have an error like : "You want to delete object (Group element cost BON_1000). This is not possible because the object is being used in another object (group, report ... )." It is possible somehow to delete cost element group?
    I don't have any other dates in the system. Thank you!

    Hi Biro Dorel 
    The cost element group can be used by either back end configuration like cost component structure or front end transactions like allocation cycles.
    Please make sure none of any front end or back end functions are using the cost element group.
    If you do sure your system is new and no transactions use it. Please check whether the group is used by another cost element group. Or if you do not know where it is used, try to use the "where used list" to find the object using the group by click the buttom on the tool bar in the cost element group maintenance window (T_KAH3).

  • Transport of  Cost element groups

    Hello SAP Gurus,
    We have a requirement wherein the client wants to know what is the correct way to move a cost element group (see KDH1, KDH2 and KDH3) to different clients and systems?
    That is, how to make sure that the transport donu2019t overwrite the existing groups in production?
    Thanks & regards,
    Murali.S

    Dear Murali,
    Creation CE Group/ Change CE Group/Display  CE Group : KAH1,KAH2& KAH3.
    Follow below Steps for removing / Deleting Cost Element Groups.
    1 - Remove Cost element assignments
    2 - Execute T.cde:KSH3
    Regards,
    Viswa

  • Cost Element Group Delete

    Dear Buddy
    Please can any one tell me the procedure to delete the Cost Element Group
    Thanks In advance
    rgds
    BV

    Hi,
    As suggested, go to KAH2, select the group (with a select button), then 'Delete' icon appears and you can delete it. Before this you can check if this group is used by clicking 'where used' button.
    Regards,
    Eli

  • How to delete cost element name from group after deleting the cost element

    Hi,
    Please let me know how to delete the cost element number  from the Cost element group hierarchy.I have deleted cost element but still showing only the CE number---no valid master record.If I d not want this to be visible within hierarchy let me know what should I do.
    Thanks

    Hi
    Go to change cost element group select the cost element click on select tab (3rd Tab from Left) it will take u to new screen in that screen select remove tab (1st tab from left)
    Regards
    Sandesh

  • Maintain Cost Element Groups

    Hi,
    I create a new Cost Element Group (Named e.g. Group1New) using and another Cost Elemt Group (Named e.g. Group1) as Template. If I delete a cost category in Group "Group1" the cost category is also deleted in the new Group "Group1New". Why???? Does using a Template create a Referenz inside the new Group to the Template? I know about the copy function for Groups using an suffix, but that's not what I want.
    Any ideas?
    Peter

    Hi Peter, Welcome to SCN
    I dont think so that should happen... It can happen only when Group1 is part of Group1New...
    Its strange if thats not the case and yet it happens
    br, Ajay M

  • IDOC to JDBC scenario in case of Cost Element Group IDOC.

    This is an IDOC to JDBC scenario.
    The Cost Element Group IDOC is having different segments. The main segment E1COGH (1...unbound) is consisting of different subsegment like E1OGS (0...unbound) & E1COGV (0...unbound). The main segment (E1COGH) along with subsegments E1OGS & E1COGV) is occuring more that 1 times. I have to insert data into the table, which we can do in single rows (no hierarchy  is possible in tables). I have used "use one as many" in message mapping. Now if E1OGS or E1COGV is repeating in a single E1COGH segment then we dont get any error. But if I duplicate the main segment then I am getting runtime exception.
    Please suggest about how to map in this case.

    In my scenario:
         E1COGH
         |
          -> E1COGS
             E1COGV
    where     E1CGH -> Main segment
         E1COGS & E1COGV -> sub segment
    E1COGH -> 1..unbound
    E1COGS -> 1..unbound
    E1COGV -> 1..unbound
    At the target side I have created two Statement Structure (ie.Statement & Statement_1) . One for E1COGS (ie. Statement) & the other for E1COGV (ie. Statement_1).
    Case 1 ->  If E1COGS is present in the main segment E1COGH then it is mapped AS IS.
    Case 2 -> If E1COGS is not present in the main segment E1COGH then it is mapped as blank.
    This will be mapped with Statement & in the absence of E1COGS this Statement structure is SUPPRESSED.
    Similarly,
    Case 1 -> If E1COGV is present in the main segment E1COGH then it is mapped AS IS.
    Case 2 -> If E1COGV is not present in the main segment E1COGH then it is mapped as blank.
    This will be mapped with Statement_1 & in the absence of E1COGV this Statement_1 structure is SUPPRESSED.
    All the elements of the segment E1COGH, E1COGHT & E1COGHR are replicated in all the rows for X (no. of occurance of E1COGS) + Y (no. of occurance of E1COGV).
    While testing in Message Mapping, I am able to get the output as for multiple occurence of E1COGS & E1COGV in a single E1COGH.
    But if I increse the occurence of E1COGH the it is giving the following error :
    Runtime exception during processing target field mapping /ns0:MT_Cost_Element_Group_Response/Statement/DBtablename/access/GROUPNAME. The message is: Exception:[com.sap.aii.mappingtool.tf3.IllegalInstanceException: Too few values in first queue in function useOneAsMany. It must have the same number of contexts as second queue.] in class com.sap.aii.mappingtool.flib3.NodeFunctions method useOneAsMany[com.sap.aii.mappingtool.flib3.CollapseContexts@51197231, , ]
    Please suggest how to map the occurence of E1COGH simultaneously with the occurence of E1COGS & E1COGV.

  • How do I migrate Cost Element Groups in a batch ?

    I want to migrate Cost Element Groups from 4.7 to ECC6. We've been exporting/importing them individually, but is there a faster way to grab multiple groups and move them to the new environment ?
    One thing of note is that the Chart of Accounts is changing between 4.7 and ECC6 and named differently.
    Edited by: Joe Malloy on Feb 19, 2008 9:35 PM

    Hi ,
    You can go on createing the
    Controlling -Cost Element AccountingCost Elements--
    Automatic Creation of Primary and Secondary Cost Elements--Make Default Settings
    Create Batch Input Session
    Execute Batch Input Session
    BY do this activite u can do the mass process of creating the cost elements.
    Hope this is clear know assign points
    With Regards
    Krishna Singareddy

  • To delete Cost Element that already has posting.

    Hi,
    I need to delete Cost element that already has posting. I used KO04 error msg. KS133 Deletion is not possible (depend records exist in table COEP). Cummulative balance already zerorise.
    Thank you.
    Moderator: Please, search SDN

    Hi, it's better not to use in productive.
    See here IMG-Controlling-General Controlling-Production Start-Up Preparation-Delete Test Data-Delete Transaction Data  and then Delete Cost Elements

  • Regarding Cost Element Group

    Hi all,
    I have following scenario.
    I have account number and i want to find out it's cost element group.
    In t-code KAH3 when i enter cost element group i get all the account number in that group.
    But the problem is that i have account number and i want to find out in which cost element group this
    account number belongs.
    Is there is any fuction module from which i can get cost element group from account number or from which table i can fetch cost element group depending upon the account number.
    Thanks in advance.
      sachin

    Hi Sachin ,
    I dont think there is any way to see cost center group from cost center because we never assign any cost center to a particular group in the masters.
    If you want to see the cost center groups and cost center hierarchy the go to tcode-OKEON
    Regards
    Deepa

  • How to find cost element group linked to account number

    Hi all,
    I have following scenario.
    I have account number and i want to find out it's cost element group.
    In t-code KAH3 when i enter cost element group i get all the account number in that group.
    But the problem is that i have account number and i want to find out in which cost element group this
    account number belongs.
    Is there is any fuction module from which i can get cost element group from account number or from which table i can fetch cost element group depending upon the account number.
    Thanks in advance.
    sachin

    hi,
    check this function module.
    BAPI_COSTCENTERGROUP_GETDETAIL
    table - SETLEAF.

  • Sender Cost Element Group role in Assessment Cost Element Cycle

    Hello,
    We have an assessment cycle as below:-
    Assessment Cost Element - 6000000
    Sender Rule - Fixed Amount
    Receiver Rule - Variable Portions
    Sender Cost Center - 1000
    Sender Cost Element Group - ABCD
    Receiver Order Group - XYZS
    Sender Values - 2,00,000 USD - Cost Center 1000
    Cost Element Group in Receiver Tracing Factor tab - EFGH,
    When I see the line item report of sender cost center 1000, I am able to see the total value as 2.00,000 USD credited, but I am not sure about the role of Sender cost element group ABCD in this situation.
    Also what is the role of receiver cost element group EFGH?
    Please advise.
    Thanks
    Tapan

    Hi Tapan,
    When you have selected in sender rule fixed amount then the system will transfer that amount to the receiver cost center specified irrespective of the total amount of cost element group existing in the sender cost center. There is no significance of cost element group mentioned in the sender rule then.
    The role of the receiver cost element group in the tracing factor is used to apportion the amount of the sender according to the expenses existing on the orders in your case.
    Regards,
    Divraj

  • How to created an cost element group structure from P&L FSV

    Hi All,
    My client has changed his financial statement version and I have to change the cost element group structure according to the new profit and lost structure of this new FSV.
    Do you know any transaction to do this automatically?. For example the creation of the sets' structure can be done by FSE5, is there any similar for cost element group structure?.
    Many thanks in advance!

    Hi NIketa
    Whats the detailed error message? Can you paste that here?
    Also, check the following, which may resolve your issue
    1. If you are settling to the Top most WBS, i.e. to the project itself, do not do that... Settle it to a lower level WBS, atleast one level lower than the project...
    2. Check if the status of that WBS is REL (released) and
    3. The flag for "acct asst elem." is checked in the WBS element
    Regards
    Ajay M

  • Cost element groups and conrtolling area.

    Dear Experts,
    Is there any possible way I can find out which all cost element groups are coming under a controlling area?
    In KAH3 when i press F4 i dont have the selection parameter as controlling area.
    If not stadard transaction any table?
    regards
    Paul

    Hello,
    When you are working under a controlling area, your controlling area will be set. Otherwise, set your controlling area in OKKS. You cannot work parallely under two controlling areas without setting controlling area.
    Obviously, you will see the cost element groups created under that controlling area. When you press F4 on cost element groups, you must be getting controlling area and must have been greyed out.
    Regards,
    Ravi

  • CO - Cost element group

    Hi,
    We use the tcode KAH1 to create Cost element groups. Here we can organize the cost elements (G\L) as a hierarchy.
    My task is to get the transport table(s) that contains this hierarchy.
    Can somebody help me with that?
    Best regards,
    Mohamad.

    Hi,
    You can all teh tables given below acc to ur req:
    COKA CO Object- Control Data for Cost Elements
    COSP CO Object- Cost Totals for External Postings
    COSS CO Object- Cost Totals for Internal Postings
    CRCO Assignment of Work Center to Cost Center
    CSKA Cost Elements (Data Dependent on Chart of Accounts)
    CSKB** Cost Elements (Data Dependent on Controlling Area)
    CSLA Activity master.
    To fetch the cost element from a given cost element group.You can use code given below:
    Cost Element group can be viewed from field SETCLASS of table SETLEAF.
    To Fetch the relevant cost element from a cost element
    group, we can use FM: 'K_HIERARCHY_TABLE_READ'.
    Sample code for this purpose:
    Call Function module to fetch values corresponding to a
    Cost Element group
    CALL FUNCTION 'K_HIERARCHY_TABLES_READ'
    EXPORTING
    e_class = p_c_class
    e_setid = p_v_setid
    e_kokrs = p_kokrs
    TABLES
    t_nodes = p_it_cenodes
    t_values = p_it_cevalues
    CHANGING
    c_info = v_info
    c_overwrite = v_overwrite
    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
    OTHERS = 12.
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    In this FM:
    Export Parameters: p_c_class = (SETLEAF-SETCLASS) i.e '0102' for cost element group.
    p_v_setid= The first four characters is the setclass ('0102'), the next four characters is the controlling area,the remaining characters is the cost element group.
    p_kokrs = Controlling area.
    Tables: p_it_cenodes = TYPE STANDARD TABLE OF ty_seth_node_line.
    p_it_cevalues = TYPE STANDARD TABLE OF ty_seth_val_line.
    Get the cost element in table p_it_cevalues
    Please reward points if you find it helpful.

Maybe you are looking for