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: 

method (se24) to search badi's for any transaction code

Former Member
0 Kudos

hi,

is there any other way to search badi except se18 name? my friend told me that we can search badi by using one method(se24) also but he also don't know the name of that method. can any one tell me?

1 ACCEPTED SOLUTION

former_member585060
Active Contributor
0 Kudos

Hi

1) First go to any transaction->iN THE menu bar SYSTEM->STATUS->Get the program name ->double click->u will go to the program attached to the tcode.Now search term will be CALL CL_EXITHANDLER.Now u will get list of BADI'S available..

2) Goto SE24->Give class name as CL_EXITHANDLER->Display->double click on get_instance mathod->Now u will go inside the method->Now put break point on the cl_exithandler.Now go to any transaction code and pass dat..U will see that it will be stopped on the break point which u set on the cl_exithandler...In the exit name u can find list of badi's attached to the tcode..

or

1) Go to Maintain Transaction (TCODE- SE93).

Enter the Transaction Ex:- 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.

Here you get a list of all the Enhancement BADI?s for the given package MB.

Above replace VD02 by your Transaction for which you need BADIs.

Regards

Bala Krishna

3 REPLIES 3

former_member585060
Active Contributor
0 Kudos

Hi

1) First go to any transaction->iN THE menu bar SYSTEM->STATUS->Get the program name ->double click->u will go to the program attached to the tcode.Now search term will be CALL CL_EXITHANDLER.Now u will get list of BADI'S available..

2) Goto SE24->Give class name as CL_EXITHANDLER->Display->double click on get_instance mathod->Now u will go inside the method->Now put break point on the cl_exithandler.Now go to any transaction code and pass dat..U will see that it will be stopped on the break point which u set on the cl_exithandler...In the exit name u can find list of badi's attached to the tcode..

or

1) Go to Maintain Transaction (TCODE- SE93).

Enter the Transaction Ex:- 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.

Here you get a list of all the Enhancement BADI?s for the given package MB.

Above replace VD02 by your Transaction for which you need BADIs.

Regards

Bala Krishna

Former Member
0 Kudos

go to SE93 ,find the prog name and then search for cl_exithandler=>get_instance as a string in main program.

u will get a variable or value ,doble click on it u will get it

Former Member
0 Kudos

goto se24

class name CL_EXITHANDLER

method GET_INSTANCE

put soft break-point on this FM

check exit_name(for badi's)

CALL METHOD cl_exithandler=>get_class_name_by_interface

EXPORTING

instance = instance

IMPORTING

class_name = class_name

CHANGING

exit_name = exit_name

EXCEPTIONS

no_reference = 1

no_interface_reference = 2

no_exit_interface = 3

data_incons_in_exit_managem = 4

class_not_implement_interface = 5

OTHERS = 6.

or else

go to se37

fm : SXV_GET_CLIF_BY_NAME

put soft break-point here on FM

CALL FUNCTION 'SXV_ADD_PREFIX'

EXPORTING

name = name

prefix = prefix

IMPORTING

new_name = clif.

Edited by: murali papana on Sep 9, 2008 2:32 AM