Skip to Content
author's profile photo Former Member
Former Member

Block sales order when Ordered quanity is greater than stock.

Hi SAP Gurus,

How the set up is done to automatically block the sales order and should not allow to create the delivery document when the inventory is less than the ordered quantity.

Looking for a quick response.

Thanks in advance.

Bhaskar

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 12, 2011 at 06:52 AM

    Hi Bhaskar,

    you can use in-completion procedure to block the sales order in-case of schedule line quantity as"0".

    Please find the below link

    Sales Order Confirmed Quantity Zero

    Thanks

    Dasaradha

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 12, 2011 at 06:34 AM

    Hi

    Use the functionality of ATP. Check this link :-

    [ATP & TOR|https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action&pageid=29323]

    And next time, please search before posting.

    Regards,

    Amitesh Anand

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 12, 2011 at 06:43 AM

    Hi Bhaskar,

    As per my knowledge there is no provision in standard SAP,for this you need to go for enhancement,

    You can prepare logic like where VBAP - KWMENG is greater than the MBEW - LBKUM then system will propose automatic delivery block. VBEP - LIFSP should take any one reason for delivery block.

    User exit : MV45AFZZ

    Check and revert

    Regards

    Ram

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 12, 2011 at 07:15 AM

    Dear Bhaskar01,

    There are 2 possibilities.

    1. If the inventory stock is 100 and customer asks you 150 system will confirm the quantity 100 now and 50 will be confirmed after the RLT.In this delivery can be made for 100 quantity today.You can't deliver 150 in single go thats today.

    2. If inventory stock is ""ZERO" if you raise the sales order system will not confirm the quantity todaybut it confirms end of the RLT.If you deliver the goods today for that customer system will not allow you to do so, it will give error.

    For these you no need to go for enhancement it can be achieved by the standard configuration settings.

    If your requirement similar this

    inventory is 100 and customer ordered 120 then system should block the entire sales order.

    Then i belive not possible in standard as above expert suggested you may need to go for development.

    Try to convince your core team with above suggestions , since going for enhancement is not ideal fix.

    Hope it will help.

    Check and revert.

    Thanks&Regards

    Raghu.k

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 12, 2011 at 09:07 AM

    Blocking delivery document creation when ordered quantity is greater than stock should be done at delivery item requirement routines.

    Ask ABAPer to build a customized routine from routine "101" for example.

    In VTLA, for respective Outbound type, and item category, assign the customized routine to "Order requirements".

    With a check here, Sales order can be blocked from delivery creation.

    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.