cancel
Showing results for 
Search instead for 
Did you mean: 

Block Sales Order creation if the stock is zero

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi,

Currently the system is allowing for Sales order creation although qty is zero.

But if let say.. Sales Order to be allow.. but Delivery Order should not be created if qty is zero in plant, where should we change? is there any configuration for this? or should go for abap changes?

Former Member
0 Kudos

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