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 is not working for moment type 521

Former Member
0 Likes
2,183

Hi Experts,

I am using BAPI_GOODSMVT_CREATE which is giving error for moment type 521.

Thanks

Saurabh

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,574

Which GM code duid you use, AFAIK 521 is not allowed for this BAPI.

Check for 521 in both those tables in your system :

  • T158G "MMIM: Possible Codes for BAPI Goods Movement" Else BAPI not allowed
  • T158B "Check Table: Movement Type for Transaction Code" to find transactions allowed so correct gm_code to use in BAPI

For reference (documentation) read Note 520813 - FAQ: BAPIs for goods movements.

Regards,

Raymond

Hi Experts,

I am using BAPI_GOODSMVT_CREATE which is giving error for moment type 521.

Thanks

Saurabh

8 REPLIES 8
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
1,574

Hi Saurabh

We people can help you only if post the complete error details what you are getting in RETURN table. How we will know the reason.

Nabheet

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,575

Which GM code duid you use, AFAIK 521 is not allowed for this BAPI.

Check for 521 in both those tables in your system :

  • T158G "MMIM: Possible Codes for BAPI Goods Movement" Else BAPI not allowed
  • T158B "Check Table: Movement Type for Transaction Code" to find transactions allowed so correct gm_code to use in BAPI

For reference (documentation) read Note 520813 - FAQ: BAPIs for goods movements.

Regards,

Raymond

Read only

0 Likes
1,574

Raymond: As always thanks for sharing this information

Read only

Former Member
0 Likes
1,574

Thanks,

Raymind Giuseppi with GM code 5 it is displaying document number but the BAPI is not performing GR of material. Could you suggest any other BAPI for GR w/o reference to Production order ?

Read only

0 Likes
1,574

What tcode you have assigned to GM code 5 is it MB1C if yes did you try to do the same using the data via MB1C. If the transaction is also behaving in same way please check with your functional

Nabheet

Read only

0 Likes
1,574

Which error did you get in RETURN, are you able to create the same movement with MIGO (MB1C becomes obsolete since last year - 1804812 - MB transactions: Restricted maintenance/discontinuation) ?

Regards,

Raymond

Read only

Former Member
0 Likes
1,574

Raymond,

There is no error in return table.

Read only

0 Likes
1,574

Uh ?


I am using BAPI_GOODSMVT_CREATE which is giving error for moment type 521.

and


There is no error in return table.

Sorry, I need explanation, what did you call error ?

Regards,

Raymond