‎2006 Jul 02 6:28 AM
Hi,
i have to use BAPI in my Program to Post The Goods Issue Using Item Ok Inidcator in MIGO_GI, by calling BAPI, but i am not getting any fields in the Table Parameters of
BAPI_GOODSMVT_CREATE, can any one tell me is there any other BAPI for doing this and how do i Map the field with the BAPI to be Called.
‎2006 Jul 02 7:58 AM
Hi
You should have:
Header data
BAPI2017_GM_HEAD_01-PSTNG_DATE = <date>.
BAPI2017_GM_HEAD_01-DOC_DATE = <date>.
BAPI2017_GM_CODE-GM_CODE = '03'.
Item data
BAPI2017_GM_ITEM_CREATE-MOVE_TYPE = <moviment type>.
BAPI2017_GM_ITEM_CREATE-MATERIAL = <material code>.
BAPI2017_GM_ITEM_CREATE-PLANT = <plant>.
BAPI2017_GM_ITEM_CREATE-STGE_LOC = <Storage location>.
BAPI2017_GM_ITEM_CREATE-BATCH = <Batch number>
BAPI2017_GM_ITEM_CREATE-MOVE_REAS = <Reason for movement>.
BAPI2017_GM_ITEM_CREATE-ENTRY_QNT = <qty>.
These are the header and item data I transfer to that BAPI in a my program and it works fine.
I can't know if you have to transfer other data, because it depend on your system, but you can read the log message in RETURN table.
Remember you have to use the BAPI for commit: BAPI_TRANSACTION_COMMIT
Max
‎2006 Nov 16 4:29 PM
Max,
Do you know how to capture Warning(s) when using this BAPI. I need to capture the same Warning Messages that MIGO_GR displays.
Thanks.
Marc
‎2009 May 19 9:46 AM
HI,
Can you help me in same.
Here i am serching a indicator to make that line item ok.
i am unable to find the field in this BAPI_GOODSMVT_CREATE.
thanks,
Vipul
‎2009 May 19 9:58 AM
what is the need of mapping that field ? does it store in any of tables ?
i hope its just for confirmations......
regards
Prabhu
‎2009 May 20 6:25 AM
Hi,
after making item ok there will be new tab in MIGO transaction for Exsice data.
I want to save data for Exsice for that i have to make that field selected for item
and can anybody have a solution for assign qty in delivery note using BAPI :
"BAPI_GOODSMVT_CREATE"
i assigned value for these fields of BAPI
but still i m not getting value in "qty in delivery note"
code :
WA_MVTITEM-MOVE_TYPE = WA_EKBE_F-BWART.
WA_MVTITEM-MATERIAL = WA_EKBE_F-MATNR.
WA_MVTITEM-PO_NUMBER = WA_MMSD_CYCLE-APMLEBELN.
WA_MVTITEM-PO_ITEM = WA_MMSD_CYCLE-APMLEBELP.
WA_MVTITEM-STGE_LOC = WA_EKPO-LGORT.
WA_MVTITEM-PLANT = WA_EKPO-WERKS.
WA_MVTITEM-MVT_IND = 'B'.
WA_MVTITEM-BATCH = WA_EKBE_F-CHARG.
WA_MVTITEM-ENTRY_QNT = WA_EKBE_F-MENGE.
WA_MVTITEM-ENTRY_UOM = WA_EKPO-MEINS.
WA_MVTITEM-QUANTITY = WA_EKBE_F-MENGE.
WA_MVTITEM-BASE_UOM = WA_EKPO-MEINS.
WA_MVTITEM-ITEM_TEXT = WA_EKPO-TXZ01.
WA_MVTITEM-VENDOR = WA_EKKO_R-LIFNR.
Thnaks,
Vipul
‎2009 May 20 7:00 AM