06-15-2007 10:40 AM
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.
06-15-2007 10:53 AM
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
06-15-2007 11:28 AM
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