cancel
Showing results for 
Search instead for 
Did you mean: 

BADIs for a Transaction

Former Member
0 Kudos

Hi Gurus,

Can anyone please tell me how to findout the available BADIs for a Transaction?

regards

sunil

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jaya,

There are 2 methods to find a BADI for any transaction.

Method 1:

step 1. Execute transaction SE37 or SE80 and find function module SXV_GET_CLIF_BY_NAME'. 
step 2. Insert a breakpoint in it. 
step 3. Now go to the SAP transaction you want to find a BADI in.
step 4. When you execute it, it will stop at the above function module. 
step 5. Look at the value of field EXIT_NAME. 
step 6. This will provide you with the name of the BADI that is available in your SAP transaction code.

Method 2:

step 1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
step 2. In 'Display' mode, go to 'Methods' tab.
step 3. Double click the method 'Get Instance' to display it source code.
step 4. Set a breakpoint on 'CALL METHOD l_exithandler=>get_class_name_by_interface'.
step 5. Then run your transaction.
step 6. The screen will stop at this method.
step 7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.

Regards,

SB.

Answers (3)

Answers (3)

former_member188685
Active Contributor
0 Kudos

Sunil and jaya are colleagues . Mostly Sunil knows Jaya passwords.

viquar_iqbal
Active Contributor
0 Kudos

For BADI's,

1)goto to tcode SE24 give the CL_EXITHANDLER and display and then double click on the GET_INSTANCE

keep Break point at this location 'call method cl_exithandler=>get_class_name_by_interface'

then the tcode it will trigger there and we can debugg there we can find badi'for that tcode and then remove the break point.

2)Goto to tcode->status->program name->double click on that program will display's

then press crtl+F then cl_exithandler

Former Member
0 Kudos

Hi Sunil

Go to this [blog|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3480] [original link is broken] [original link is broken] [original link is broken];

Pushpraj