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.
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)))
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.