Production Order Report with Cost

Hi,
I am trying to create a report using query to show the production order details, including the components item code (can be inventory or non-inventory), issued qty, component cost of each component and product cost.
Can anyone help?
Thanks.

Hi,
Try this
SELECT T0.[DocNum], T0.[Status], T0.[DueDate], T0.[ItemCode], T3.[ItemName], T3.[ItemCode],
T3.[OnHand], T1.[BaseQty]*T2.Quantity 'Base Qty', T1.[PlannedQty]*T2.Quantity 'Planned Qty',
(Select sum(isnull(T4.LineTotal,0)) from IGE1 T4 where T4.BaseEntry = T1.DocEntry and T4.ItemCode= T1.ItemCode and T4.BaseType = '202')as 'Cost'
FROM [dbo].[OWOR]  T0
INNER JOIN [dbo].[WOR1]  T1 ON T0.DocEntry = T1.DocEntry
INNER JOIN [dbo].[ITT1]  T2 ON T1.ItemCode = T2.Father
INNER JOIN [dbo].[OITM]  T3 ON T2.Code = T3.ItemCode
WHERE T0.[ItemCode] = '[%0]' AND T0.[DocNum] = '[%1]'
Regards,
Bala

Similar Messages

  • Report to view Production order wise atcual cost when PO is assigned to PCC

    Hi All,
    Can anyone help me to get the report for production order wise actual cost incurred when that Production order is assigned to PCC (Product cost collector).
    Is it possible through Summarization hierarchy or Product drilldown?
    If yes, can u explain the steps.
    Regards,
    Durga.

    Hi Bhaskar
    You are in Alaska and you wanna eat vegetarian food
    You cant get values at Prod order level if you have chosen PCC as cost object.... You will only get Qty at Prod order level
    To get a bird's eye view of costs incurred in PCC, execute report MCRY with PCC as the input...  MCRX shows only Qty info for components
    br, Ajay M

  • Creation of production order report as per format

    Hi!!!!
    Gurus!!!!!
    I want production order report in some required format.
    How to see the format on production order
    How to see the report in the following format.
    Company name:-
    Material requirement Number:-
    date :-
    Time:-
    Due Date:-
    Plan Date:-
    Production Details:-
    Item Code:-
    Item Description:-
    WH:-
    Planned Quantity:-
    Completed Quantity:-
    Completed date:-
    Rejected Quantity:
    Waste and Scrap:-
    Evaporation Quantity:-
    Components:-
    Sr.No.      Item No.   Desription             BOM Quantity  Planned Quantity  Issue Quantity
    1     1000     RED                 20                     200                      200
    2     1001     BLUE                 30                     300                      300
    3     1002     Waste and Scrap -0.45987     -0.9845           -0.984567
              Total Quantity      50.45987     500.9845                     501.98888
    Order Remark.
    I want to see the report in this format.
    Thanks with Regards,
    Nitin

    Nitin,
    Your requirement certainly qualifies for creation of a new Production order Print form and custom print program if you are looking at printing at individual order. If you are looking at report, then certainly a custom report.
    Regards,
    Prasobh

  • Re:No release of production order without standard cost estimate

    Hello Experts
    I do not want to release any production order without standard cost estimate
    I have come acroos the same problem raised by some other users and can you please suggest how to achieve this?
    Is there any way to achieve this without user exit?
    Thanks and Regards
    Subbu

    Hello Subbu,
    In this case, you need to put the status as "B4" Blocked in costing 1 view of material master, when you create the costing view and change it to "03" status when you released the cost estimate.
    Please note that this field can be overwritten in MRP view also. Hence please get the good control of material master and good coordination with PP team to achive this.
    Please let me know if you require any clarifications.
    Thank you,
    Regards,
    Santosh
    Please reward points if helpful.

  • Production Order GR with Planned Price

    Dear All,
    We are using following steps for production order=
    1) Create BOM, for Semifinished material with Price control = "S"
    2) Create Roting, with all Keys PP01, PP02 and PP03 with Material allocation to respective steps
    3) Standard Cost Estimation using CK11N and CK24
    4) Create Production order using CO10 with Material and WBS Element.
    5) Material issue against Reservation. But the material may be changed after releasing prodction order first time. And Actual issue for the BOM material may be more or less in qty.
    6) Final confirmation with completion of last phase confirmation of production order.
    7) Production Order TECO
    8) Prodction Order Settlement using KO88
    Now my problem is while I am doing final confirmation the GR done is with Planned price (Based on BOM) + Subcontracting charges which it is set with production order while releasing it for the first time.
    Kindly tell me is the system behaviour is correct or wrong?
    We are expecting that GR should happen with the actual material issue price + Subcontracting charges only.
    Please reply.
    Thanks & Regards,
    Vishal Kadia

    Vishal,
    This is for your information.
    If you have production order of 1 EA- Starnadar Price =10 rs
    Raw material cost=5
    Activity Cost=2
    Overhead Cost=2
    So COM=9 rs
    Suppose after production order creation plan cost is 9 rs, hence after confirmation there is no varience (plan vs actual) so actual cost is also the same 9 rs.
    Now as you said if system will go for GR against actual cost, that will post in cost of good mfg account at the time of GR.
    As per std SAP after GR also you can issue the material to that order, hence if you will go for more goods issue of new material against that order (unplanned issue) of rs 5 for the same order then the actual cost will again change (recalculated), but for that oredr material is allready GR with actual cost, then you will not able settle the cost of newwly issued material on that order.
    So whatever the plan and acual cost GR will be done against std price maintioned in material master ( 10 rs)
    This is my understanding.
    Hopes that will clear your dought.
    Tara

  • Production order report

    Can any suggest me the SAP Standard production order report apart from COOIS .
    Thanks
    JJ

    hi  jj
    OPtoin 1 .
       you will get the data for production in AFRU table. and afpo table for material.
    you can use the following code.
    select     aufnr
               budat
               ism01
               ile01
               gmnga
               lmnga
               meinh
               gmein
               ism05
               ile06
               werks
               stokz
               stzhl
               wablnr
               rueck
               rmzhl
        into corresponding fields of table it_afru
        from   afru
        where  budat in full_date "so_date
        and    werks in so_plant.
        AND    stokz NE 'X'
        and    stzhl Eq 0.
    For Material Number-----
        select aufnr
               matnr
               verid
               umrez
               pwerk
               dwerk  from afpo into corresponding fields of table it_afpo
                     for all entries in it_afru
                     where  aufnr = it_afru-aufnr
                     and    matnr in so_matnr.
    and get  it in one table accordeing to your requirement
    Option 2
    Use Standard Transactions like COOIS or MB51 (With movement type 101) for calculation your requoiremnt and make layout for requiremnt.
    rgds
    BV

  • I want to run an open order report with no goods receipt

    I'm looking to run an open order report with no confirmations(i.e.the order must have no status like LA,Z4,Z5,Z6)and no goods receipt.
    ME80FN is still giving me orders that have no confirmations but closed.
    I tried using a logical database but no luck.
    What can i use to achieve this open order report?

    Hi,
    You can write a small report for this requirement:
    Just select all the PO's from EKKO and EKPO table into an internal table(ITAB) with the given where condition.
    Write a select statement for the MSEG for all entries in ITAB into an seperate internal Table(ITABM).(nothing but all GR's entries)
    Compare Both internal tables and delete all entries which are present in second Int table ITABM from the first.
    That's all.
    The remaining entries are nothing but the OPEN PO's without any Goods Receipt.
    Regards,
    Anji

  • Sales order report with order attachments

    Hi All
    I am writing a program for a 2 part report that gives a list of sales orders with attachment flags and a list of invoices that do not have the output processed due to the presence of attachment flag.
    Firstly i need help regarding few queries in the process of writing this program.
    1. How can i distinguish between a sales order with attachement and one without an attachment.
    2. What is the related field for attachment in sales header/sales item table(s) or any other sales related table which will contain information of the attachment in the sales order.
    3. If I have an attachment in sales order, will it have an effect in the output being processed for the invoice for that order.
    Thanks in Advance
    --Mike

    Hello Erik,
    is there a sales order report with the complete line-item pricing
    breakdown. For example, In VA05 I'm only able to get the Net
    Price and Net Value as an output. I would also like to view the
    breakdown of the conditions (e.g. disounts, tax, etc.)
    Is there another report in SAP that will show this? Or a backend
    table I can pull this information from to create a query?
    The best way to handle your requirement is to create a Custom report using the standard table for Sales Order i.e. VBAK and you can pick up the Document Condition Number. You can pass this number to table KONV and pull up all the values for the active contion type which was responsible for Sales Order price calculation. Please reach out to a ABAPer to develop this sort of a custom report.
    Just FYI, if you want to check out all the value for a specific condition type, then you can use the standard report i.e. V/LD.
    Please update your post after carrying out this exercise.
    Regards,
    Sarthak

  • Sales Order Report with Pricing Breakdown

    HI, is there a sales order report with the complete line-item pricing breakdown. For example, In VA05 I'm only able to get the Net Price and Net Value as an output. I would also like to view the breakdown of the conditions (e.g. disounts, tax, etc.)
    Is there another report in SAP that will show this? Or a backend table I can pull this information from to create a query?
    Thanks, Erik

    Hello Erik,
    is there a sales order report with the complete line-item pricing
    breakdown. For example, In VA05 I'm only able to get the Net
    Price and Net Value as an output. I would also like to view the
    breakdown of the conditions (e.g. disounts, tax, etc.)
    Is there another report in SAP that will show this? Or a backend
    table I can pull this information from to create a query?
    The best way to handle your requirement is to create a Custom report using the standard table for Sales Order i.e. VBAK and you can pick up the Document Condition Number. You can pass this number to table KONV and pull up all the values for the active contion type which was responsible for Sales Order price calculation. Please reach out to a ABAPer to develop this sort of a custom report.
    Just FYI, if you want to check out all the value for a specific condition type, then you can use the standard report i.e. V/LD.
    Please update your post after carrying out this exercise.
    Regards,
    Sarthak

  • Creation of production order report

    Dear,
    Gurus !!!!!
    I am working on production order report.
    Could you give me some idea how to create a production order ,stock overview report and
       work center reports.
    How I see it .
    Regards,
    Nitin

    Dear Nitin,
    use std report availble
    1. production order COOIS
    2. Stock overview MMBE, RWBE, MB5B, MB52
    3. For work center use CR05/06/07/08/10/15/60/80
    sree

  • Cost Center Report with Cost Element wise Subtotal

    Hi All,
    We have a requirement where customer wants a Cost Center report with Cost Element wise Subtotal and selection options required are Company Code, Cost Center, Cost Element.
    KSB1 solves the requirement, but when executed for 2 or more company codes it is taking 3 to 4 hours.
    The other alternative report we tried is S_ALR_87013611- Actual/Plan but this report gives debit and credit values in seperate columns.
    Please let me know if we can copy the report S_ALR_87013611 and change it using report writer to have the output by Cost Element wise total.
    Also please let me how we can increse the speed of KSB1 report.
    Thanks
    Satish

    for KSB1 Report the following is my suggestion
    1. Please go to the selection criteria for the cost elements and de select the secondary cost elements in the the exclude range and try running the report this is generate the report faster.
    2. also check the date range please give the date range for 3 t months and if you want to run for multiple company codes. if you want to execute it for longer periods say 9 months or 6 months generate the report in 2 to 3 installments and download them to your excel and consilidate them in excel for your analysis
    Best Regards,

  • Production Order Report - System Query

    The Production Order Report in v2005A SP01 is not implemented in v2007A.
    This report is important to some of our B1 user customers.
    If the 2005A report is copied and pasted into the Query Generator in 2007A, it appears to work correctly, but the risk is that:-
    (a) table changes which have been made have effects which aren't apparent on normal inspection, and
    (b) it will eventually be lost during upgrades and users will have to recreate it themselves, for which many don't have the expertise.
    Please verify that the functionality of the 2005A query remains correct in 2007A, and reinstate it as a system query in a future release.
    Regards,
    Mike Burmeister

    Hi,
    In SAP B1 2007A SP01 PL10, there is a change log. You can check all the differences made by user in the pass in the change log.
    the table is AWOR. The product no. is taken from OITM. You can use both table in order to find out the comparison
    JimM

  • User Exit for Production Order confirmation with CO15

    Hi All,
    what User Exit I should use when validating batch when we do Production Order confirmation with CO15.
    Not when we create or release a Production Order.
    Will reward,
    mindaugas
    Edited by: Mindaugas Kazlauskas on Jan 30, 2008 5:03 PM

    Hi
    The Follwing Userexits available:
        Transaction Code - CO15                     Enter Production order Confirmation
    Enhancement/ Business Add-in            Description
    Enhancement
    CONFPP01                             
      PP order conf.: Determine customer specific default values
    CONFPP02                               
      PP order conf.: Customer specific input checks 1
    CONFPP03                              
       PP order conf.: Cust. specific check after op. selection
    CONFPP04                             
        PP order conf.: Customer specific input checks 2
    CONFPP05                               
       PP order conf.: Customer specific enhancements when saving
    CONFPP06                               
       PP Order Confirmations: Actual Data Transfer
    CONFPP07                               
       Single Screen Entry: Inclusion of User-Defined Subscreens
    CONFPS01                              
       PS confirmation: Determine customer specific default values
    CONFPS02                               
      PS confirmation: Customer specific input checks 1
    CONFPS03                             
        PS confirmation: Customer specific check after op. selection
    CONFPS04                              
       PS confirmation: Customer specific input checks 2
    CONFPS05                              
       PS confirmation: Customer specific enhancements when saving
    CONF0001                               
      Enhancements in order confirmation
    CONFPI01                              
       Process order conf.: Calculate cust.specific default values
    CONFPI02                               
       Process order confirmation: Customer spec. input checks 1
    CONFPI03                              
       Process order conf.: Cust. spec. check after op. selection
    CONFPI04                               
       Process order conf.: Customer specific input checks 2
    CONFPI05                              
       Process order conf.: Cust. spec. enhancements when saving
    CONFPI06                              
      Process order confirmation: Actual data transfer
    CONFPM01                             
        PM/SM order conf.: Determine cust. specific default values
    CONFPM02                             
        PM/SM order confirmation: Customer specific input checks 1
    CONFPM03                               
    PM/SM order conf.: Cust. spec. check after op. selection
    CONFPM04                              
       PM/SM order conf.: Customer specific input check 2
    CONFPM05                              
       PM/SM order conf.: Cust. specific enhancements when saving
    If it is helpful rewards points.
    Regards
    Pratp.M

  • MD4C - Multilevel order report with a selection of production/process order

    Hi Experts,
    We have this request:
    We need to check the availability check for different production orders, with multilevel mode, but the tcode MD4C accepts only one production order.
    We have seen that we can actually use the same tcode with different sales orders.
    Someone tell me if it is possible to change the screen on production orders or tell me which FM can be used in a Z report ?
    Thanks in advance
    Marco Ferrari

    Dear Macro ,
    Are you really particular on MD4C ?
    I would rarher say there are good report in SAP standard , available to fullfill your requirement .Why do not you try the blelow report for your requrement :
    1.COOIS
    2.COHV
    3.CO46
    In COOIS -Choose Order Header  and Select Collective availability check -Enter Order Type and Plant  and hit execute button .
    It will give you the result what you are looking for and also goto Header after execution -Select colourful chekcer box "Select Lay out " Change as you wish too with your required field information in display column
    Hope this will be helpful
    Try and revert
    Regards
    JH

  • 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

Maybe you are looking for