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

BAPI_GOODSMVT_CREATE or BDC for MB1A not creating Accounting Doc

It is a strange scenario. We can manually process a Goods Issue (without reference to a PO# - WBS Element used instead) via MB1A and have an Accounting Doc generated without a problem - movememt 415Q. But for some reason, we can only create the Material Doc for Goods Issue when using BAPI_GOODSMVT_CREATE or BDC for MB1A (foreground or background).

Does anyone have any idea why in the world this would be happening? Especially if we're using the exact same data used to manually create the Goods Issue via MB1A?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Oct 25, 2010 at 06:15 AM

    Try using BAPI_TRANSACTION_COMMIT after calling your BAPI

    cheers

    S.Janagar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2010 at 02:22 PM

    Thanks for the response. Yes, I did try BAPI_TRANSACTION_COMMIT in all of my tests. The Accounting Document simply will not get generated.

    Again, what makes it strange is that we created a BDC for MB1A - based on data that worked & that produced an Accounting document. However, when processing that BDC, either in the foreground or background - the Accounting document likewise does not get created.

    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.