Query to show component cost of production order

Need help writing a query to show the component cost of a production order, using moving average valuation method.
I understand the table oinm has all history for an item and its calculated price.
would like to query a production order to show the cost of components at the time of receipt of that production order.
ideas?

I have created this query that will work:
SELECT t0.docdate,t0.appobjtype as [Prod/Comp],t0.itemcode,t0.dscription,t0.outqty,t0.calcprice,(t0.outqty*t0.calcprice) as [Trans Value],t0.warehouse,t0.appobjabs as [Production Order] FROM OINM T0  WHERE t0.transtype='59' and T0.[AppObjAbs] =[%0] order by t0.transnum
The prompt is where you enter the production order document number.  It will show the calculated cost of components at the time of receipt.
Thanks for the guidance.
Rich

Similar Messages

  • Material cost in production order plan cost

    Dear all,
    -we are in sales order cost object with non-valuated stock...
    -we have created two production orders from MRP run. First one is for semi finished material and second one is for finished material.
    Issue-1
    Both production orders not showing material cost in production order plan cost...
    Issue-2
    When i consumed raw material against semi-finished material production order (261-E), system not gnerated any document and material cost not updated either in production order or sales order...
    where should i do changes in configuration to get updated material cost in the production order...
    Best regards
    Kishore

    Hi
    Issue 1 : Check Whether Standard cost is present for header material of prod order, and under control tab of order costing variant for plan is present.
    Issue 2 : Use 261 instead 261E.
    Rajneesh

  • Component quantity in production order

    Hi,
    For my finished product component quantity in BOM is 1.386 for the base quantity 100.When am creating the production order for 100 in my component overview of  production order screen it is showing component quanitity as 2 instead of 1.386.
    Since am not using any rounding value,rounding profile and scrap nad upto 3 decimals allowed in CUNI for particular UOM.
    Thanks
    P.Srinivasan
    Edited by: srinivasan ponnurangam on Dec 23, 2011 12:33 AM
    Edited by: srinivasan ponnurangam on Dec 23, 2011 12:35 AM

    As I understand even if production order screen it is showing component quanitity as 2 instead of 1.386 ,Internally it is stored as 1.386 only.
    So as per knowledge it should not affect anything.
    Refer Note 931971 - Decimal places in stocks and stock postings
    Also refer
    Problem with item/component quantity in BOM

  • Operation wise cost through production order

    Hi Experts,
    Is There any standard report to get Operation wise cost through production order.if it is there please provide the details.
    Thanks & Regards,
    Prabhakar

    HI,
    I don't know a standard report but table CKIS contains the costing details line item wise with the corresponding operation number (CKIS-VORNR).
    So a query/quick view using KEKO + CKIS should be sufficient.
    Best regards, Christian

  • Function module for calculating planned and actual cost of production order

    Hi ,
    Do we have any standard function module for calculating planned and actual cost for production order?
    i need to implement this in a Z-report.
    Thanks
    Srini

    Hi,
    try below function module
    CRMCO_GET_PLAN_ACTUAL_COSTS
    CO_IH_GET_PLANNED_COSTS_TOTAL
    Regards,
    Sankaran

  • How to create a manufactured component in a production order network

    Hi,
    I've been facing problems to create a subnetwork in a production order. I want to add a manufactured component at a production order network.
    Does anyone know any BAPI or FM to solve this problem?
    Thks,

    I tried to use the below FM sequence, but I just create no-manufactured compenents. However this tried was failed too, becaus a couple of fields was missing when I go to CO02 transaction.
    CO_XT_COMPONENT_ADD
    CO_XT_ORDER_PREPARE_COMMIT

  • Actual cost of Production Order settled to Fixed Assets

    Dear all,
    My client is doing in-house production of moulds (internal order suggestion is not accepted by the client) for which
    they have the following
    1. BOM
    2. Machine hour
    3. labour
    4. overhead etc
    5.plan value
    6. actual value
    Can i settle the actual cost of production order to Fixed Asset ?
    If yes
    what are process kindly give me if any process other then the below
    1.production order created
    2. settlement profile - FA is settlement optional
    3. allocation structure
    4. Asset created
    5 define asset in settlement rule
    Kindly give me your valuable input
    regards
    elango

    Hi,
    Although i am not CO expert , please check with your FICO consultant who are expert before make the final call.
    During settlement to a G/L account or a fixed asset, the system ignores additional account assignments that were manually specified in the distribution rule.
    Based on what i know .
    you can stipulate that settlement may be made to cost centers and orders, but not to fixed assets.
    The Settlement profile is something that you need to create a settlement rule to settle the actual costs of a sender object.
    About the Settlement rule is something that  contains the distribution rules for the sender. It will define how the way to settle the cost.
    Allocation Structure
    In the settlement structure you combine the primary and secondary cost elements into groups, in which debits are then posted to the sender objects. For each group, you specify whether (for settlement to a given receiver type) settlement is performed
    by cost element or using a settlement cost element.
    For example, you might use settlement cost elements:
      To document the purpose of an order (such as, repairs or maintenance)
      To reduce data volumes (you can combine a number of debit cost elements
    under one settlement cost element).
    TQ

  • To see the cost of production order  after settlement to header material

    hello guys,
       In make to stock,we settle the total cost of prodution order on header material,right(if we keep as the default rule( distribution rule in order type)?
         If i want to see that cost of production order which we settled against the header material,where should i check it?should i check in material account or somewhere else?
             Thanking you guys in advance.

    Dear,
    There is a little missunderstanding in your thought.
    If the material of price control S, When you do the GR, the STD cost of material is deducted from production order cost, then when you settle the production order, the variance is settled to variance account/PD account. hence the production order cost balance is zero.
    Example- Production order cost is 60000
    After GR the production order cost balance is 60000-50000 = 10000.
    After settlement production order cost balance is zero.
    Now your question is where can i see the production order cost?
    You can see the production order cost in the production order itself.
    In the production order...cost disply option just filter the origin with test settlement and GR.
    Then total up the cost, then you can see the cost as 60000.
    please come back if you need more help.

  • Determine a component in the production order

    Hi,
    To determine if a component in the production order is relevant for the paint dispatch list:
    For a Production Order, after retrieving all the components (children) of the header material utilize function module CLSE_SELECT_AUSP.  Pass the following information under the import parameters:
    Function Group: CLSE
    Function Module: CLSE_SELECT_AUSP
    Import Parameters:
    KLART   = 001   (Hard-coded) (ZERO, ZERO, ONE)
         OBJEK  =    (Component number from production order Item) – RESB-MATNR
    MAFID = O  (Hard-coded) (The letter O)
              KEY_DATE  =  (BOM Explosion Date) – CAUFV AFKO-AUFLD
    Returns:
              Table = T_AUSP
              Field  = ATWRT  
              T_AUSP-ATWRT
    Then the following logic should apply:
         IF T_AUSP-ATWRT = OPTPNTD THEN this component (RESB-MATNR) is relevant for the dispatch list.
    can any body explain the meaning of this
    all replies will be rewarded

    Hi,
    i got the solution i came to know the meaning of it
    thanks

  • Scrap Quantity component  in the production order

    Dear gurus,
    in the material master of a component i insert the scrap % ( view mrp4) = 10 %.
    The field is read by planning Mrp and explosion of bom , but when i inseert this component in the production order manually the system don't read this % and the field "scrap quantity in the component detail of the production order is blank.
    Are there a setting for uograde this field ( in the production order ) when i insert MANUALLY the component in the production order?
    Example:
    1) material master of the component  > scrap % (view MRP4 ) = 10 %
    2) production order created
    3) insert this component quantity 100 pc and the system after read the material master  insert 110 pc , and upgrade the field automatically 10 % (as material master)?
    Thansk a lot
    Daniele Pistilli
    PP TEAM

    Hi Danielepistilli,
    Well there is a lot of difference is there: see you are creating production order for header material which is FG. If you maintained component scrap in material level it will be dependent on BOM quantity which you maintained for the header material.
    For example say component x quantity is 50 in BOM. How it will calculate when you run the MRP.
    component scrap % is 5% then:
                                     ===>            (5/100) * 50 + 50
    Formula is: Percentage of scrap quantity x original quantity + original quantity
      So                           ===>           52.5 quantity should be come for component
    So, the order quantity for the header material will not take this quantity or scrap but if you see individually in MD04 screen for X material you can find this quantity ok.
    I hope it clears your doubt and helps you any queries please revert me back.
    Regards,
    Madhu.G

  • Fixed component of the production order

    Dear Gurus,
    i need of fixed reservation of the batch at the production order.
    I can fixed the component only in the production ordere ( CO02- batch Assignment ) or are there other transaction , where for production order i can fixed the batch of the component?
    Thanks a lot
    Daniele Pistilli
    PP TEAM

    Dear gurs
    excuse me for the explication ,  i have for a component two bacth :
    111
    222
    and i need of fixed in the production order the batch for example the bacth 222 .
    Now i run the transaction CO02 and in the view of the component select the single component and whit the buttom batch assignment reserve the quantity.
    The system setting the status F in the stock /requirement list.
    I would want to know if there are other methods in order to reserve the batch component in the production order , other transaction .
    Thanks a lot
    Daniele Pistilli

  • Component addition in Production order.

    Iam doing Sales order Mrp. After that planned order is converted into production order.
    Bom components appear in pegged requirements.
    In production order change mode I delete some components and refresh MD04. Components disappear from pegged requirement. It is ok
    Now In production order change mode I add some components and refresh MD04. Components does not appear in pegged requirement.
    I do MRP again but Components does not appear in pegged requirement.
    How to get components in Pegged requirement list??

    Hi,
    Why requirement for new component does not get added when MD50 is carriied out??
    While running MRP using T-code MD50, The system will explode BOM and it will do the net reqmt calculations. Since the newly added component is not part of the BOM, that is the reason it is not considered.
    After doing Plant level MRP requirement for that component gets generated but it does not appear in pegged requirement of header material??
    When you add the component in the production order, it will create the reservation. In the next MRP run only this reservation will be considered and it will plan.
    Regards,
    V. Suresh

  • Costing the production order for the configured material

    We are trying to cost the production order for a configurable item.  But the system is not calculating any cost in the production order.  Sales order related to this configurable material is costed.  What additional setting I need to cost the production order for the configured material ?

    Hi Niki
    If your SO is costed, thats enough from a System's perspective... Planned cost will be the sales order cost estimate because SO saves the Chars required for the Configurable material
    Planned cost in Prod order depends on the Costing variant you have assigned in the order type... Check the error log if there is any error in cost calculation in prod order
    br, Ajay M

  • Batch Determination for a component of a Production Order

    Hello All,
    I need to determine the batch for a given component of a Production Order in my report.
    Like in tcode CO02 we provide the production order and select the component from the list and do the Batch Determination , i need the same functionality in my report.
    Currently i am fetching all the components of a PO entered by user on the selection screen of my report. Know the user selects the component and press on Batch determine button to fetch the batch value.
    Can anyone please let me know if there is any FM or class or BAPI for the same .
    I tried using FM VB_BATCH_DETERMINATION but the passing of parameters is not correct...  still working on it.
    Thanks & Regards,
    Ravi Aswani

    Hi,
    Will you share steps you have completed so far for doing for Batch Determination?
    It will help us to find the missing part..
    - Check all the Batch Characteristic values are maintain in the Batches.If values are missing then also Determination will not take place.
    - Check whether you have maintain Sort rule to Batch Determination strategy or not
    Regards,
    Dhaval

  • How to see cost componentwise production order actual cost-not planned cost

    Hi,
    Can anybody tell me how to see cost componentwise production order actual cost ?
    Thanks,
    Bijay

    Hi,
    CO03->Goto-> costs-> Anlysis
    or use the std. report KKBC_ORD
    std. reoprt MCRI
    KVBI - Actual Costs
    Regards,
    R.Brahmankar

