I am using BAPI_GOODSMVT_CREATE to post Goods Receipts and also to reverse the Goods Receipt.
I execute the following scenario against the same PO
1) Post a Goods Receipt with Qty 1kg - Success
2) Reverse the Goods Receipt - Success
3) Again Post a Good Receipts with Qty 3kg - Success
4) Reverse the Goods Receipt - Failure
After step 4 it gives be error:
"Deficit of PU GR quantity 3 KG"
The BAPI does not work for multiple reversals against the same PO.
I have also specified the Material Doc no and year for reversal.