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 FOR MB1C

Former Member
0 Likes
1,779

Hai,

Can i know what code i have to pass to the GOODSMVT_CODE of below Function Module...........

i passed V1 as type bapi2017_gm_code.

it displaying error as .......................

CODE is not supported by BAPI2017_GOODSMVT_CREATE

CALL FUNCTION 'BAPI_GOODSMVT_CREATE'

EXPORTING

goodsmvt_header = wa_hbapi

GOODSMVT_CODE =

  • TESTRUN = ' '

  • GOODSMVT_REF_EWM =

  • IMPORTING

  • GOODSMVT_HEADRET =

  • MATERIALDOCUMENT =

  • MATDOCUMENTYEAR =

TABLES

goodsmvt_item = it_ibapi

  • GOODSMVT_SERIALNUMBER =

return = it_return

  • GOODSMVT_SERV_PART_DATA =

  • EXTENSIONIN =

.

Please resolve this above problem.

with regards

srinath

6 REPLIES 6
Read only

Former Member
0 Likes
1,038
Read only

0 Likes
1,038

Hai,

I got an idea , the link which u send to me.........thanks for your Reply

with regards

Srinath

Read only

Former Member
0 Likes
1,038

Hi Shrinath,

Your Error CODE is not supported by BAPI2017_GOODSMVT_CREATE

seems to have problem in item table you have passed for goodsmvt_item.

not 'GOODSMVT_CODE'.

kindly check it.

Regards,

Pratik Vora

Read only

Former Member
0 Likes
1,038

Hello!

look at table T158G:

GMCODE TCODE

01 MB01

...

05 MB1C

...

Read only

0 Likes
1,038

Hi,

I resolved the Error Message.........Thanks For your reply

with regards

srinath

Read only

Former Member
0 Likes
1,038

Hi,

You can use this 'BAPI_GOODSMVT_CREATE'

For the t-code MB1A, MB1B & MB1C the only difference will be movment code.

Regards

Bikas