Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BADI BY MIGO DON'T WORK

former_member186145
Participant
0 Kudos

Hi to all

I had a Badi for the tcode MIGO (MB_DOCUMENT_BADI).The method was IF_EX_MB_DOCUMENT_BADI~MB_DOCUMENT_UPDATE.

But, then of the others modifications in the system, this BAdi dont' work. I put a breakpoint in the method, but don't stop when I executed the tcode MIGO.

I review, and the implementation, the method and all, is actived.

Please, tell me, how I do so this Badi returns to work

Thank you very Much

Dario Rodriguez

2 REPLIES 2

christian_wohlfahrt
Active Contributor
0 Kudos

Hi Dario Rodriguez!

Looks like your changes are too late in mb_document_update. It's probably designed to do changes on own objects.

Try to use the MB_DOCUMENT_BEFORE_UPDATE method. Here changes might have the desired effect.

By the way: the mb_document_update-method is called in update task - here breakpoints only stop, if you enable update-debugging.

Regards,

Christian

Former Member
0 Kudos

Hi,

Try this User Exit

EXIT_SAPLMBMB_001

Regards,

Satish