cancel
Showing results for 
Search instead for 
Did you mean: 

saving of sales order

Former Member
0 Kudos

hi gurus

i am going through a scenario where i need to restrict saving of sales order if there is no materials in the stock, as the normal process the sales order gets saved even if there is no stock. so the point is no sales order should be saved if there is no stock in the plant. how to do that?

regards

subhrangshu

Accepted Solutions (1)

Accepted Solutions (1)

former_member550050
Active Contributor
0 Kudos

Hi

This is possible through simple configuration

If you want the sales order should not get saved if the confirmed qty for a line item is 0 that is no stock

Then in the incompletion procedure for schedule line category

add the field BMNEG ( confirmed qty ) from the table VBEP

That is your schedule line incompletion procedure that is 30 or 31 add this add the field BMNEG from the table VBEP

Assign this in completion procedure to your schedule line category

More orver for your order type config VOV8 check the tick box incomplete messages in the transaction flow tab

With this settings when a sales order has a line item with confirmed qty is 0 then system considers this order as incomplete and will not save the order

Pls update me whether this input has helped you

Your requirement is also possible through plenty of userexits but i request you to handle it through configuration

Regards

Raja

Former Member
0 Kudos

HI

thanx for your reply i got the fruitful result, can i know the userexit too?

regards

subhrangshu

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

check if you have activated availability check in the material master.

Regards,