How to find BAdIs

SAP ABAP Tutorials
Share on Facebook5Share on LinkedIn0Tweet about this on TwitterShare on Google+0
Please Share!!

Business Add-Ins (BAdIs) are a  SAP enhancement technique based on ABAP Objects. Two parts – Definition and its Implementation – definition can either be SAP provided or a user may also create it.

How to find BAdI?

You can look for BAdi definition in IMG and in the component hierarchy. But there are some easier methods to find a BAdi. They are following:
Method 1
These steps should enable you to find a BAdi related to any transaction in a matter of minutes.
1) Go to the transaction SE37 to find your function module.
2) Locate the function SXV_GET_CLIF_BY_NAME.
3) Put a breakpoint there.
4) Now open a new session.
5) Go to your transaction.
6) At that time, it will stop this function.
7) Double click on the function field NAME.
8) That will give you name of the BAdi that is provided in your transaction.
Method 2
1. Goto SE80,  open CL_EXITHANDLER (Class)
2. Goto Method, GET_INSTANCE
3. Set a breakpoint at

4) Now open a new session.

5) Go to your transaction.
6) At that time, it will stop this function.
7) Double click on the function field EXIT_NAME.
8) That will give you name of the BAdi that is provided in your transaction.
Method 3:
1. Goto ST05
2. Select SQL trace and buffer trace
3. Activate trace
4. Now run your transaction
5. Deactivate trace
6. Display trace
7. A pop will come

 8. Select following objects (Views)

 9. Now display the trace results. It will return all the BAPI and enhancement list in order of their execution.

This is a simple trick which every ABAPer should know. Thought, it would be useful to freshers, so sharing it here.

Share on Facebook5Share on LinkedIn0Tweet about this on TwitterShare on Google+0
Please Share!!

About the Author

Bhavesh K Ratnam
Bhavesh K Ratnam
Qualification: B.Tech, M.Tech from IIT Kharagpur, India. SAP ABAP Experience since 2006. Find more about him on LinkedIn.

Be the first to comment on "How to find BAdIs"

Leave a comment

Your email address will not be published.


*