Cost Analysis CO03 to BW

Hi BW Gurus
How can we extract data crom the R3 CO03 cost analysis? or is there a standard extraction that can be used for this or can you provide me a sample generic extractor that can be used to get this information.
thank you very much in advance

Hi Joher,
You can look for Controlling extractors  in R/3
Basically
0CO_PC_01
and other data sources related to that.
Also you can look for transaction SBIW and there you can look for Controlling and profitabilty analysis(COPA).
basically it covers all the requirements.But it will contain only those orders which have hit your accounts.
But basically CO03 is related at production planning and maintenace then you try for other sources also which are present in standard extrator those starting with
2LIS_17_.....
This all data sources are based on the PM.
I
I think it should help.

Similar Messages

  • How to get Cost element for a component in co03 cost analysis report

    Hi,
    I'm using table COSP to find the quantity for a production order component.  However, I need to identify the cost element first to get the unique data.  In CO03 cost analysis report, there is cost element for the component.  Does anyone know how to get it ?
    Thanks.

    CSKA stores the basic info about the cost element
    There is no data in CSKB.
    I'm trying to use different tables to get the cost element.
    AUFK, AFKO, AFPO, RESB, ...but no luck...

  • CO03 cost Analysis report to BW Report

    I need to create a report in BW same as (CO03) Cost - Analysis, I want to create an extractor that extract data the same as what the (CO03) Cost - Analysis shows, but unfortunately i dont know from which and what table, selection condition should i need to use for my extraction.
    or can anyone tell me what function module is used by SAP for this and is it possible to use it in my extractor?
    Thanks you very much in advance

    Hi Joher,
    You can look for Controlling extractors  in R/3
    Basically
    0CO_PC_01
    and other data sources related to that.
    Also you can look for transaction SBIW and there you can look for Controlling and profitabilty analysis(COPA).
    basically it covers all the requirements.But it will contain only those orders which have hit your accounts.
    But basically CO03 is related at production planning and maintenace then you try for other sources also which are present in standard extrator those starting with
    2LIS_17_.....
    This all data sources are based on the PM.
    I
    I think it should help.

  • CO03 function module for cost analysis report

    Hi
    Can anybody pls let me know the function module for which gives the cost analysis data in CO03 transaction. 
    Regards

    Hi
    I'm sorry; BAPI_INTERNALORDER_GETDETAIL, this BAPI did serve my purpose
    Pls let me know if any other FM.
    Thanks for your help.
    Regards

  • CO03 cost analysis on wip

    Hi,
    After the settlement, I got the document posted and the double entry is like below.
    When I go to CO03, cost -> analysis, I not able to see the wip related account there. Other account exist in the analysis list.
    May I know why wip related account not shown there?
    cr change in stock (wip)
    dr wip production
    Thanks

    Hi,
    After settlement of  production order you cannot see the WIP in CO03,GOTO> cost -> analysis,
    At month end when you calculate WIP as long as the status of Production Order is neither TECO nor DLV  total costs posted will be treated as WIP
    When production Order is settled the posting would be made to FI or to the respective profit Center if used.
    In the next month if  you want to do  further postings to the order you can do provided the status in not TECO or DLV
    and during the above case  production variance is calculated and settled to FI
    Regards,
    Raj

  • Cost analysis data in CO03 transaction

    Hi Friends
    Can anybody pls let me know any funciton module or method to retrieve cost analysis data from CO03 transaction.  CO03 -> GOTO -> COSTS -> ANALYSIS, will give an ALV report.
    very urgent.
    thanks

    Hi raghav,
    i don't know a FM. I use in Report KOB1 via BDC.
    Here a short extract:
    DATA  BEGIN OF BDCDATA OCCURS 500.
            INCLUDE STRUCTURE BDCDATA.
    DATA  END OF BDCDATA.
    PERFORM KOB1 USING ITAB-AUFNR BUDAT_LOW BUDAT_HIGH.
    FORM KOB1 USING AUFNR BUDAT_LOW BUDAT_HIGH.
      DATA: BUDAT_LOW_C(10), BUDAT_HIGH_C(10).
      WRITE BUDAT_LOW  TO BUDAT_LOW_C.
      WRITE BUDAT_HIGH TO BUDAT_HIGH_C.
      REFRESH BDCDATA.
      PERFORM BDC_DYNPRO      USING 'RKAEP000'      '0110'.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'    '=ONLI'.
      PERFORM BDC_FIELD       USING 'AUFNR-LOW'     AUFNR.
      PERFORM BDC_FIELD       USING 'AUFNR-HIGH'    SPACE.
      PERFORM BDC_FIELD       USING 'AUFGR'         SPACE.
      PERFORM BDC_FIELD       USING 'KSTAR-LOW'     SPACE.
      PERFORM BDC_FIELD       USING 'KSTAR-HIGH'    SPACE.
      PERFORM BDC_FIELD       USING 'KOAGR'         SPACE.
      PERFORM BDC_FIELD       USING 'R_BUDAT-LOW'   BUDAT_LOW_C.
      PERFORM BDC_FIELD       USING 'R_BUDAT-HIGH'  BUDAT_HIGH_C.
      PERFORM BDC_FIELD       USING 'P_DISVAR'      '/TEL'.
      CALL TRANSACTION 'KOB1' USING BDCDATA MODE 'E'.
    ENDFORM.
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      CLEAR BDCDATA.
      BDCDATA-PROGRAM  = PROGRAM.
      BDCDATA-DYNPRO   = DYNPRO.
      BDCDATA-DYNBEGIN = 'X'.
      APPEND BDCDATA.
    ENDFORM.
    FORM BDC_FIELD USING FNAM FVAL.
      CLEAR BDCDATA.
      BDCDATA-FNAM = FNAM.
      BDCDATA-FVAL = FVAL.
      APPEND BDCDATA.
    ENDFORM.
    Hope it helps.
    Regards, Dieter

  • Authorization control for cost analysis/itemization view

    Hi Experts,
    Can we control the access to cost analysis/itemization report  in CO03 by authorization control ?
    Thanks

    Hi,
    Most probably it may not be possible.
    moreover, Why do you want this? Cost analysis will be in display mode only. Infact it benefits the user. They can analyse and correct the master if required.
    Think once again before making control. Because, everytime people has to come to authorised person to see the cost difference, which will disturb the authorised person.
    This is my personal opinion.
    Madhava

  • Target Costs- Cost Analysis

    Hi all
    In the cost analysis screen of the productin order display (CO03), the target costs column shows zeros for all the cost components, but it is supposed to display the target figures for the order.
    Any idea why all zeros are displayed?
    Thanks in advance
    Rasa

    Hi,
    Good evening and greetings,
    The target costs will appear when the Planned Quantity and Actual Quantity are different...For ex, I create a production order with planned quantity as 100 and completed entire 100 before the production order settlement then the target cost will not be applicable because the variance is between Planned and Actual in this case...If the actual quantity is 80, then the system cannot find the variance between 100 and 80 thereby the entire 20 will be variance...in order to avoid that the system recalculates the planned cost based on actual quantity to arrive at target cost and finds the variance between Target and Actual.
    Please reward points if found useful
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

  • Authorization for Cost Analysis in Production Order

    Hi,
    Can I maintain the authorization for displaying cost analysis in production order.
    I try to create transaction variant....into ZCO02 and ZCO03
    but in COOIS it is still branching to CO02 when changing and CO03 when displaying.
    I want to disable the cost analysis view in production order so PP people can not access it.
    is there any idea?
    Please help.
    Best regards,
    Freddy Ha

    Hi,
    as i know K_ORDER is authorization for internal order.
    We have activate the check in SU24,
    but when we tried to trace the authorization when CO02 -> GOTO -> COST _> ANALYSIS
    this auth K_ORDER is never check.
    Did I miss something here?
    Best regards,
    Freddy Ha

  • Cost analysis - Plan cost

    Hi all
    In the cost analysis screen of the productin order display (CO03), how does the system calculates the plan costs column?
    Thanks in advance
    Regards
    Yiming

    Hi
    The plan costs come from the preliminary costing of the production order.
    See attached link for further information:
    http://help.sap.com/saphelp_erp2005/helpdata/en/90/ba6505446711d189420000e829fbbd/frameset.htm
    Regards, Elaine

  • 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.

  • Process Order Cost Analysis Target and Actual Quantity Missing

    This is related to Process order costing .
    Issue : Before activating  Material Update field in Costing view 1 of Material master , we have created few process orders and Delivered .
    Hence cost analysis shows Actual and target cost fields  Empty in COST ANALYSIS  report of  order  . After Updating field in Material master , New Process orders are calculated with Actual and Target cost .
    Solution needed : How to do Actual and Target cost estimation back in cost analysis report  for old process orders which are created before Material Update field ?

    You have deleted the Component in the BoM.
    Then you have created a production order, check if the start date of this order is after the date change in the BoM..... Can be that the component stills exists in the order ? Have you tried deleting the compoent in the order BoM ?

  • Cost Analysis Report - For a range of process orders

    Dear all,
    Is there a standard report available to get the cost analysis for a range of process order? COR3 --> Go to --> Cost --> Analysis. Here I can see the cost analysis for one report. But I wanted to get the cost analysis report for a range of process orders. Please help.
    Thanks
    Nagarajan

    Dear
    You can use cost analysis report like
    1.S_ALR_87099932 - Variances Between Costing Runs
    2.S_ALR_87099931 - Price vs Cost Estimate
    3.S_ALR_87099932 - Variances Between Costing Runs
    5.KOC4
    Regards
    JH

  • Production Order Cost Analysis - Goods Receipt

    I have been assigned to create analysis of production orders.  I need to show the volume variance as well as the cost variance using both the initial planned costs as well as the actual costs when the production order is completed.  All this information is available in COR3 on cost analysis, but I need to allow for display of multiple orders based on plant and date information.
    I have found that the ingredients are in the table RESB with most of the information that I need, I have not had luck in finding what table has the goods receipt information (produced product).  SAP help says that the fields are in KKBCS_OUT, which is a structure that I can't find where populated from.
    I would appreciate any assistance in this endeavor.
    Thanks
    Steven M Engel

    Thanks for the suggestions, but they have not provided me with what I think I need to give a solution to my superiors.
    I will attempt to clarify what I need to do.  We are a manufacturing facility.  We have a BOM that says to make 10 E, I need 3 A, 2 B, 3 C, and 4 D.  Each of the components (A to D) have a set cost at the time the production order is created, this looks to be saved as part of the planned cost in RESB.  Produced product E also has a planned cost at time production order created (as seen by COR3) but that is not stored in RESB.
    At production time we actually use 2.5 A, 2.5 B, 3 C, and 5 D to make the 10 E.  COR3 cost analysis is showing me the cost variance.  This cost variance has two parts, part 1 is because the quantities of the inputs are different.  Part 2 is because between the time the production order was created, and the production order was finished, the costs of A to E may have changed.
    I need to breakout the different components to show management how much of the total cost variance is attributed to each part.  I need a report that management can run (or have run) that will allow them choose by plant, date, end product, etc.  so they can direct what changes need to be made to costing, pricing, and BOMs.
    I hope that I have laid out what I am trying to do in a coherent manner.  Also I am new to the SAP system with less than 1 year using the system.
    Thanks for your time.
    Steven M Engel

  • 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

Maybe you are looking for

  • Bind Variables

    Hi I have read happily the article The Values That Bind By Mark A. Williams (Oracle Magazine September/October 2005 ). Immediately I rushed to implement the article on over developers . The problem is that we have a SQL query using the in operators .

  • Function module to validate posting date

    Hi all, i am using function module amfi_period_get_and_check to validate posting date. if posting date is not open this module raises error message but when i am using it in my code its not showing error message but when i am executing the module it

  • How can I add a pause after each photo to my flash file?

    How can I add a break to my sequence of photos on a flash file. I created a flash with different photos and I want each one to stay on the stay for about a minute before moving away. How do I do this? Please help

  • Adding full screen button to DW Flash video?

    When I finish a project, I take the video out of Apple Compressor as a .flv file.  I then take this and drag it into an HTML file in DreamWeaver.  This brings up the "Insert FLV" window, where I can choose some controls, set auto play, etc.  None of

  • Adding Custom buttons to ECL Viewer

    Hello Everyone, We have a requirement where I need to add a custom button on the Redlining section of the ECL Viewer. Like currenty, SAP provides tools like Drawing a line or Square or Rectangle and also Insert Image kind of functionality when doing