I am using the BAPI "BAPI_PRODORDCONF_CREATE_HDR" for order confirmation with below input values.
ATHDRLEVELS entries made:-Order ID and Yield Quantity
In GOODSMOVEMENTS:- Header material ,movement type, Plant, Storage Loc, Quantity, Production Order Number, GR item number, Reason Code
With the above input, i am executing the BAPI with COMMIT WORK BAPI. The BAPI is successful but no goods movements are posted (101 & 261). In COGI also no error details posted.
I have activated auto GR & backflush.
In OPK4, activated the check box "Goods Movements" under Error Handling / Logs section
Can anyone guide me to post the goods movements with reason code using this BAPI?