Skip to Content
author's profile photo Former Member
Former Member

BAPI_GOODSMVT_CREATE - error

hello,

i am using BAPI_GOODSMVT_CREATE to create material document. I am using movement type 101 and goods movement code as 01.

I am facing this error on executing the BAPI : "Update Control of movement type is incorrect ( entry 101 X X )"

I have entered all the required fields before i run the BAPI.

Please can anyone help me in this error solving.

Regards

Swanand

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2005 at 08:53 AM

    Hi Swanand,

    Is your config correct? Have you tried the same 101 goods movement (using the same data) with the sap transactions before running the BAPI?

    Poonam

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi poonam,

      I have tried the same with transaction MB01, it works fine in creating the material document.

      But when i use this BAPI : BAPI_GOODSMVT_CREATE with the same data it gives the above error.

      I am not sure where the error is. If in config, no idea as to where the settings are missing.

      Regards

      Swanand

  • author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2005 at 05:07 PM

    Hi,

    Try the following in the gmcode field:

    CONSTANTS:

    c_gmcode_con LIKE bapi2017_gm_code-gm_code VALUE '03',

    "GM Code value for goods issue

    c_gmcode_rev LIKE bapi2017_gm_code-gm_code VALUE '06',

    "GM code value for Goods reversal

    regards

    Aveek

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 18, 2005 at 06:42 PM

    Hi Swanand,

    When you are doing a 101 movement with a '01' GM movement code, it means that you are doing a goods receipt against a purchase order. In that case, you also need to set the goods movement indicator(MVT_IND) on the BAPI2017_GM_ITEM_CREATE structure for each item to be 'B'. This is documented in the documentation of the BAPI.

    Please verify if this is done in your case, and let the forum know if the problem is still there. If this resolves, please reward and close the issue.

    Regards,

    Srinivas

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.