2023 Aug 07 10:38 AM
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.