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: 

How to find out a badi

Former Member
0 Kudos

Hi Experts,

Can you please send me some inputs on how to find out a badi for a particular transaction. Please help.

The same is available for User Exit. How to get the same for BADI.

Regards,

Shankar

3 REPLIES 3

Former Member
0 Kudos

hi,

Check these links for info about badi..

Cheers

Alfred

Reward with points for helpful answers

Former Member
0 Kudos

In the main prog of the t-code, do a FIND on this text -

cl_exithandler

Former Member
0 Kudos

Hi Shankaran,

There are multiple ways of searching for BADI.

• Finding BADI Using CL_EXITHANDLER=>GET_INSTANCE

• Finding BADI Using SQL Trace (TCODE-ST05).

• Finding BADI Using Repository Information System (TCODE- SE84).

•Finding BADI Using CL_EXITHANDLER=>GET_INSTANCE

Go to the Transaction, for which we want to find the BADI,

Get the Program Name of Corresponding Transaction.

(Click on System->Status. Double Click on Program Name)

Once inside the program search for ‘CL_EXITHANDLER=>GET_INSTANCE’.

Make sure the radio button “In main program” is checked.

A list of all the programs with call to the BADI’s will be listed.

The export parameter ‘EXIT_NAME’ for the method GET_INSTANCE of class CL_EXITHANDLER will have the user exit assigned to it.

The changing parameter ‘INSTANCE’ will have the interface assigned to it.

•Finding BADI Using SQL Trace (TCODE-ST05).

/people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it

•Finding BADI Using Repository Information System (TCODE- SE84).

Go to “Maintain Transaction” (TCODE- SE93).

Enter the Transaction VD02 for which you want to find BADI.

Click on the Display push buttons.

Get the Package Name. (Package VS in this case)

Go to TCode: SE84->Enhancements->Business Add-inns->Definition

Enter the Package Name and Execute.

Regards,

Ranjit Thakur.

<b>Please Mark The Helpful Answer.</b>