Sales Order from production Order - MD_STOCK_REQUIREMENTS_LIST_API

Hi,
We are using MTO scenario, in which after the MRP run, Production order are created using the sales order / order item / Schedule line.
I can able to view this information in MD04 and also using BAPI 'MD_STOCK_REQUIREMENTS_LIST_API'. Now my problem is how can I identify the Sales Order/ Item / Schedule line based on the production order number in the output of this BAPI 'MD_STOCK_REQUIREMENTS_LIST_API'?
Regards,
Kumaresh

I will pass only the Prod Order as input. And I should get the Sales Order information... Very important is I need the schedule Line Number along with the Sales order and item.
To recap once again,
In MD04..or in BAPI MD_STOCK_REQUIREMENTS_LIST_API, I pass the input
WERKS - Plant Code
MATNR - Material Id
Output should be like this,
MRP element                                     MRP Element Data
PrdOrder                                           OrderNumber/OrderType
CusOrder                                          Salesorder/Item/ScheduleLine1      
CusOrder                                          Salesorder/Item/ScheduleLine2
PrdOrder                                           OrderNumber/OrderType
so with the output, how can I find the Salesorder/Item/ScheduleLine for a particular prod order? I think I am clear with my question.

Similar Messages

  • Purchase Order from Production order

    Hi,
    This purchase order is created directly from production order.( My problem is the material number is no where shown on PO. but when I print it (print preview) i can see the material number along with the Production order number. I am writing a new report and need material no.
    Interesting thing is, even when the Material no is missing. I can see the short txt for material as 'Galvanise'.
    Pls help me in finding the material number.(item wise)
    Thanks & Regards
    Hrishi

    Hello
    To optimize the workflows, you can change certain functions of the standard material master by using customer exits.
    You can tailor the display of the material number to your requirements by using the SAP enhancement MGA00003. If, for example, a material has the number 123, you can use this enhancement to determine that the material number is to be displayed with a prefix such as MAT-. (The number 123 is still saved in the database.)
    Control for the material number assignment
    MGA00002
    EXIT_SAPLMG02_001
    (Internal number assignment)
    EXIT_SAPLMG02_002
    (External number assignment)
    Control for the material number display
    -{}-MGA00003
    EXIT_SAPLOMCV_001
    (Number conversion from display format to database format (input: start))
    EXIT_SAPLOMCV_002
    (Number conversion from display format to database format (input: end))
    EXIT_SAPLOMCV_901
    (Number conversion from display format to database format (input: start))
    EXIT_SAPLOMCV_902
    (Number conversion from display format to database format (input: end))
    Regards

  • Purchase order from production order !!  (Missing material no)

    Hi,
    This purchase order is created directly from production order.( My problem is the material number is no where shown on PO. but when I print it (print preview) i can see the material number along with the Production order number. I am writing a new report and need material no.
    Interesting thing is, even when the Material no is missing. I can see the short txt for material as 'Galvanise'.
    Pls help me in finding the material number.(item wise)
    Thanks & Regards
    Hrishi

    Hi
    1. Check table EKPO, if material number is stored against said PO,
    2. Check ME23N, ME23N, ME22, ME23 screens are u able to see material no. in any of T-code.
    If one of T-code not showing material number, it is sort of bug in system
    Regards,
    NNK
    PS:Award points for useful ans

  • Purchase order from production order for stock material

    Hi,
    Can we issue purchase order for stock materials (item category L) for components in production order. We want a PO account assigned to production order . How can we achieve that.
    With regards,
    Mrinal

    Dear
    1.Goto MM02-Enter componenet item code -Selec MRP4 view -Keep Individula nad Collective indicator as 1
    2.Goto MM02-FG Material -MRP4 view -Keep Individaul and Collective indicator -1 and in Sale.Org1 view keep item categoery as MTO .
    3.Create Sales Order  and run MRP in MD02 (NETCH , 2,1,1,3,2, 2)-If the compoenets are not available , then it will generate PR  with an Account Assing Categery E with sales order refernce and line item .Converthis PR into PO cnd check the same in Accounting Tab .
    This is only possible in MTO scinarion in case you want to have PO account assinged for FG production Order .
    Regards
    JH

  • Intercompany Text-Based Standard Purchase Order from Production Order

    We have a business scenario where a material is made in a plant and then another plant performs a service on that material.  The customer wants the purchase requisition that is created from the production order from the producing plant to apply a vendor that is an intercompany vendor.
    The issue is, these purchase orders are text based purchase orders.  This process works perfectly when there is a material master.
    Scenario:
    Plant X = Production Order to make Material A
    Plant X = Production Order creates a purchase requisition in Plant X; Intercompany Vendor is assigned
    Buyer = Creates the purchase order from the purchase requisition
    Error Message: SAP issues an error message that this vendor cannot be used.
    We are looking for a way to create a text based purchase order (that represents a service) and assign to a intercompany vendor.

    The exact error message we receive is:
    Diagnosis
    You are entering an ordering transaction involving a vendor to whom a plant has been assigned. Normally, materials would be supplied by one plant to another in such a transaction.
    This process involves a delivery and billing document in the SD system. The PO for this appears directly in the delivery due list of the issuing plant (vendor) and therefore does not need to be transmitted.
    However, items without a material master record cannot appear in the delivery due list.
    Procedure
    Items without a material master record can only be ordered from vendors without a plant assignment.
    The point is if we create a vendor without a plant assignment, how can the inter-company posting be accommodated.

  • Copy from Sales Order to Production Order

    Hi all,
    Is there a way to copy direct a Sales Order to Production Order (probably for item with BOM).I am using SAP B1 2005
    Thanks in Advance

    Hello,
    Currently you can choose relevant Sales Order from Production Order but only for information purpose.
    I think you can try to use SDK to implement it.
    Hope this helps.
    Regards,
    Maggie An
    SAP Business One Forums Team

  • Block Sales order from production and shipping.

    Hi Experts,
    I have a requirement to block sales order from production and shipping if the credit limit of the customer is beyound the allowed value.
    Also sales order should not show demand for production until it has been released.
    Can someone throw light on how to acheive this?
    Regards
    Balu
    Edited by: balu umapathy on Sep 13, 2010 6:39 AM
    Moderator message: please work yourself first on your requirement, ask specific question later if required, always search before posting.
    locked by: Thomas Zloch on Sep 13, 2010 1:10 PM

    I will pass only the Prod Order as input. And I should get the Sales Order information... Very important is I need the schedule Line Number along with the Sales order and item.
    To recap once again,
    In MD04..or in BAPI MD_STOCK_REQUIREMENTS_LIST_API, I pass the input
    WERKS - Plant Code
    MATNR - Material Id
    Output should be like this,
    MRP element                                     MRP Element Data
    PrdOrder                                           OrderNumber/OrderType
    CusOrder                                          Salesorder/Item/ScheduleLine1      
    CusOrder                                          Salesorder/Item/ScheduleLine2
    PrdOrder                                           OrderNumber/OrderType
    so with the output, how can I find the Salesorder/Item/ScheduleLine for a particular prod order? I think I am clear with my question.

  • Assign batch number from sale order to production order automatic

    Dear all, I have a question for all. Please help me in this case
    My scenario is make to order
    I have a sale order, when i create sale order, i have assigned batch number at each line item.
    When i run MRP for sale order (MD50), the system generate a planned order for it and I've converted to production order.
    So when I view production order, I think that batch number what I've assigned to sale order will be assign to production order but that is not happen.
    So, can you help me solve this problem. I think that sap can assign batch number from sale order to production order automatic but i don't know how to configure that
    Thanks all

    Hi,
    To the best of my knowledge, when system is generating planned order / production order from sales order system doesnt copy batch number from sales order.
    In fact , you are following wrong practice for generating batch no.
    Follow procedure like this :
    Create sales order without any batch assigning there. Run MRP with MD50 and then convert planned order to Production Order.
    While creation / releasing of Production order, you have option to generate batch automatically by following way :
    Go to OPKP (Production Scheduling Profile) -> Take your plant & give suitable name to Production scheduling profile-> Batch Management tab -
    > Automatic Batch creation in the order maintain this field as
    1     Automatic batch creation at order creation
    or
    2     Autom. batch creation at order release
    This will generate batch number automatically at the time of creation or release of order.
    Then follow same process i.e. Goods Issue, Confirmation & GR for production order.
    So you will get sales order stock in the form of batch managed.
    Check & revert if any issue in above flow.
    Regards,
    Tejas

  • Transfer addition information from Sales Order to Production Order

    Hi,
    In MTO we need to transfer addition information from sales order to production order, such as OUTER DIAMETER and INNER DIAMETER of the product.
    Regards,
    Ahmed

    Hi Ahmed,
    Specific information from sales order in MTO process if you want to pass onto the production order then as suggested by expert production memo can be used.
    Follow below steps.
    Select the item in the sales order and  Goto -> Item -> Text as displayed below
      Create a production memo by specifying the language key as displayed below.
    Once you create production order against the sales order - In production order you can see the text maintained. CO02-Menu Bar - Header -Production Memo
    Thanks & Regards,
    Ramagiri

  • Delevery(Sales invoice) against Production Order

    Dear  All
    In COOIS report can we check the Sales  according to Production order.
    Within a month  can we check the booked sales of that particular order. (Not 1 by 1)
    It should be commulative.
    Rgds
    Pankaj Agarwal

    Pankaj,
    You cannot see these informations in one report
    i.e. sales order qty/delivered qty/production order target qty/GR qty/WIP qty. input being sales order creation date.
    You need to refer to sales order VA05 to get sales order for a perticular month.
    take this sales orders ifrom this report(click on the column and CONTROL C)
    goto COOIS
    in the sales order field, click multiple selection icon click on the green button(import from text file)
    you will get import from local file screen, you click on "upload from clip board" icon...you will get the sasles orders and then you can get the details of thoses production orders for the saales order in that month.

  • Sales order and Production order status

    Hi Colleagues,
    We need to use sales order status functionality, so that when sales manager set status , for example, "dont produce" a production order can not be released.
    Has any one dealt with that?
    Thank you.

    Dear,
    You can give the reason for cancellation  of Sales Order item & block the sales order. When the sales order will get block it will get disappear from MD04 so in next MRP run if there is any planned order it will get deleted. But suppose by that time you had converted the Planned order in Production Order you will get Exception message no. 20 in MD04 list. So this means that there is no requirement & order should be cancel.
    Still you want to have restriction of checking the Sales order is open or not, then i hope you are working in MTO scenario & every production order is created w.r.t SO. You can use following Exit in such case.
    PPCO0021 Enhancement for Order Release
    Exit - EXIT_SAPLCOZR_003.

  • Open Multiple PDF files from Production order/Routing

    Hi Everyone
    We are in ECC 6.0 environment. We have a scenario where multiple documents were attached to single operation and also at multiple operations. But when I was trying to open these PDF documents, only the last file was getting opened and closing the previous file. How can I open multiple PDF files at one time from Production order or Routing?
    Any help is appreciated.
    Regards
    Prasad

    Hi Prasad,
    from DMS standard I regret but such a functionality is not available. In the standard originals can be opened only one after another.
    I think for realising this functionality an individual modificatoin is necessary.
    Best regards,
    Christoph

  • Goods Issue from Production Order in SAP

    Dear experts,
    I faced one issue not yet solve is that my customer created the production order
    then already issue for production for all quantities of child item .
    Example:
    Production OrderItem A
    Item A1 = 2 Qty
    Item A2 = 2 Qty
    Item A3 = 2 Qty
    Issue for Production Item A
    Item A1 = 2 Qty
    Item A2 = 2 Qty
    Item A3 = 2 Qty
    But later on, my customer found out that 1 Qty of Item A1 already damaged.
    So they want to issue one more Qty of Item A1 instead of one that already damaged.
    How can I issue one more Qty for this item?
    Please your advices are necessary for me.
    Best regard,
    Borey

    Hello Borey,
    Solutions may depend upon the way you want to book the cost for the damaged part A1.
         (a) If you want to book the cost to the production order itself (production order is a cost object), manually book consumption for another quantity using MB1A, 261 movement (you will have to mention the production order during posting this consumption).
         (b) If you do not want to book higher cost to that production order, you can:
               1. Extract damaged quantity of A1 from that production order using MB1A 262 movement.
               2. Create a manual QM lot and after rejection, move that damaged quantity to blocked stock.
               3. You can scrap or rework from that blocked quantity later.
               4. Issue another quantity of A1 from unrestricted stock to that production order using MB1A                261 movement.
    Hope I could help you.
    Best Regards.
    Rajen        

  • How to output serial number from production order in GLM ?

    how to pull serial number from production order in wwi template for GLM ?

    Hi,
    Please have a look to this thread:
    BAPI/RFC to get serial numbers for a production order
    Hope it helps,
    Kr,
    m.

  • BOM explosion from Production Order

    Hi All,
      I understand from SAP Help files that we can explode BOM from Production Order using Read PP Master Data. But it also says, that we cannot do this if items have already been issued out. So would like to know is there anyway out to ensure that the production order is reading the latest version of BOM.
      The reason i want to know is because, at present the BOM keeps getting updated & so the work order has to reflect the new items. The BOM contains about 300 or more items, so manual changes is very tedious & error prone at the moment. Furthermore some components are outsourced. So i want to receive them back & post new materials for them. Hope my problem is clear & await inputs
    Vivek

    Hi All,
    Thanks for the inputs. I think for the situation am facing, the Order change management method, should be of help, as the BOM changes does not take place on scheduled dates, for me to fix the BOM explosion dates & assign them. As of now the BOM gets changed, depending the customer requirements, which is unpredictable.
    Clarification required:
    1. The profile which is created using OPL7 & assigned in OPL9 is unique, i.e. for any change numbers of BOM will always follow the profile entered in 'Overall Profile' in Work Scheduling view & i do not need to create new profiles for each new change number of BOM
    2. Once i run the COCM with the new change number, in the production order - components view will i be able to see any error message for those items which no longer feature in the new version of BOM? & will the materials added in the new BOM automatically feature in that list or do i have to manually add these to the order & if so, how will i know which materials need to be added?
      Hope the clarifications sought are clear, await inputs
    Vivek

Maybe you are looking for

  • Return policy on ibook?

    hey guys! i love my 12inch ibook, but i think i need a powerbook for the area im interested in (final cut, ect). i just bought my book in august with extra ram (1gig total), and i know if i sell it on ebay that i will not get as much as i would like

  • How can I unlock comments in a review?

    I saw this question in another discussion, http://forums.adobe.com/thread/648763, but it didn't have any answers and it's over a year old. I have started a PDF review with my editor. He has made comments but I am unable to copy his text because they

  • Want to make a slide show of quotes

    Hello, Not a web design person at all. I have a copy of Flash MX. I would like to add to our web site a box (150 by 300) that has quotes in it that change. A slideshow I am thinking. I have looked and downloaded a few off of websites: http://dynamicd

  • Journal with Groups not LC

    HI BPC Friends I have created Journal Entry Template with header Information Groups and so on. I have entered one Journal Entry with groups='EUR' and saved it. I have seen that it saved the journal with groups= 'LC' Is not possible to do a Journal wi

  • Preview Unavailable for This File Message

    Recently when shooting with 6D, I noticed that occasoinally images did not pop up on LCD.  Since I rarely chimp., I thought that images had merely closed down before I had checked. When I previewed images on ProSelect, all were there.   However, when