‎2009 Aug 13 3:54 AM
hi all,
i have a req to change the batch details of a material during the MIGO,i have exits or badi which changes for a new batch only,for old batch no exits or badis are getting triggered.can i use a bapi to changes the batch in a badi during migo, how far is it good as i bapi will do commit work in the badi.please suggest.
‎2009 Aug 13 4:26 AM
create a zprogram and using SUBMIT statement submit that program which will update the old batches...
Its not adivcable to call a BAPI in a Tr. Like MIGO which might be hit many times a day thru many Tr.
‎2009 Aug 13 5:58 AM
even in the submit program it will be doing the commit work? that does'nt make commit work in the badi?
‎2009 Aug 13 6:01 AM
submit program will execute the program in background in a different task.. so commit will not effect the online Transaction which is going on in foreground. Hit an F1 on submit statement and read for more info on who to use it.