Skip to Content

MTO Scenarion - Warning Message while blocking Sales Order Line Item


There is a requirement that in MTO Scenario.

Strategy 50 is used for MTO Line Items

If sales order is created for such items then planned order is created for customer stock in stock list.

This planned order are then converted into Production Order.

Now if some user goes and blocks the Sales Order Line Items for which Production Order exists then there should be a warning message "Production Order Exists" may the production order be at any stage .i.e. created or Released and so on.

Currently If the Goods receipt for that Production Order is done then system displays warning saying "Sales Order stock exists"

Is there any standard setting through which we can display message when user blocks SD MTO LIne Item and its production order exists.

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    Posted on Apr 22, 2013 at 10:36 AM


    This warning message is generally triggered for ATO, not for MTO.



    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 22, 2013 at 04:17 PM

    Hi Gaurav,

    Please take your developers help, and use the Function exit EXIT_SAPLCOBT_001 under the Enahncement PPCO0001.

    • At the time of Production order creation or save, you may update the Document flow table VBFA with subsequent document category as '2'.
    • Include necessary validations for order statuses,etc., as well.



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 22, 2013 at 06:26 PM

    Go to include MV45AFZZ, via SE38, in the bottom of the page you will see a form USEREXIT_SAVE_DOCUMENT_PREPARE, in that, insert a Z include and write the ABAP code to give a warning message, this way whenever they block a sales order for which a production order already exists, it will give an information message or warning message.

    Take your ABAP developer help.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 26, 2013 at 10:28 AM

    Hello All,

    The above functionality is not possible in Make to Order scenario .i.e Strategy 50 .

    It is possible only in ATO Strategy ( 80 & 82) in standard SAP.

    We need to do Development for availing the above described functionality.

    Thanks all for Your Help.

    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.