Hi Experts,
I am trying to use bapi_goodsmvt_create for 622 movement. (622 movement is customer stock returned to unrestricted stock )
For Ex: if i send a batch from plant A to customer it is 621 , reversal of it is 622
I am able to do 622 mvt succesfully through bapi if customer is returning to Plant A
but user wants to receive the material sent from Plant A to customer to Plant B through 622 movement
We are able to achieve this from MB11 through single 622 movement ...MB11 has issuing & receiving plant fields hence no issue.
But in bapi I'm passing issuing plant to item_data-plant & receiving plant to item_data-move_plant.
Bapi is throwing error "Customer stock does not exist for AAA customer"
Please help me how to achieve it.. since v r able to do it from MB11 user wants it through abap in single 622 movement