Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_GOODSMVT_CREATE

Former Member
0 Likes
2,496

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.

6 REPLIES 6
Read only

Former Member
0 Likes
1,701

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

Read only

0 Likes
1,701

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

Read only

Former Member
0 Likes
1,701

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

Read only

Former Member
0 Likes
1,701

what is the need of mapping that field ? does it store in any of tables ?

i hope its just for confirmations......

regards

Prabhu

Read only

0 Likes
1,701

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

Read only

Former Member