Skip to Content
avatar image
Former Member

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

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?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    Sep 08, 2008 at 12:26 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 09, 2008 at 05:51 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 09, 2008 at 06:32 AM

    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

    Add comment
    10|10000 characters needed characters exceeded