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: 

BAPI_MATERIAL_AVAILABILITY with DOC_NUMBER

former_member803634
Discoverer
0 Kudos
387

We use the BAPI_MATERIAL_AVAILABILITY bapi to check availability for order create/update (Z program).

So far everything works fine, but as soon as I check the availability of an existing document, it does not work as desired.

Example: Material A with 100 PCS in stock.
BAPI_MATERIAL_AVAILABILITY returns 100 PCS. -> correct.
Now i create an order with 80 pcs and BAPI_MATERIAL_AVAILABILITY (with DOC_NUMBER and ITM_NUMBER) returns 20 pcs available.

I would expect the 80 pieces to be added and an availability of 100 to be shown.

0 REPLIES 0