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 - Memory Lock

Former Member
0 Likes
976

Hello,

I am using the function module 'BAPI_MATERIAL_AVAILABILITY' in MV45AFZZ (FORM USEREXIT_MOVE_FIELD_TO_VBAP.). This done because of the business requirement to check the quantity available before the standard ATP check. When I do the ATP check for the second line item entered for the same material in the sales order it does not give me the correct ATP quantity. It is not reading the memory lock to see the quantity already taken by the 1st line item.

I am passing "READ_ATP_LOCK = 'R'" "READ_ATP_LOCK_X = 'R'" both this flag in the "BAPI_MATERIAL_AVAILABILITY". Still I am not getting the correct results.

Any help would be appreciated.

Siva

2 REPLIES 2
Read only

Former Member
0 Likes
698

Resolved the issue

Read only

0 Likes
698

Hello Sivakumar,

Could you please let me know how you resolved the issue?

I have the same scenario here and would like to understand how you fixed the issue.

Thanks.

Regards,

Senthil G.