‎2007 Feb 25 12:10 AM
‎2007 Feb 25 1:36 AM
i just want to run tcode 'MIGO' by program, but FM 'BAPI_GOODSMVT_CREATE' seems not surport this. There are diffrent between 'MIGO' & 'MB01', isn't it?
‎2007 Feb 25 12:29 AM
Hi,
Check:
BAPI_GOODSMVT_CANCEL Reverse goods movements with MB_CANCEL_GOODS_MOVEMENT
BAPI_GOODSMVT_CREATE Post goods movements with MB_CREATE_GOODS_MOVEMENT
BAPI_GOODSMVT_GETDETAIL Display details for material document
BAPI_GOODSMVT_GETITEMS Display detailed list of material documents
Regards
Subramanian
‎2007 Feb 25 12:38 AM
> Thanks experts!
but BAPI_GOODSMVT_CREATE can only used for these 6 transactions:
MB01
MB31
MB1A
MB1B
MB1C
MB11
sourse code: SELECT SINGLE * FROM T158G WHERE GMCODE = GOODSMVT_CODE.
IF SY-SUBRC <> 0.
...................
ENDIF.
‎2007 Feb 25 1:22 AM
what else do you want?? you can do everything with goods movement create. Read the doc of the BAPI, there are diff ways for each thing...like GI with or w/o reservation etc. To the best of my knowledge it covers everything.
‎2007 Feb 25 1:36 AM
i just want to run tcode 'MIGO' by program, but FM 'BAPI_GOODSMVT_CREATE' seems not surport this. There are diffrent between 'MIGO' & 'MB01', isn't it?
‎2007 Feb 25 2:54 AM
Yes there is a difference. MIGO was essentially an amalgamation of a few different transactions and I think bapi_goodsmvt_create can do exactly these transactions which fall under migo (again, I am not 100% sure about the latter part). So in essence MIGO has much more functionality than say MB01. Hence the answer to your question is no they are not same.
And what exactly are you not able to do by the bapi in question?
Message was edited by:
Ramkumar Venkatasubramanian
‎2007 Feb 25 3:12 AM