cancel
Showing results for 
Search instead for 
Did you mean: 

Block sales order when Ordered quanity is greater than stock.

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Thanks

Dasaradha

Answers (4)

Answers (4)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

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

former_member188076
Active Contributor
0 Kudos

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