Problem in 'HU_CREATE_GOODS_MOVEMENT'/ HU02
We are trying to create a HU and move the stock to a destination storage location.This provision exists in transaction HU02.
But the 'BAPI_HU_CREATE' has no field where i can enter the destination storage location.So after creating the HU's with the above bapi we are using FM 'HU_CREATE_GOODS_MOVEMENT' to do the movement.
My problem is that the above mentioned FM is not working properly.
Its giving me errors/dumps based on the HU details iam entered into it.
Can somebody give me a solution for the same.
It would be great if i get some sample code for the above mentioned FM .
Kindly help, its really urgent.