Cost Analysis by Sale Order

Hello,
I'm seeking to enable in BI a Cost Analysis Scenario with repect to the <b>Sales Orders</b>. That is, something similar to the analysis you can easily perform in the R/3 area <i>Accounting -> Controlling -> Product Cost Controlling -> <b>Product Cost by Sales Order</b></i>.
For instance in standard report KKBC_KUN, you can choose a sales order number and get all the <b>cost elements</b> related to that sales order, with the corresponding costs.
I have examined the following objects provided by the BW's Business Content:
- <u>InfoCube 0PC_C01</u>: it contains only the costs related to <b>production orders</b>, and not the costs associated with sales orders.
- <u>InfoSource 0CO_OM_CCA_9</u>: it seems interesting, in fact it delivers some header and line item data of the <u>Controlling Object Document</u>. Unfortunately it doesn't deliver the crucial characteristics <i><u>Controlling Object</u></i> and <i><u>Controlling Object Type</u></i>, which I definitly need for enabling my analysis scenario!!
(By the way, are these 2 characteristics delivered by the BC? There exists a 0COSTOBJ characteristic, but it's not used by any object in the flow afterwards. Moreover, I can't find a standard DataSource in R/3 which I can use to load either its attributes or its texts, and see what data enter it..)
Business Content for Product Cost by Sales Order), but none could help me.
It seems really weird that it's not possible to carry out a <b>Cost Analysis by Sales Order</b> in BW, so if anyone has some suggestion it'll be very appreciated indeed.
Thanks & Regards, Davide

I eventually found the following SAP Note. No BCT for this analysis scenario....
<b>Note 584791 - BW-BCT-CO: Costs not extracted on sales orders</b>
<b>Symptom</b>
In R/3, costs are posted directly to sales orders. The costs have to be analyzed in the BW system. In the standard system, however, this data is not extracted into the BW system.
<b>Other terms</b>
0CO_OM_OPA_1; 0CO_OM_OPA_6
<b>Solution</b>
1. There are currently no DataSources for costs on sales orders in the standard BW Business Content. Unfortunately, there are currently no resources scheduled for a new development in this area either.
2. Therefore, the DataSources and the Business Content must be created in the customer project within the framework of consulting as a customer solution concerning the generic extraction options of the BW Service APIs or function modules you have programmed yourself for extracting data.
3. Technical background information about costs on sales orders:
The transaction data is available in the following R/3 tables
COSS and COSP - Totals records or COEP - Line items.
This concerns records for the VB* object numbers.
The master data of the sales orders is contained in the VBAK and VBAP tables.
The 0CO_OM_OPA_1 and 0CO_OM_OPA_6 DataSources only extract costs for orders with master data in the AUFK table. These types of requests always have OR* object numbers. Therefore, these DataSources cannot be used for sales orders.
However, you may be able to assign requests from the AUFK table (for example, maintenance orders or production orders) to a sales order through the AUFK-KDAUF table field.

