BAPI/IDOC to create cost object hierarchy or category

Hi,
Can any one give me the BAPI or Basic type to create cost object hierarchy(tcoce KKPHIE)
Kind regards,
Sujith

Hi,
Following are the BAPIS
1079
BAPI_COSTOBJECT_GETDETAIL
BAPI_COSTOBJECT_GETLIST
BAPI_COSTOBJNODE_GETDETAIL
BAPI_COSTOBJNODE_GETHIERAR
BAPI_COSTOBJNODE_GETLIST
Hope this Helps
Thanks
Ravi

Similar Messages

  • Trx KKPHIE: assigning single objects to cost objects hierarchy through BDC

    Is there a way to assign single object to cost object hierarchy.
    The ALV TREE button "Assignmnet single objs on/off" does not seem to trigger an OKCODE since it is managed in the abap object (class).
    Is there is way to make a BDC. Or other ways to enter that data in BG, like a BAPI.
    - Tried the BDC recorder without success
    - Did not find a BAPI
    - Did not find anything interesting in SWO1 business object BUS2076.
    Any clue ?

    Ok, we found the solution. Simply use the old transaction "KKP2" instead of "KKPHIE"

  • Mass Material Assignment to Cost Object Hierarchy

    Hi,
    I have to assign the materials to Cost Object Hierarchy. I know that it is done thorugh TC- KKPHIE.
    But if I have to assign more than 1000 materials at a time , I cannot do that in mass.
    I tried to do it thorugh LSMW. The system is not allowing it to create LSMW.
    I am stuck. Please let me know is there any other method of material assignment in mass.
    Or any other transaction code.
    Hoping to hear

    Hi Ravi,
    I have tried using LSMW and BDC. Its not working.
    Is there any other transcation of material Assignment to Cost Object Hierarchy.
    regards
    Kami

  • Assignment of Materials to Cost Object Nodes in Cost Object Hierarchy

    We have defined a Cost Object Hierarchy. In the Cost Object Hierarchy , there are multiple cost object nodes. These cost object node represents each Prodcution line.
    There is a requirement that any material can be produced in any production line.
    The issue I am facing is if I am assiging one material to one Production line, and again if I am trying to assign the same material to other production line, the system is not allowing me to assign it.
    How Can I resolve this issue.
    kindly help.
    regards

    Hi
    Ideally, each prod line should be represented by a Production Version in PP... You can assign a combination of Material + Prod Version to each Cost Obj Node... You cant assign just a Material No to more than 1 node
    The Prod Version Field might appear in Grey Mode.. But, it will allow you to select the Prod Version in that Field....
    You can also use BADI workorder_update to check while creating production order that the Prod Version being used in the Prod Order must be assigned to Cost Obj Node... Cost Obj Nodes are stored in the table CKPE
    br, Ajay M

  • Error in Distribution of Actual cost in Cost Object Hierarchy

    Hi,
    I am getting an error while doing the Distribution of Actual cost from Cost Object Node to the assigned Order.
    Cost element/origin 630000 could not be distributed
    Message no. KZ468
    Diagnosis
    The cost element/ origin 630000 could not be distributed because there are no target costs for this cost element/origin or for cost element group CO-PC-TOT.
    Procedure
    Check the calculated target costs and cost element group CO-PC-TOT assigned to the target cost version.
    Procedure for System Administration
    Proceed
    Although the Cost element is Present in cost element group CO-PC-TOT.
    One more information, the order  that is assigned in Cost Object Hierarchy is of CO-Product orders.
    I have searched in the forum but I havent got any solution.
    Kindly help.
    regards
    Kami

    Hi,
    Concerning error message KZ 468, it has the following origin: In the  customizing of the cost object category (transaction okz5), check if the 'single object selection' is set to 'Control through variance key'. If you consider the F1-Help for this option you will find the following  explanation:
    if the indicator Control through variance key is turned on, the production order, process order, or product cost collector can only be assigned to the cost object hierarchy if:
    -> The material is assigned to the lowest node of the hierarchy
    -> No variance key is specified in the order
    The important point is, that orders that have a variance key are excluded from the cost distribution.
    In transaction KKF8 you will find that all these orders do indeed have  a variance key. Hence, all of these orders are included, there are no target costs from the orders and the costs cannot be distributed. Thus the error message kz 468.
    Please consider that and check the customizing again.
    Not having target costs in the distribution indicates either a wrong set up of the hierarchy or, more likely, no valid cost estimate for a certain material of a production order or product cost collector could be found.
    Did you check whether for this cost element/origin target costs exist, and also for the cost element group? If not the message KZ468 is correct and probably the cost element group has to be maintained properly.
    The distribution of actual costs calculates target costs on-the-fly and the variance calculation does not have to be carried out before. Quite the opposite than the variance calculation requires the distribution as a preceding step. Furthermore it is not sufficient that one cost element is in a cost element group but the interval where the cost element has been assigned to has to have some target costs. Otherwise this won't work and message KZ468 is issued.
    regards
    Waman

  • Data collection for cost object hierarchy - no data at order level!

    Hi everyone,
    When using transaction KKP6 to see my hierarchy for cost object, the system displays all the values that are allocated on my hierarchy nodes, but I do not have the values that should come from the production orders (repetitive manufacturing with production version).
    I use transaction KKRZ to collect data for cost object hierarchy, but it seems that the system does not retrieve any information from the orders.
    Would someone know about this point customizing steps to follow to retrieve my orders values?
    Thanks in advance for your answer. Rewards guaranteed!
    Ronan

    Hi Amadeus,
    To do so, I have used transaction OKZ5 in the customizing and ticked "always cost object hierarchy" and "distribution".
    By doing so, you enable the system to distribute costs within a cost hierarchy. Otherwise the system will only determine costs on the hierarchy.
    Try this, it may work for you as well. During your period-end closing, you sould now use "cost object hierarchy" instead of product cost collector.
    Regards,
    Ronan

  • The performance of Distribution of Cost Object Hierarchy Costs.

    Dear SAP Gurus.
    I am checking the function and the performance about Cost Object Hierarchies distribution with Control Through Variance Key.
    The number of production orders assigned to COH is about 100,000 per month.
    All orders will be closed at current month and new 100,000 production order will be assigned to COH at next month.
    My concern is about performance of Distribution of Cost Object Hierarchy Costs
    because a huge number of orders will be accumulatedly assigned to the Cost Object Hierarchies.
    I think that the COH will be distributed with not bad performance.
    (Actually I want that to be OK.)
    What's your opinion about that?
    Sincerely.
    Mahnkwi.

    Hi Mahnkwi,
    Sender-/receiver-relations should definitely be below 1:1000 or even below 1:500. This depends on other factors like general size of the hierarchy and data to be processed as well. This hierarchy needs to be restructured. In case you do this the
    distribution needs to be reversed first.
    Below are some other hints on performance in KKPX
    - Parallel processing should be used.(note [386508|https://css.wdf.sap.corp/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=0000386508])
    - Switch off detail lists since the consume lots of memory.
    - Old orders should be archived.
    Note [77718|https://css.wdf.sap.corp/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=0000077718] also explains tips to avoid the memory error for transaction KKPX or KKPY. As note explains, you should consider
    whether a distribution of the cost elements according to their origin is required; if not, the corresponding indicator should not be set in the costing view of the materials.
    If many error message is issued in the error log, this may have bad effect on the memory of your server. In this case, you should make these error message "not to be displayed" by message control in IMG.
    Regards,
    Declan

  • BAPI/Idoc for creating Business event

    Hi,
    Can we create a business event using any BAPI/Idoc without using the transaction PV10?
    Thanks

    Hi Ravish,
    BAPI_BUPA_CREATE_FROM_DATA   which generates a general Business Partner.  BAPI_BUPA_ROLE_ADD.                   to add a different role
    Regards
    Narayana

  • Cost object Hierarchy nodes

    Actually I need to change profit center in cost object node but does not allow changes, do you have some suggestion?

    Hi,
    Once u assign profit center in Cost Object before values posting system allow u do changes. Once u made postings against Cost Object System not allows you for Change Profit Center.
    For the do one thing Create new cost object with proper Profit center and settle ur old Cost Object to New cost object.
    Thanks
    PBR

  • Report on Cost Object Hierarchy

    Hi Guys,
    My user needs a report for ACtuals cost based on Cost Object Hierarchies.
    ACtual cost dat is in a cube. But that cube does not have COst Object as Charachetristic.
    How can I do that?
    Any suggestions

    SOlved

  • Distribution of Price difference value to Other Cost Objects in Hierarchy

    Hi,
    I have a unique scenario for one of my client.
    Here we are using Cost Object Hierarchy for Cost Object Controlling. We have Two COH for Billets and Wire Rods.
    The Input for Billets production are Raw Materials and Input for Wire Rod Production are the Billets.
    Each Billet grade is consumed for the Specific Wire Rod Grade.
    At the end of the Month we do the settlement and we get the Price difference value of the Billets. We can also know the Per unit Price difference value.
    Now we want to send this Price difference per unit value of the Billets to the Wire Rod Production orders according to the quanity of Billets  consumed.
    We are not using ML.
    I am not getting any idea how to Proceed for thsi scenario.
    Any suggestion please.
    Regards
    Kami

    Hi
    W/o ML, you cant achieve this...
    if your Prod process is farily stable and qty variances are not much i.e. the only major reason for variances are the prices - Then you can adopt this workaround
    Re: sfg and FG @ MAP
    br, Ajay M

  • General Cost Object

    Hi there,
    Anyone familiar with the General Cost Object out there please? (referring to KKC1  - under "Intangible Goods and Services" from the SAP menu.
    *Background*
    I am looking to a further dimension (cost object) to breakdown/attribute costs; a cost is now attributed at a GL account, a cost center and an internal order; for some reason i need to have a further cost objective; i found the "general cost objective" and thought of them as a solution altought they are indicated for "intangible goods and services" which is not my case...
    *So far..*
    I have created cost object with Tcode KKC1, quite straightforward and posted a journal to a GL account / Cost center / Cost Object (I left to one side the internal order for the time being)
    *Issue 1*
    - the KKC1 is asking for a Profit Center as part of the Cost Object master data (mandatory field);
    Question: can this field be customisable in the IMG and be left blak? we have a 1 to 1 association betwen CC and PC, the same cost object should be used on many CC;
    *Issue 2*
    When I try to build the report in report painter to extract the info from the journal using Table CCSS, the 3 caracteristics ( GL account, Cost Center, Cost Object ) are not available whithin the same report; I can only extract GL and Cost Center or Cost center and Cost Objct; same problem using KSB1 ( single posting for cost center ) or KKCS (single posting for cost object)
    *Question*: is there a table or some setting i am missing in creating a report painter to extract simulaneously values by GL, Cost Center and Cost Object?
    *General Question*
    Is there any other "object of CO" i can use to achieve the goal highlithed above?
    TA!
    Domenico

    HI,
    question 1: if the cost object is used for different cost center/profit centers, assign the general profti-center to this cost object (or Dummy PRCTR). Even if its possible to leave it "blank" it does not solve your problem.
    question 2: don't know, but sounds not so easy...
    question 3 (general question): No
    I used cost objects once for the same reason you are describing it and it was helpful, but I never had the issue with report painter...
    BR Christian

  • Actual cost distribution in cost object hierarchies

    Hi all,
    I cannot distribute the actual costs collected on a cost object hierarchy since the costs are retrieved from an assessment cycle with a cost element with category 42 (assessment).
    I would like to assign my production cost centers balances to cost object hierarchy and then distribute it with transaction KKPX - Distribution of cost object hierarchy costs.
    Would someone have any idea how I could proceed?
    Thanks in advance.
    Ronan

    No answer to this thread

  • Bapi or IDOC  which create material master in ECC

    Hi Guys,
    Can any one let me to know by which function modules or Bapi or IDOC available to create material master in ECC?
    Regards,
    Veera

    hi,
    there are lot many ways of creating Mat master.
    1: you can go for idocs: /CWM/MATMAS_BAPI, /SAPSLL/MATMAS_SLL, ARTMAS, MATMAS..
    2: you can use LSMW batch method:
    Object               0020   Material master
    Method               0000
    Program Name         RMDATIND
    Program Type         D   Direct Input
    3: you can use BAPI as suggested above:
    Business Object      BUS1001006   Standard material
    Method               SAVEDATA                    Create and change materia
    Message Type         MATMAS_BAPI                 Create and change materia
    Basic Type           MATMAS_BAPI03               Create and Change Materia
    ags.

  • BAPI or IDOC to create the Delivery in R/3 for the SaleOrder created in CRM

    Dear All,
    When ever I create a sales order and save the sales order in the crm system, an outbound delivery is created in the R/3 system.
    I have added some new fields in the tables LIKP and LIPS.(related to delivery)
    Now I have to populate data into these new fields with the CRM data.
    So can any one tell me when I create a sales order in CRM, does the system uses any BAPI or IDOC to create the Delivery in R/3.
    The BAPI name or Idoc information will be very useful.so that I can extend them
    In crm the BDOC ‘BUS_TRANSACTION_MESSAGE’ is used.
    Thanks in advance.
    Regards
    Shafath

    Hi All,
    I found a solution to my problem.
    The BAPI ‘BAPI_DELIVERYPROCESSING_EXEC’ will be enhanced to add the new fields into the BAPI structure.
    The BADI ‘/SPE/BAPI_DLVEXEC_EX’ and the user exit ‘EXIT_SAPLV50R_CREA_001’ will be used to populate the data into the new fields created in the BAPI structure and the new fields added into the tables LIKP and LIPS.
    Regards
    Shafath

Maybe you are looking for

  • How do I get an external mic to work?

    Hello, After moving house I have just set up my mac mini with snow leopard OSX V.10.6.8. I run Parallels V.5 so that I can use Dragon Naturally Speaking V.10 for dictation. The microphone I use is a Jabra GN9530 that has a base station that connects

  • Work Order & Cost Center Commitment Management

    We have a business requirement to be able to view our work order commitments (Reqs and POs) from the work order as well as from the cost center assigned to the work order via a settlement rule. Our business users do not like the work order collecting

  • Error logs in job releases forecast from DP to SNP-"Matl does not exist"

    Hi Everyone, I am facing error logs in the batch job which releases forecast from DP to SNP Forecast release job - Weekly - Through background job Forecast category - FA Error 1: - Characteristic combination appears on batch job log with an error tha

  • HOW TO FIND OUT ECC ehp3 or not

    Hello , i installed ECC using which i got from SAP . Now i am giving my patches level can any one tell me what level in my system . SAPKB70101                18.07.2008     Basis Support Package 01 for 7.01 SAPKB70102                17.12.2008     Ba

  • Doubt on Stock Transfer

    Hi Experts,         Please suggest me how to do Stock Transfer Orders Bin to Bin..           Its very Urgent....      Thanks in Advance Thanks and Regards Siri..