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
22,643

Hi gurus,

I am working on an interface where I need to use BAPI_GOODSMVT_CREATE for MIGO, can any one of you please tell what would be the GMCODE for MIGO.....

Thanks

Rajeev

1 ACCEPTED SOLUTION
Read only

ferry_lianto
Active Contributor
9,778

Hi,

You can check table T158G for all GMCODE available.

01 - MB01 - Goods Receipts for Purchase Order

02 - MB31 - Goods Receipts for Prod Order

03 - MB1A - Goods Issue

04 - MB1B - Transfer Posting

05 - MB1C - Enter Other Goods Receipt

06 - MB11

For movement indicator, you can check domain KZBEW.

- Goods movement w/o reference

B - Goods movement for purchase order

F - Goods movement for production order

L - Goods movement for delivery note

K - Goods movement for kanban requirement (WM - internal only)

O - Subsequent adjustment of "material-provided" consumption

W - Subsequent adjustment of proportion/product unit material

Regards,

Ferry Lianto

3 REPLIES 3
Read only

Former Member
0 Likes
9,778

Check the documentation of the BAPI -

There are the following types of transactions/events:

1. GM_Code 01: Goods receipt for purchase order

2. GM_Code 02: Goods receipt for production order

3. GM_Code 03: Goods issue

4. GM_Code 04: Transfer posting

5. GM_Code 05: Other goods receipt

6. GM_Code 06: Reversal of goods movements

7. GM_Code 07: Subsequent adjustment with regard to a subcontract order

I think you are creating a GR for a PO so it will be 01.

Hope this helps.

ashish

Read only

Former Member
0 Likes
9,778

Check the documentation of the BAPI -

There are the following types of transactions/events:

1. GM_Code 01: Goods receipt for purchase order

2. GM_Code 02: Goods receipt for production order

3. GM_Code 03: Goods issue

4. GM_Code 04: Transfer posting

5. GM_Code 05: Other goods receipt

6. GM_Code 06: Reversal of goods movements

7. GM_Code 07: Subsequent adjustment with regard to a subcontract order

I think you are creating a GR for a PO so it will be 01.

Hope this helps.

ashish

Read only

ferry_lianto
Active Contributor
9,779

Hi,

You can check table T158G for all GMCODE available.

01 - MB01 - Goods Receipts for Purchase Order

02 - MB31 - Goods Receipts for Prod Order

03 - MB1A - Goods Issue

04 - MB1B - Transfer Posting

05 - MB1C - Enter Other Goods Receipt

06 - MB11

For movement indicator, you can check domain KZBEW.

- Goods movement w/o reference

B - Goods movement for purchase order

F - Goods movement for production order

L - Goods movement for delivery note

K - Goods movement for kanban requirement (WM - internal only)

O - Subsequent adjustment of "material-provided" consumption

W - Subsequent adjustment of proportion/product unit material

Regards,

Ferry Lianto