on 02-27-2009 1:04 PM
Hi Gurus,
Can anyone please tell me how to findout the available BADIs for a Transaction?
regards
sunil
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sunil and jaya are colleagues . Mostly Sunil knows Jaya passwords.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.