Application Development and Automation 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: 
Read only

ATP Quantity Calculation SAP Function Module

Former Member
0 Likes
1,202

Dear Experts

I want to get the ATP Quantity (same with results from T-Code: MD04) in my Add-on ABAP program.

Could anyone can tell me any existing SAP function module that can calculate the ATP Quantity by Plant and Storge location?

Best Regards,

Chang

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
928

I know a SAP Function Module 'AVAILABILITY_CHECK' ,

but the module can't calculate the ATP Quantity by Plant and Storge location....

3 REPLIES 3
Read only

Former Member
0 Likes
929

I know a SAP Function Module 'AVAILABILITY_CHECK' ,

but the module can't calculate the ATP Quantity by Plant and Storge location....

Read only

0 Likes
928

I found a SAP Function module BAPI_MATERIAL_AVAILABILITY can calculate the ATP Quantity by Plant and Storge location.

Thank you all.

Read only

0 Likes
928

Hello Chang,

But the BAPI mentioned will not consider the On-Order Stock and the stock that is Scheduled for Delivery. So the MD04 transaction may result in a different Cumulative ATP quantity while considering the above two scenarios. So how would the BAPI_MATERIAL_AVAILABILITY work? Please give me some insight if possible.

Thanks,

Pranava.