Maybe you are looking for

  • I18n, localization of the search textfield's label

    Hello , i am not able to modify search textfield's label. I know , there are resource bundles for any countries defined in class file like Constants_de , Constantns_en .... . But for the search textfield label i get always the value from the german b

  • Thumbnails not loading

    Ok so I'm running CS6 and working on a project that has around 100 Canon XF clips (from a C300) in the project. I want to be able to scroll through my clips in the project window so that I can quickly grab certain shots without having to load them al

  • ECC 6.0 Upgrade - (Customer Modifications in Sturctures lost )

    Hi, We are doing a 6.0 Upgrade and found out that most of the customer modification in the original 4.6C system are lost during the upgrade. Example is  structure KOMKDZ ..we had around 12 fields/components in our original system and when we applied

  • What is the recommended action in response to Adobe's 6-4-10 security advisory for Flash Player?

    Adobe security advisory: http://www.adobe.com/support/security/advisories/apsa10-01.html "A critical vulnerability exists in Adobe Flash Player 10.0.45.2 and earlier versions for Windows, Macintosh, Linux and Solaris operating systems..." Is the Flas

  • Ap;plication help from ESR or Integration Builder

    Hi, We have PI7.1 installed and the Application Help is working from the ABAP side.  However, the Application Help is disabled in Enterprise Services Builder and Integration Builder (java side).  I have not found any documentation on how to enable th