Hi,
I am writing a report for mass scrapping parts of our inventory given in an CSV-document.
As not all bins of a material should be scrapped, I want to make sure to just select the correct one.
At the moment I am trying to use BAPI_GOODSMVMT_CREATE to post the material document, and then L_TO_CREATE_TR to create the transfer order from the transportation request.
I do not find a possibility to specify the storage bin to be used. There is a STGE_BIN field in the structure BAPI2017_GM_ITEM_CREATE, but it seems to relate to the destination, not the source. The fields STGE_BIN_PC and STGE_BIN_ST in the same structure have no appearant effect in my case, or so it seems, as the TR looks exactly the same.
Do I miss something? Is there a better way to do it?
regards,
Kristian