cancel
Showing results for 
Search instead for 
Did you mean: 

Sales Order not to be created when stock is empty

Former Member
0 Kudos

Hi,
The requirement is while creating a sales order if the stock is empty, sales order should not be created.How can we configure like this?

Regards
Danny

Accepted Solutions (1)

Accepted Solutions (1)

Shiva_Ram
Active Contributor
0 Kudos

Try with user exit

USEREXIT_SAVE_DOCUMENT_PREPARE in program MV45AFZA.

Regards,

Answers (5)

Answers (5)

Former Member
0 Kudos

Thank You all for the response..
Scenario is done by using User Exit MV45AFZZ.

Regards

Danny

jignesh_mehta3
Active Contributor
0 Kudos

Hello Danny,

The best solution as suggested above will be to apply a user exit & insert a ABAP code in it.

This ABAP code will not allow to save the Sales Order, if the confirmed quantity is zero.

Thanks,

Jignesh Mehta

Former Member
0 Kudos

You should have stock availbility check. Confirm qty should be 0. And You should define incompletion check for VBEP-BMENG and mark it as error.

Former Member
0 Kudos

Hi Danny,

This can be configured in Delivery Item Category

SPRO-Logistics Execution-Shipping- Deliveries -Define Item Categories for Deliveries.

field name : "Check Quantity 0"

Hope this resolves your issue.

Regards

Raju

Lakshmipathi
Active Contributor
0 Kudos

Try with USEREXIT_AVAILABILITY_IN in program RV03FVZZ


G. Lakshmipathi