How to get Production Order Quantity

I have material number and plant. From this information how to get production order quantity that is displayed in the transaction MD04.
Thanks,
Vinay.

Hi Vinay,
Have you looked FM <b>MD_STOCK_REQUIREMENTS_LIST_API</b>?
Hope this will help.
Regards,
Ferry ianto

Similar Messages

  • How to get Production Order wise Actual Values

    Dear CO Experts,
    How to get Actual Values (Raw Material Issue, Activity Confirmations & OH Calculations & Goods Receipts from Production) each Production Order wise ?
    My Scenario is Product Cost Collectors (PCC)  with Production Orders.
    If we select above scenario Production Order is Statistical and PCC is real cost object.
    For PCC is Period wise we can track the cost Periodically in individual Material.
    But my client is asking how to see the each Production Order wise Actual values. Is there any T.Code ??
    In Production Order I am able to see only Plan values (CO03).
    Waiting for your favorable reply.
    Regards,
    KBR.

    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

  • ABAP Code to get Production Order Quantity for a material-Status REL,CRTD

    hi all,
    I am new to SAP. I am stuck with a problem while writing a abap code for getting all the production order quantities for a material with System Status REL and CRTD. Please help me out. This is what i tried to do.
      IF t_mat[] IS NOT INITIAL.
        t_mat2[] = t_mat[].
        SORT t_mat2 BY matnr.
        DELETE ADJACENT DUPLICATES FROM t_mat2 COMPARING matnr werks.
        SELECT auaufnr afgamng af~plnbez INTO CORRESPONDING FIELDS OF
        TABLE t_ord1 FROM afko AS af INNER JOIN  aufk AS au ON
          afaufnr = auaufnr
        FOR ALL ENTRIES IN t_mat2
        WHERE af~plnbez = t_mat2-matnr
        AND   au~werks  = t_mat2-werks
        AND   af~gltrs IN s_gltrs
        AND   af~gstri IN s_gstri
        AND   au~phas0 IN s_phas0
        AND   au~phas1 IN s_phas1.
      ENDIF.
    Thanks. Regards.
    Sandeep

    Hi
    There is one std tcode COOIS where u can get the information what u have asked
    Pls check
    regards
    Vijay

  • Production order quantity

    hi,
    I get a mistake when I confirm a production order. I saw it intransaction COGI. This mistake is 'Production order quantity is exceed by ...' How can I solve it?
    Thanks and regards,

    Hi Hilal,
    Goto C013, give the production order Number and reverse the each confirmation supposse u have done operation lvel cofirmation & ensure the goods movement.
    And confirm again with correct order qty,
    Regards
    Pradeep

  • Changing of production order quantity not allowed

    Dear Gurus
    My client is converting production order from planned order .These  planned orders have been generated from sales orders during mrp run. What my; client wants is that the production order quantity generated from the planned orders nobody can change that in either co02 or in co01. How can this be possible?
    Regards
    Sandip Sarkar

    Dear Sandeep,
    u can do this Via SHD0
    Plz find the below link & make the required field as output only
    [https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/transactionVariant-AStepbyStepGuidefor+Creation]
    Regards
    kumar

  • I would like to know how to get the unrestricted quantity excluding actual customer ordr quantities on a given group of items?

    I would like to know how to get the unrestricted quantity excluding actual customer ordr quantities on a given group of items?

    Hi , Welcome to the HP Forums!
    It is a terrific place to find answers and tips!
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide.Learn How to Post and More I grasp you would like to replace the keyboard and would like the part number and where to purchase one. Here is a link to the HP Pavilion 17 Notebook PC HP Pavilion 15 Notebook PC Maintenance and Service Guide .  Please note chapter 3, page 20, item 2 for the replacement keyboard part numbers. You stated you were having a difficulty locating where to purchase the part.  Here is a link to  HP Notebook PCs - Ordering HP Certified Replacement Parts for your convenience. You can also try a Google search with the part number for other vendors that may have one.   To say thanks for replying please click the thumbs up icon below. If this has addressed your query please choose solution provided to help other people locate this information.   Best of Luck!

  • GR quantity more than production order quantity triggering cost difference

    Hi Gurus,
    We have observed a scenario where the cost(price) dfference account getting hit whenever the GR quantity is greater than the production order total quantity. The dollars posted to this acount are directly propotional to the difference between the GR quantity and the production order quantity.
    The total quantity specified in production order is 1 M2U and GR quantity is 1,000 M2U.Material price is $195.65.
    Accounting Document;
    Inventory account           - 195.65
    Offset account                - 200.00
    Cost difference account  -    4.35
    If we do GR for less than or same quantity as in the production order, this account is not getting triggered.
    Any idea what is causing this scenario? I really appreciate if you can share with any SAP note related to this.
    Thanks,
    Mano.

    Hello Gurus,
    One  more observation is,
    The palnned costs and actual costs are always different when dealing huge quantities. But the cost difference account is only getting triggered if the actual quantity is  more than the palnned quantity.
    And,
    when the difference between atual quantity and palnned quantity is huge then
    Planned costs are booked to the inventory account
    Actual costs are booked to the prodcution cost account.
    Significant cost variance is booked to the cost variance account.
    When the difference between actual quantity is less than/equal to planned quantity is not so huge then
    Actual costs are booked to the inventory account
    Actual costs are booked to the prodcution cost account.
    Is this a standard behaviour?
    Thanks,
    Mano.

  • How to get sales order number before saving in VA01 by using parameter

    Hi,
    Please let me know how to get sales order number in transaction VA01 before saving it by using parameter in SU3.
    I tried to set parameter in SU3 "AUN", but it is not working as required, means sales order number is not appearing before saving.
    can you please suggest how to do it?
    Thanks & Regards.
    Rahul Verulkar

    Hi,
    In case of Support project, we get the high severity issues from users and needs to be closed withn 2 hours... so what we do we get the requirement from user and checking the same in production from our id, but we can not save the sales order as we are not authorized to do the same, so in such cases it is required to get the sales order number before saving... where we can guide the users.... but actuallly it is not getting saved in the table until and unless u save it manually. It works like a material master... when u create material master, the material number appears in advance in material number field "MATNR"
    If it is possible can you please suggest step by step to work on parameter in SU3 for sales order number before saving.
    Thanks & regards,
    Rahul Verulkar

  • GR quantity less than Production Order quantity

    Hello all
    I am working at a client where they produce Make-To-Order items specific to a Sales Order by triggering an Assembly Order (Production Order).
    Now I am facing a tricky situation & hence want some advice from you guys.
    In a generac scenario when an order comes for a MTO material ABC, a Production Order is triggerred for that item.
    I can navigate to this Production Order from the Sales Order > Schedule Line tab (Just FYI)
    Now once the Production Order is confirmed for each Operation on the floor using CO11N, the material is receipted in the Inventory & the requirement gets fulfilled.
    Now sometimes the Production Order is Goods Receipted for a Lesser quantity as compared to the Production Order Quantity.
    e.g. Sales Order Quantity = Production Order Quantity = 3 EA & the Delivered Quantity (GR qty) = 1 EA
    In such a case, in MD04 the system still shows an open requirement for 2 EA on the same Production Order Number
    Is there a way to trigger another Production Order for the remaining quantity automatically ?
    If anyone can share their thoughts proposing possible solutions to handle such a scenario, it would be a great help.
    I am an SD consultant & hence cant think ways to handle the scenario & propose it to the Business.
    Any help will be appreciated
    Thanks
    Vin

    Hello
    Thanks for all your replies.
    As of now the 1st scenario is no more an issue. The business process is modified to fix the problem.
    Now my main problem is the 2nd scenario which I will explain better here.
    In our scenario MTO items when placed in a Sales Order triggers a Production Order.
    This Production Order needs to be confirmed for each operation & at the final step the MTO item is pushed into the inventory.
    The Production BOM & the operation overview for the MTO item is as shown below:
    E.g.
    Operation Overview:
    Operation            Work center                  Control key
      0010                    Prod                               PP01
      0020                    Pack                               PP01
      0070                    Confirm                          PP03
    Routing:
    Item                Material             QTY        Unit            Operation
    0010               ABC                  100         G                0010
    0020               XYZ                  10           G                0020
    Now as shown above, the business users who produce the MTO item will confirm operation 10 & consume raw material ABC at the Work Center = Prod.
    Then at the Work Center = Pack, the packaging material is used & operation 20 is confirmed.
    Finally after the packing is done, at the Work center = Confirm, the operation 70 is confirmed when the MTO item is receipted in the Inventory.
    Before it is receipted at the Confirm work center, a user monitors the quality of this produced item. If it is good only then it is receipted in the inventory.
    Now depending on when the Sales Order is fulfilled, this MTO item will be shipped.
    Issue:
    Now when the MTO item produced passes thru the high level quality check, it gets receipted in the inventory at operation 70.
    However in a case where the some or all the qty of the MTO item ordered doesn't pass the quality check, they will be scrapped physically.
    Thus my understanding is that e.g. 3 qty of the MTO was ordered & 1 got rejected, then the user confirming the step 70 will enter YIELD = 2 ea & Scrap = 1 ea and do the final confirmation.
    This means that the original demand of 3 ea is still incomplete. 1 Ea still need to be made as a Sales Order Stock.
    Now the function needed is that the system should automatically generate a Production order for the remaining 1 Ea as a Sales Order stock.
    I dont know if this can be achieved by receipting the 1 EA as REWORK on the CO11n screen at operation 70.
    Also I am not sure if Production Order Split case would work in this case.
    I would need some input from all the PP gurus. Any solution which be close to what functionality is needed will be greatly appreciated.
    Thanks
    Vin
    Edited by: vinit parkar on Mar 3, 2010 5:04 PM

  • How to trace production order history

    Hi,
      how to trace production order history, with all information like some addtion and deletion of components in production order.
       I need the history like how we are doing ECM in master data history.
    Regards,
    S.Suresh.
    Edited by: suresh subramanian on Jul 16, 2008 7:31 AM

    Dear Suresh,
    Please refer the link,[http://help.sap.com/saphelp_46c/helpdata/en/35/ce8d378d0302cae10000009b38f9b7/frameset.htm]
    Regards,
    R.Brahmankar

  • How to block production order creation when maintenance order is generated.

    Hi All,
    Kindly share how to block production order generation when maintenance order is generated.

    Integration between PP module and PM module
    PP/PM Workcenter Integration
    There are many threads & documents available. Please do some search.

  • How to get  sales order data in R/3. Any FM?

    Hi ,
    Is there any FM in R/3 to get sales order data.
    In CRM we use CRM_ORDER_READ to get the Header and Item details. Like wise FM in R/3 is required.
    Actually I have to test 'Usage' in sales tab of VA01/VA02/VA03.
    How to get the order details? what is the user exit for ORDER save?
    If any body knows please do let me know.
    Thanks and Regards
    Harish

    Hello Harish,
    Please use BAPI_BUSPROCESSND_GETDETAILMUL to read details of sales order. This works as a remote enabled counterpart of CRM_ORDER_READ.
    Similarly if you want to display sales order from R/3, use FM BAPI_BUSPROCESSND_DISPLAY.
    Regards
    Kaushal

  • How to get purchase order number from delivery number?

    hi all,
    how to get purchase order number and item if i have only delivery.
    and in same way how to get po number and item if i know only batch number.
    kindly give me some solution i need this urgently.
    thanks in advance.

    Check the logic below:
    * Selecting the Sales Documents from VBFA for corresponding Invoice
        SELECT vbelv
                     posnv
          FROM vbfa
          INTO TABLE gt_itab3
         WHERE vbeln EQ gt_itab5-vbeln
           AND posnn EQ gt_itab5-posnr
           AND vbtyp_n EQ 'J'.
        IF sy-subrc EQ zero.
          SORT gt_itab3 BY vbelv posnv.
        ENDIF.
      ENDIF.
      IF NOT gt_itab3 IS INITIAL.
    * Selecting the Purchase Orders from VBFA for corresponding Sales Documents
        SELECT vbeln
               posnn
          FROM vbfa
          INTO TABLE gt_itab4
       FOR ALL ENTRIES IN gt_itab3
         WHERE vbelv EQ gt_itab3-vbelv
           AND posnv EQ gt_itab3-posnv
           AND vbtyp_n EQ 'V'.
        IF sy-subrc EQ 0.
          SORT gt_itab4 BY vbeln posnn.
        ENDIF.
      ENDIF.
    Batch number will be there in delivery item.
    Regards
    Kannaiah

  • How to get the order for these decoration​s?

    hello,
    I want to programatically resize all the controls, indicators and decorations on the front panel.
    I am getting the references of all the controls and indicators and able to resize them, as each n every control and indicator has a tabbing order set to it.
    I am also getting the references of all the decoration used on the front panel but not able to get the order.
    how to get the order for these decorations?

    The order of the decorations is the same as the back to front order. So you
    can change it by bringing decorations to front, or sending them to the back.
    It has been suggested many times that decorations should have labels as well
    as controls, but at the moment there is no way to tell which reference
    belongs to which decoration (besides position and order).
    Regards,
    Wiebe.

  • How to get  shipped orders, unshipped orders and orders with open deliverie

    Hi
    how to get  shipped orders, unshipped orders and orders with open deliveries
    can anybody answer this.
    points would be rewrded
    Thanks

    Hi,
    You can check in the VBUK table for the status of an order. If you do a Query on VBUK table to get all the orders whose delivery status is not 'C' or the total goods movement status is not 'C' you get to know the orders not yet shipped.
    Hope this helps. Reqard points if useful.
    David.

Maybe you are looking for

  • IWeb site still uploaded but not in iWeb on my Mac

    Hi everyone, I am hoping for a simple fix. I've just opened iWeb. I've used it successfully for a couple of small sites of mine for about 18 months. Strangest thing......There is no sign of any of my sites in iWeb. Thankfully the sites are still "liv

  • How to disable web service authentication by sap-user string in url

    Hi Experts, I am publish some RFC function as webservice for my SAP AS ABAP, i set the authentication as basic. I can using http basic authentication to call the service and get the result. But it also accept passing user/password through the url str

  • CORBA Bug?

    Hi all, I got the following error.... Can't understand what happen? I can get the interface from the server. However, I cannot invoke any method. Any thought? Thank you, edu.cmu.nat.project6.server._SupervisorInterfaceStub:IOR:000000000000003849444c3

  • Contacts transfer to pc

    My Lumia 900 has a damaged screen. The screen is totally dead. How can I transfer contacts to my pc without having anything on the phone itself to go by? Solved! Go to Solution.

  • I have photoshop cs3, and often get "no disc error in drive -x-" error (optical drive)...

    Frequently when I startup my PS CS3 within the startup sequence for the software it pops up the error "No Disc in Drive E:" - which refers to an optical drive on my computer which I very rarely even use. I click "Continue" and it pops up again - some