Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ATP for sales orders created with BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Kudos

We use BAPI_SALESORDER_CREATEFROMDAT2 to create sales orders (from external EDI system). How can I use this BAPI to perform availability-to-promise checking? If it can't be done is there another function module I can use where I pass a sales order number and it performs ATP on the entire order or individual lines? thanks for any help.

2 REPLIES 2

ferry_lianto
Active Contributor
0 Kudos

Hi,

Please check BAPI BAPI_MATERIAL_AVAILABILITY.

Regards,

Ferry Lianto

Former Member
0 Kudos

Hi,

Try using function module BAPI_SALESORDER_SIMULATE

Thanks

Naren