cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI ISSUE

0 Kudos

Hi,

ThEtransaction calls the BAPI BAPI_GOODSMVT_CREATE to create either a Goods Issue Document or a Goods Receipt Document depending on the input parameters.

When i run the transaction, i am getting the error

"CODE is not supported by BAPI2017_GOODSMVT_CREATE.

can someone guide me how to solve this.

Thanks,

Kumar

Accepted Solutions (1)

Accepted Solutions (1)

jamie_cawley
Advisor
Advisor
0 Kudos

Are you supplying a goods movement code? I would suggest looking the the example transactions found in the sap module libraries, found in the downloads section for manufacturing.

Jamie

agentry_src
Active Contributor
0 Kudos

I would suspect that you have entered 261 as the GM_CODE rather than MVT_TYPE.

There are instructions that will tell you how to populate those fields if you got to T-code BAPI or SE37, or as Jamie pointed out, simply copy what the templates are already configured to do for you.

Regards,

Mike

Edited by: Michael Appleby on Feb 1, 2011 8:31 PM

Answers (2)

Answers (2)

0 Kudos

to know more about the issue

Former Member
0 Kudos

Kumar,

In addition to what Jamie n Mike have suggested , I recommend going through the BAPI documentation for the BAPI in question.

You can find that in tcode se37.

The documentation explains very clearly how to use this BAPI under different conditions.

Hope this helps.

Thanks

Udayan

0 Kudos

This is how my link editor looks like

Target Xpath : PostGoodsMovement.Request{/BAPI_GOODSMVT_CREATE/INPUT/GOODSMVT_CODE/GM_CODE}

Expression : Transaction.GoodsMovementCode

Did i miss anything here.

Regards,

Kumar

agentry_src
Active Contributor
0 Kudos

Kumar,

Please read the documentation for the BAPI as we have been suggesting. It will tell you how to populate that field properly according to the type of Goods Movement you are doing. This BAPI is just about the only one with good documentation on usage and it would be a shame to ignore good documentation.

Regards,

Mike

0 Kudos

Thanks all for supporting. Issue is solved <GM_CODE><02> is the right one to use.

Regards,

Kumar