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: 

Any pointers to a badi for transaction MIGO and MB1a

Former Member
0 Kudos

Hi all,

Can anyone tell if there is any badi which can give us all the values entered by the user in transaction MIGO and MB1a.

2 REPLIES 2

Former Member
0 Kudos

Hi,

MB_DOCUMENT_BADI and use a method MB_DOCUMENT_BEFORE_UPDATE.

IF_EX_MB_DOCUMENT_BADI~MB_DOCUMENT_UPDATE.

Chk this link http://www.geocities.com/rmtiwari/Resources/MySolutions/Dev/Codes/Enhancements/ZCL_MB_DOCUMENT_SAVE.....

if any issues?

?

<b>Reward points</b>

Regards

Clemenss
Active Contributor
0 Kudos

Hi Anu,

whenever you need a BADI...

Follow the below steps to find out what all BADI's are called when you press any button in any transaction.

1) Goto se24 (Display class cl_exithandler)

2) Double click on the method GET_INSTANCE.

3) Put a break point at Line no.25 (CASE sy-subrc).

Now

4) Execute SAP standard transaction

5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.

6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.

7) This way you will find all the BADIs called on click of any button in any transaction.

[found on SDN a year ago, don't remember the contributor]

Regards,

Clemens