Skip to Content
avatar image
Former Member

Block Sales Order creation if the stock is zero

Dear Gurus,

Is there anyway we can block from creation of Delivery Order if the stock qty is zero (eg: in MMBE no stock at all).

Or if there's other suggestions, eg. either to block upon Sales Order creation, pls do inform.

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 25, 2011 at 03:12 AM

    Hi

    You can have such delivery block in sale order.

    You need to exit for the same

    Below may be helpful

    userexit_save_document_prepare

    include -MV45AFZZ

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 25, 2011 at 11:16 AM

    Hi,

    See if there is no stock then system will not confirm the stock,means user will not able to create delivery for this order..

    This is standard SAP functionality.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      HI Azmawati Abdul Aziz

      This can be control through standard SAP,no need to go for ABAP.go to T.code (Zero) 0VLP select your delivery item category in that Quantity column you can find *Check quantity 0 *check with "B" Situation rejected with an error message**,then system will not allow to save the delivery where the quantity is 0.

      Check with this and revert back.

      Thanks

      Ram

  • avatar image
    Former Member
    Sep 09, 2011 at 12:31 PM

    Try Using the incompletion procedure which will check at the schedule line level(C) & check if the usage of the field BMENG & remember to not to check the warning field.

    this may serve the requirement.

    Thanks & Regards

    Ilango

    Add comment
    10|10000 characters needed characters exceeded