Skip to Content

MIGO BADI/USER EXIT for PO balance quantity

hi all,
I have a requirement where once a GR is done i have to send a mail to some custom ids with the left over quantity in PO. I tried MB_MIGO_BADI-POST_DOCUMENT but it does not trigger ( may be because no custom screen initialization is done) also i checked MB_DOCUMENT_BADI , In it the BEFORE_UPDATE method is being executed whereas the DOCUMENT_UPDATE is not being triggered , can i write my code in BEFORE_UPDATE ( coz may be the GR fails afterwards but the mail would have been sent till then ) . Please help , any other badi or user exit that can be used for this purpose..


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jul 02, 2012 at 10:16 AM

    Hi, I guess the same requirement can be fulfilled by configuring the NACE output type for the GR.

    I have also checked the method POST_DOCUMENT of the BADI MB_MIGO_BADI. My break point is triggered while doing MIGO for the Purchase Order.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 02, 2012 at 10:08 AM

    MB_MIGO_BADI-POST_DOCUMENT should trigger. check if your BADI implementation is active.

    I had used it in my earlier project, and it gets triggered every time.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi ,
      yes the BADI is active , when i am putting a breakpoint in INIT method the debugger comes to the point but in the same implementation i have put a breakpoint in POST_DOCUMENT but it does not stop there... Is it something to do with the PO for which i am doing GR ?

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.