cancel
Showing results for 
Search instead for 
Did you mean: 

A BAPI to do ATP check?

Former Member
0 Kudos

All,

I want to create a program that will remove the delivery block from a number of sales orders. For this, I am using the BAPI BAPI_SALESORDER_CHANGE to remove the delivery block.

However, the sales order in currently not proposing partial deliveries because sometimes the users are clicking on the complete delivery button when they create a sales order.

What I need is either the BAPI to do partial deliveries or trigger an ATP check before the SO is saved. This would ensure that even if the users did do a mistake, the program will re-check and try to do a partial delivery if possible.

Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Abdul,

try using BAPI_MATERIAL_AVAILABILITY. This returns the availability information and also flags if a product can be fufilled.

Hope this helps.

Colin.