‎2009 Jul 06 7:33 AM
hi ,
Im using BAPI_GOODSMVT_CREATE for stock transfer posting.
Here there is a batch field to be passed.
what value should we pass here.
i checked MCH1 table but it consists of multiple batches for a material.
what is the exact way to proceed with this.
‎2009 Jul 06 8:23 AM
Hi Keshu..
The BAPI BAPI_GOODSMVT_CREATE will work as same as MIGO. what ever the process is possible using MIGO is possible using This BAPI also.
When you do Transfer posting, you need to pass two batch numbers...means From and to bacth Number.
let me know if you need any further clarifciation.
cheers,
JBR
‎2009 Jul 06 8:09 AM
Hello
First of all you must to know what are you want to transfer.
If you do not know batch number, look at table MCHB with werks, storage location and material number and select record with CLABS > 0. Set batch number from record with necessary amount.
P.s. also try to set '*' in batch field in bapi (but I not certain that this will work).
‎2009 Jul 06 8:23 AM
Hi Keshu..
The BAPI BAPI_GOODSMVT_CREATE will work as same as MIGO. what ever the process is possible using MIGO is possible using This BAPI also.
When you do Transfer posting, you need to pass two batch numbers...means From and to bacth Number.
let me know if you need any further clarifciation.
cheers,
JBR
‎2009 Aug 12 4:05 AM
hi...
i am trying to using BAPI_GOODSMVT_CREATE for migo upload........ but i got a error for enter the subcomponent batch number...
how to pass the subcomponent batch number in this bapi?....
pl do the needful
‎2009 Jul 06 1:12 PM
At times you need to create batch first. This is strictly per process. It all depends on the movement type. Consult your functional Consultant. At times the same from and to batch is involved. Rest you need to create a batch at runtime and pass. You can use some function module . Look up for BATCHREPLICASAVE .