Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

MIGO - Abort posting by using badi/exit

Transaction MIGO during posting goods receipt for a purchase order :

after clicking the save button (or Post button) i have to show a popup with all materials of the GR that satisfy some condition.

I did solve this by using badi MB_DOCUMENT_BADI - method MB_DOCUMENT_BEFORE_UPDATE.

But now a new requirement is to give the user the possibility on the popup to abort the complete saving/posting.

I can not do this in the above method.

Has anyone a clue how to solve this problem ?

regards,

Hans

Tags:
Former Member replied

Hi Hans,

I think you can use badi - MB_MIGO_BADI method - POST_DOCUMENT. where you can access same structures and you can call a popup window and based on the option you can abort the transaction with message type E. It has given in the documentation that all error messages in this method will be converted to abort.

rajkumar abbu

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question