Skip to Content

MRP control through STO


We have one critical issue. We have a different depots with plant code and this depot place the requirement to production plant by STO process.

Depot creates the Stock transfer order to production plant mentioned production plant code in supplying plant field in me21n.

Then production order get the information that so and so depot has asked for the particular product. But when the MRP is run. planned order are created and converted to production order. Here we loose the assignment control to know that this production order is for which depot.

Like is sales order we get the details so and so production order is for particular sales order. But In case of STO we are not getting the details.

Please suggest if there is any valid solution for this issue.



Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Nov 19, 2015 at 08:54 AM


    I think you have already posted same query,

    There is no direct link between the Production order and the STO in standard SAP.

    Please refer the below discussion.

    Best Regards,


    Add a comment
    10|10000 characters needed characters exceeded

    • Hello

      There is no direct link between the STO and the production order. In addition, there is no STO special stock, such as the sales order special stock.

      There is a BAdI that can be used to include additional columns on MD04 and another MRP transactions, so you can use it to create your own logic to link the production order and the STO. A complete list of the MRP BAdIs is available on BAdIs for MRP.


  • Posted on Nov 19, 2015 at 07:17 AM

    Hello Sun Riser,

    As per my knowledge only in MTO Case system will consider the requirement from sales and make the production against that customer requirement through the planning strategy 20

    but in your case STO is kind of demand from receiving plant here the requirement will flow to the supplying as ORD DS (System will not store the STO PO in any planned order / Production order because you are using Planning strategy 10 (system will consider the existing stocks also while MRP run)

    if you want to track means please add one custom tab in the production order then whenever you are converting against ORDDS planned order to production order then punch your STO PO in that Custom field that will store in the AFPO / AFKO tables


    while making the stock transfer from supplying plant to receiving plant ask the user to punch the same production order in the MB1B (GI/GR Slip or Header text)

    through this way we can be able to track



    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Sun,

      we can do the plant to plant stock transfer using MM as well as SD process

      MM means with respect to STO PO will do the 351 movement through this stock will lies in Transit

      then with respect to that receiving plant will do the GRN 101 Movement

      SD means what the process you are doing that only

      any way through custom tab you are adding the STO PO in the Production order hence we can track easily



  • Posted on Nov 20, 2015 at 12:04 AM

    Hi Sun Riser,

    If you have APO you can use the pegging relationship for this.

    If not, there is no link in the standard SAP. You will have to make an enhancement for this.

    Kind Regards,


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.