Similar Messages

  • Cost analysis through Purchase Order created from Sales Order

    Hi Experts,
    This is the scenario: There is an Item No. which is not stocked in warehouse and is purchased only when customers ask for it. The cost of the sales order line having this item is calculated by the Purchase Order line on which the item is there. (The PO have items for other Sales Orders as well. And, Sales Orders have multiple item types) The Sales Order have the PO no. against it and Purchase Order has SO no. against the line. This is all done using MS Access and Sage Accounts. Lots of free typing and manual cost analysis involved.
    I have gathered from this forum that we can create Purchase Order from the Sales Order. The Document No. information can be pulled from one another using Formatted Search. Can we do the accounting and cost analysis as well?
    Please let me know if I have not made myself clear.
    Thank you in advance and kind regards.
    IC
    Edited by: iancameron03 on Sep 20, 2011 4:35 PM

    Hi Ian,
    I concur with Faraz, it is better if you use procurement document facility in doing back to back transaction from SO to PO.
    However, in your case, I'm afraid you can't analyze the gross profit and recording the accounting related activity as your request using standard SAP B1 function.
    As for gross profit case:
    Since you're actually using workaround in order to evade all hassles in maintaining all item master data related to this case, you create just one item code called S1 right?
    SO DocEntry - SO Line # - Item Code - Item Name - Quantity - Price
    1001 - 0 - S1 - Table - 2 - 100
    1001 - 1 - S1 - Chair - 8 - 25
    1001 - 2 - S1 - Cloth - 3 - 10
    PO # - PO Line # - PO BaseEntry (SO DocEntry)  - PO BaseLine (SO Line #) - Item Code - Item Name - Quantity - Price
    2001 - 0 - 1001 - 0 - S1 - 2 - 100
    2001 - 1 - 1001 - 1 - S1 - 8 - 25
    2001 - 2 - 1001 - 2 - S1 - 3 - 10
    Note that standard B1 gross profit calculation is that system will compare selling price for each item with item cost / certain price list of each respective item. However, in your case, you put all item as a single item master. Thus, system couldn't compare Table to Table, Chair to Chair, Cloth to Cloth since the item cost for these 3 items will be the same, the price list for these 3 items will also be the same since it is actually only one master data. Of course you could update the gross profit calculation manually for each SO, but to be honest it seems rather weird to do this manually.
    So, in order to simulate the gross profit calculation, you need to create a custom query and comparing PO line no with SO line no.
    As far as accounting related recording concern, I'm afraid you can't do it
    1. SO 1 : Item Table - Selling price 130 ; Item Chair - Selling price 30
    2. PO 1 (linked to SO 1) : Item Table - Purchase price 100 ; Item Chair - Purchase price 25
    3. SO 2 : Item Table - Selling price 150 ; Item Chair - Selling price 40
    4. PO 2 (linked to SO 2) : Item Table - Purchase price 110 ; Item Chair - Purchase price 30
    Correct me if I'm wrong, you want to record accounting wise that CoGS of Delivery based on SO 1 is 100 for Table and 25 for Chair, isn't it? No matter what costing method you use, you can't achieve this.
    If you use moving average, system will average both Table and Chair cost price, since it is actually one item master data. Even if you distinguish each item as a master data, system will average the cost price for Table and Cloth by the time GR for PO 1 and PO 2 occurred.
    Example (order by sequence of event):
    1. GR based on PO 1 - Table - Purchase price = 100, therefore Item cost = 100
    2. GR based on PO 2 - Table - Purchase price = 110, therefore Item cost = 105 (considering quantity only one for both PO)
    3. Delivery based on SO 1 - Table - CoGS incurred will be 105, not 100
    To certain extent, same thing could be said with FIFO costing method
    1. GR based on PO 1 - Table - Purchase price = 100 (qty 1)
    2. GR based on PO 2 - Table - Purchase price = 110 (qty 1)
    3. Delivery based on SO 1 - Table - CoGS incurred will be 100 (qty 1)
    4. Delivery based on SO 2 - Table - CoGS incurred will be 110 (qty 1)
    At first glance, it seems right since the CoGS for SO 1 is 100, tied up with purchase price for PO 1. And CoGS for SO 2 is 110, tied up with purchase price for PO 2. But we're using assumption here, we're assuming the sequence of Goods Receipt of PO and Delivery of SO occurred in the very same sequence as the issuance of SO and PO.
    1. GR based on PO 1 - Table - Purchase price = 100 (qty 1)
    2. GR based on PO 2 - Table - Purchase price = 110 (qty 1)
    3. Delivery based on SO 2 - Table - CoGS incurred will be 100 (qty 1)
    4. Delivery based on SO 1 - Table - CoGS incurred will be 110 (qty 1)
    If above scenario / sequence that happened, you will get the wrong figure of gross profit since the Delivery of SO 2 will take the item cost based on GR of PO 1. Since we're actually talking about real life business process, who can guarantee that above scenario wouldn't happen? It is possible that you send goods to customer who ordered late in real life, too much possibility that it is better for you to mitigate such result.
    My suggestion would be that you record the accounting transaction based on standard business process, no need to really capture the actual cost and actual gross profit for certain SO and PO. Too complicated, and the software itself doesn't cater this kind of requirement. Best thing you could do only create custom query for gross profit simulation calculation, but for very accurate accounting recording, IMO you should forget it. Hope this help.
    Best Regards,
    Hendry Wijaya

  • Results analysis for sales orders- actual costs/ revenues - (kka3-kkak)

    Hi, i have a problem when I execute the individual results analysis for sales orders (kka3) I can see actual revenues and actual costs, however when I execute the collective processing (kkak) for the results analysis I don´t see these (actual revenues and costs). Is it normal? How can I see these in the collective processing?

    Could be one of these possibilities:
    1) Controlling Area set is wrong
    2) You're input parameters are insufficient to get that sales order. Check Order Type etc you input in the main screen
    3) The master data is wrong which is not allowing the link to the Sales Order. You would have to check each field thoroughly.
    You will have to probably do a lot of checks before you resolve this. This isn't normal btw....you should see all Sales Orders
    Assign Points if useful....

  • Plan costs calculation during results analysis of sales order

    Hi Experts,
    I am in process of implementing sales order costing. I am facing a problem during result analysis with plan costs data.
    We have a sales order for which production order is generated. Cost object is sales order.
    Say, sales order cost estimate which is the plan costs --> is $ 1000 (which includes prod order COGM of $ 600) (So remaining sales and admin costs are $ 400)
    Plan cost of production order is $ 550 (as per production order cost analysis report)
    While calculating the result analysis for sales order, system is calculating the plan costs data as $ 1000 + $ 550 = $ 1550
    As a result, I feel plan costs data during result analysis is over calculated.
    I feel either plan costs should be $ 1000 (as it already includes COGM part)
    or
    $ 950 which is (plan cost of production order $ 550 + sales and admin costs of $ 400)
    Could some one explain me why result analysis shows plan costs data as $ 1500 and if I need to rectify how can I do so.
    Thanks,
    GAN

    Any suggestions please.
    Edited by: DSK on Feb 9, 2012 6:16 AM
    Edited by: DSK on Feb 13, 2012 4:39 AM

  • Error reading material cost estimate for sales order (KE292)

    Dear All,
    I have an issue with billing. we are posting july month transactions, the material cost is maintained through MR21. When releasing billing document for accounting we are getting error message like"Error reading the material cost estimate for sales order "11"
    Message no. KE292
    Diagnosis
    In Profitability Analysis (CO-PA), the system tried to valuate item 000010 of sales order 11 by reading the corresponding product cost estimate.
    However, no product cost estimate could be found for this sales order item.
    The system accessed product costing for product AMLFP011011XX00P using costing key YB3 as defined in the
    CO-PA Customizing settings.
    System Response
    The system cannot process the document any further.
    Procedure
    Check your Customizing settings."
    We cross checked with other client as a current date and we ran cost estimate through CK40N with same material. and we posted entries. Here it is working fine. but in above process it is not working. Can you pls guide me where i missed.
    Regards,
    Nagaraju,

    Hi,
    When the Costing Key is assigned to the material types in the COPA customizing, then system expects Cost estimation when billing is released to Accounts.
    If you dont run cost estimation but update the material master through MR21, system will not accept as in the Costing key configuration you must have selected the Current Standard price field for the valuation.
    Hence, try to run cost estimation and then do releasing.
    Thanks & Regards
    Ravi Kumar

  • Results Analysis on Sales Orders

    Hi Fellows,
    When i am running the results analysis for Sales orders using KKAK transaction , I do not wish to see the WIP items with 0 Values.So i selected the option " Hide Orders with 0 values in Results List ".
    However I am still getting the WIP items with 0 Value.
    I saw the help for this and it says
    " Note: In some cases individual objects may still appear in the list when both the column "Reserves for unrealized costs" (reserve for unrealized costs + reserve for complaints/commissions) and the column "Reserves for imminent loss" are a sum of multiple value fields and these value fields are checked individually for zero value ".
    From the above, I came to the conclusion that the 0 value items may still come even if we check the box.
    However from the above note, can anyone tell me where i can check the " Reserves for Unrealized Costs " and " Reserves for Imminent Loss " and also how can i know what are the value fields which are adding up to these columns.
    Also it says the Value fields are individually checked for zero value.
    Where can i see the Value fields associated with this Results Analysis and where can i see if the Value fields are assigned a value of zero.
    Please let me know if you have any thoughts on this..
    Thanks in advance..
    Srik

    Hi,
    Check whether Note 501915 - Creation, cancellation, and usage of reserves would help.
    Regards,
    P.S: Please post this question in FI/CO forum so that you can get answers quickly.

  • Results Analysis in sales order (KKA3)

    Hi experts : i have a sales order with results analysis key 00004 , but in transaction KKA3 the value of cost plannig is the same of real cost. The COSP table from where obtain cost planning value ?.
    Could you send me more information about results analysis for sales order .
    Thank's for your cooperation
    Veronica Barrientos A.
    Construmart S.A.

    Hi  Siva:
         I checked my configs ,it's right . I think if my strategy is MTS (make to stock ). maybe the reason is that  .But now my  strategy is MTO(make to order).maybe I miss other configs.

  • Results Analysis for Sales Orders

    Hi
    When i am calculting Results Analysis for Sales Orders as a part of Month End Closing Activities there are some errors for few orders...
    Msg Type: E
    AppAr: KJ
    MsgNo: 216
    Message Text: Planned Cost for Valuation are 0. Please Check the Object.
    Can any one tell me what might be the error..
    Thanks in Advance..
    Sivaram

    Hi,
    The error is offen caused by one or possible more than one of following statements:
    - the delivery block of the order is set
    - the billing block is set
    - the schedule line ( confirmed quantity ) is missing
    - the position has been cancelled
    - price condition is missing
    In case no one of the mentioned options wouldn''t help, set the position status to technically completed, if the position is processed as well ( delivery, invoice, etc. ).
    We often face this kind of issue
    Good luck
    Marian

  • Analysis of Sales order

    To analyse the sale order we are using the TCode  KKBC_KUN.  I observed there are three columns in that report plan costs, actual costs and variance.  
    From where thse plan costs are picking by the system in this report. Actually my problem is there is commission on sales.. it is only visible in the actual costs column only... it is not visible in plan column costs. ...
    Can any one help me in this issue... where i can check plan costs???
    Thanks
    Radha

    Hiya,
    If you are looking for tables, I believe the cost is picked up from table COSP.
    However, you can perform a Sales Order Costing by going into the Sales Order and then Extras --> Costing. You need to setup the appropriate Costing Variants for this.
    Not sure if this helps, so write back if you need more info.
    Cheers.

  • Sales Order Report Showing Cost on the Sales Order & total invoice dollars

    I am looking for a report in SAP that shows you the Sales Order number, the cost on the sales order (NOT the average cost) the actual cost on the sales order detail line and then the total invoice dollars in month to date and year to date?
    Thanks,
    Linda

    You can use <b>T.code: COOIS </b> if Product Costing has been configured for MTO scenario whcih gives the costing details.
    You can also use To.code: <b>KE30</b> if CO-PA implemented.
    but if you want to link with billing, Please search for any reports in Sales information system.
    One more you can create a ABAP Query Report using T.code: <b>SQVI</b>
    Regards,
    Anbu

  • How to transfer cost from old sales order (cancelled) to new sales order

    Hi Gurus
    I want to know, how to move cost from one sales order to another sales order.
    SD created sales order before 1 month and there was production order behind this. Production was completed and all the cost was moved to sales order and also SD has raised invoice on customer. This transaction was completed.
    The above order was rejected by customer due to some changes in the order. SD raised another sales order and production order was created to to additional work. Production transfered above stock (produce before on old production order) to new production order.
    My problem is stock is now transfered to new production order but cost is still sitting on old sales order. How do I transfer cost from old sales order to new sales order. SD cancelled old invoice and raised new one with full value (old + new work) on new sales order. Now cost is on old sales order and revenue is on new sales order.
    Please help.
    Thanks

    Hi
    I have reverse the sales order settlement, PP order settlement to sales order and I have also done KB11N for transfering the cost to the new production order.
    The only problem is I was unable to transfer labour hour confirmation as cost element used for this are not for transfering cost. If I will reverse the confirmation in PP order system will reverse material movement also which I don't want any more. Can you please tell me how to I reverse the Labour hours with out affecting goods movement?
    Many thanks

  • Cost center in Sales Order/Credit memo request

    Hi SAP Gurus,
    There is a requirement from our client. They are processing Credit Memo from SD VF01 via Credit memo request. The want to assign Cost center in the line items which is greyed out at the time of processing in VF01.
    I also verified in the Credit memo request in VA02 even there is no field available for to maintain  Cost center in line item so that at the time of billing it can  derive.
    Please advice whether can we assign the Cost centers in Sales order/Credit memo request line items?.
    Regards
    NTH

    Hi NTH,
    In the standard system, the field cost center is only ready for input
    if the sales document category is VBAK-VBTYP= I (that is, order without
    charge). For all other order types, you can make it visible by entering
    an order reason provided that the combination of the sales area and the
    order reason has a cost center assigned in OVF3. To change this standard
    behaviour, USEREXIT_COBL_SEND_HEADER can be used. There you can find a
    short example on how to make a field visible and modificable in the
    account assignment screen.
    Moreover, please take into account that the account assignment to a cost
    center is possible only at header level. So it is not possible to
    insert the cost center at item level, you can only insert it at header
    level.
    The cost center determination takes place in
    FV45KF0V_VBAK-KOSTL_ERMITTELN and is reading from table TVAUK.
    This table can be maintained in transaction OVF3.
    If you wants to be able to enter the cost center manually in the
    account assignment screen (header level), you can use  the user exit
    FV45PF0C_COBL_SEND_PBO_VBAK (SAPMV45A) - there you can find a short ex
    ample on how to make a field visible and modifiable in the account
    assignment
    I hope that this information is of assistance to you. Thanks!
    Regards,
    Alex

  • Change of partner analyse in sales orders

    Hello,
    I changed the partner analyse for sales orders and added a new mandatory partnerrole.
    In new documents the partner analyse works fine, but in the existed sales documents I cant´t see, that a mandotory role is missing.
    How can I see that this role is missing in the exsting documents???
    Thanks for info
    Nicole

    You can create a custom report but there is no standard way to do this.
    When a document is created in SAP, it is a "snapshot" of that configuration, master data, and information as it exists when the document is created.  On the SD side there are a few things you can influence, for example, SAP contains some standard tools for mass updating of pricing information.  Most of the document exists in its unchanged state though. 
    You *may* be able to use VA05 and do this (although I doubt it, no system in front of me right now).  Other than that transaction or a custom report there really aren't a lot of options.
    If you are familiar enough with the tables, you can do a "quick view" or an ABAP Query to get the info.  However the SAP partner table is recursive so to avoid getting lots and lots of duplicates you will either have to add some code to a full query, or do offline manipulation of the data.
    If you're looking for soild SAP experience to help through some of these hurdles, please contact me.
    Bill Wood - President
    R3Now Consulting
    http://www.r3now.com SAP thought leadership!
    Platinum SAP Solutions
    (704) 905 - 5175
    http://www.linkedin.com/in/billwood

  • Account determination analysis in sales order

    Hi there,
    in a sales order processing (VA02/VA03) I'd like to know which accounts will be determined prior to invoincing it.
    I find the "account determination analysis" tool through the menù path: "Environment" -> "Analysis" -> "Account Determination" (FCODE = 'KTPR'), but it shows an empty screen
    The same tool shows the desired data during an invoice processing (VF02/VF03).
    How can do to see the account determination analysis in sales order processing, and not in invoice processing ?
    This tool shows an empty screen even if the order is invoiced, or not.
    So I'm asking: which is the meaning of this tool inside sales order processing ?
    Hope I've explained correctly my problem.
    Thanks in advance.
    Andrea

    Hi Nagaraj,
    the sales order amount is > 0, but the account determination analysis tool still show me an empty screen
    It seems this tool runs only into invoice processing.
    I try to follow the ABAP debugger and at a certain point it uses the "account determination procedure" (KOFI00), that in the sales order is missing ... maybe this is the problem ...
    Best regards
    Andrea

  • Re-Cost (CK55) Marked Sales Order Line Items

    My current client resets standards each quarter. They have requested to re-cost open CTO Sales Order line items and update the valuated sales order cost (EK01). I have reviewed the options available in CK55 - Mass Costing and find the processing log retrurns the following message:
       Cost estimate with status VO exists. See long text
       Message no. CK_MCSO014
       Diagnosis
       A cost estimate with the status VO already exists. This cost estimate will not be overwritten.
       System Response
       Processing continues with the next item.
       Note
       You can remove this message from the log with the customizing transaction User-Defined Error Management for Mass Costing of
       Sales Documents. The item will still not be costed, however.
    Short of manually re-costing each open sales order line item. Is there a way to re-cost open CTO Sales Order Line items?
    Regards,
    Dewayne Wesley

    I didn't realize there was a MASS Cost transaction.
    Is there a MASS delete Sales order Cost estimat transaction? That would help.

Maybe you are looking for