Hi,
We are doing a reversal for a work order using the movement type 'Z62' which is a customised movement type for a material from the syclo mobile. While doing the reversal, we are getting this error in the return table paramater of the BAPI "BAPI_GOODSMVT_CREATE".
Example: The work order number is 2000001181, the material number is 50014360, movement type 'Z62', Quantity 1, GM_CODE is '05'. For this scenario we are getting the above error.
We also tried with the following option as well with the BAPI_GOODSMVT_CREATE. Example: The work order number is 2000001181, the material number is 50014360, movement type '262', Quantity 1, GM_CODE is '03'. For this scenario we are getting the same error only. We are not able to post the material document succesfully through the BAPI call.
When we create a material document for the above test case in SAP manually, we are able to post the material document for the movement type '262' as well as for 'Z62'.
We are doing the reversal and not the cancel of the material document which is being posted already in SAP. We are sending the details of the material and the work order at the item table parameter and the GM_CODE as '05' at the header level. We tried with the GM_CODE '03' as well.
For both GM_CODE we are getting the same error as "RE Qty. transferred exceeded 1 PC". The materials against which we are doing the reversal are already consumed in another work order. We want to reverse the consumed material with the new work order number. The work order number is alone is different but not the material number and the quantity.
If we try to do the same with the BAPI: BAPI_GOODSMVT_CREATE we are facing issue.
Please let us know the best way to pass the movement type 'Z62' which is similar to the movement type '262' in functioanlity in the backend in the BAPI to create the material document.
Thanks,
Mohan.