Skip to Content
0
Former Member
Jul 14, 2004 at 03:20 PM

A BAPI to do ATP check?

785 Views Last edit Jul 04, 2019 at 05:17 PM 2 rev

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