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

M7299 - Function module MB_CREATE_GOODS_MOVEMENT cannot be executed

Hi All:

the error occurs when calling bapi "/AFS/BAPI_GOODSMVT_CREATE" in method "MB_DOCUMENT_UPDATE" in BAdi "MB_DOCUMENT_BADI".


The function module MB_CREATE_GOODS_MOVEMENT is called up for the second time. After it was called up the first time, the function module MB_POST_GOODS_MOVEMENT was called, but a COMMIT WORK was not carried out in the calling program.

As running the two function modules again would result in the database being incorrectly updated, processing is terminated. System Response Procedure Please ensure that a COMMIT WORK is set after you call up the function module MB_POST_GOODS_MOVEMENT.

According to the Diagnosis, it seems like that calling bapi in BAdi "MB_DOCUMENT_BADI" is not possible, because the migo have not finished. no commit work was carried out.

But I really need this, it's the business scenario customer required.

any help is expected.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 26, 2012 at 06:43 AM


    As the error says, somehow the bapi is called twice without a commit statement between. Can you please be more specific about the situation ? Are you talking for a customer or standard transaction ? Can you describe the whole process ?

    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.