Skip to Content

MIGO BAdI or User-Exit - After Database Commit

Hello,

I'm looking for a BAdI or user-exit after database commit for MIGO posting. I want to create a FI document after MIGO posting.

I already tried MB_MIGO_BADI BAdI but system gives a short dump. So I have to find a exit or BAdI after database commit.

Thanks for helping in advance.

Regards,

Burak

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Oct 02, 2009 at 07:50 AM

    Hi!

    I don't know whether it really will help you but anyway try to do this.

    There is BADi BADI_DIAD_GOODMVT_1 in the system. It is not for multiple use and already has standard implementation with the same name BADI_DIAD_GOODMVT_1. It has the only method IF_EX_BADI_DIAD_GOODMVT_1~DIAD_GOODMVT_1. U can add your own code there with standart enhancement technique:

    1) Shift+F4 (Program - > Enhance)

    2) Edit -> Enhancement Operations -> Show Implicit Enhancement Options

    3) Set cursor rigth on the checked line.

    4) Edit -> Enhancement Operations -> Create

    I think it is better to use it in the begin of method. and u should be sure that it won't be exit from your code to let the standard code to be executed too. It is just a suggestion, so u can just try. Let me know if it really works)))

    Good luck,

    Peter Plenkov.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Burak,

      I have the same requirement to use BADI after database commit i.t after creating the Material doc no. or We can say after posting the GR No.

      Even I have used your technique suggested to find BADI.

      But problem is that in my code, I need to call one program and execute after filling its inputs. Means I need to get out of MIGO once it comes to my code.

      Now I stuck with this point and can't find exact BADI/EXIT.

      Please let me help.

      Thanks in advance.

  • author's profile photo Former Member
    Former Member
    Posted on May 30, 2013 at 11:07 AM

    Hi Burak,

    May I know how did you use MB_DOCUMENT_BADI for triggering MIGO.

    Regards,

    Suhas.

    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.