‎2007 Aug 24 4:55 AM
Hi,
My requirement is I need to transfer the stock from one batch and one material to another batch and another material both the cases plant and storage location is same. For this what I am doing is In the initial screen of mb11 I am giving plant as AA(let us say) storage location as 7000 movement type as 309 and if I press enter in the second screen I am entering receiving plant as AA(same) receiving storage location as 7000(same) and receiving material as 12345. and in the same screen I am entering sending material as 6789 quantity as 100 and sending batch as 20715/5033 and If I press enterIn the third screen I need to give receiving batch as 20234/1234 but the system by default taking sending batch only that is 20715/5033 suppose if I change manually it is working fine that means it is moving the stock 100 from material 12345(sending) batch 20715/5033(sending) to 6789(receiving) batch 20234/1234(receiving). The same I am able to see in mmbe transaction also. But through bdc i am not able to do this I mean even if I pass receiving batch to screen field mseg-umcha system is by default taking sending batch and the stock is moving to same bath. I have cleared the screen field mseg-umcha also in bdc program but it is not working. Please help me how to solve this.
Or please tell me BAPI which I can use for the same.
Thanks .
‎2007 Aug 24 5:08 AM
‎2007 Aug 24 5:56 AM
Please tell me this bapi function module can also applicable for the movement type 309 in mb11 transaction.
‎2007 Aug 24 7:31 AM
yes definetly....
bapi_goodsmvt_create has a parameter called
BAPI2017_GM_CODE (This parameter transfers the new key assignment of the GM_CODE to the relevant transactions in Inventory Management.)
u need to pass '06' for this parameter '06 ' is for 'MB11' (Reversal of goods movements).
rewards would be helpful....