Application Development and Automation 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: 
Read only

BADI

Former Member
0 Likes
618

Hello All-

To search for a BADI, I know the following methods.

1. Go to the tcode for which a BADI is to be searched> system>status>go to ABAP program>search for CL_EXITHANDLER--> you will get all call functions to BADIs. Select BADIs.

2. Using some code to fetch for BADIs for a tcode.

My question is: Using the first method, I am getting just 3 BADIs for a tcode (ME11), whereas if I use code, I am getting 51 BADIs. So, my question is, cant we use the first method to get all BADIs? why is then it displays only 3. What are other methods to find a BADI apart from using a ABAP program? please reply.

M A

Hello All-

To search for a BADI, I know the following methods.

1. Go to the tcode for which a BADI is to be searched> system>status>go to ABAP program>search for CL_EXITHANDLER--> you will get all call functions to BADIs. Select BADIs.

2. Using some code to fetch for BADIs for a tcode.

My question is: Using the first method, I am getting just 3 BADIs for a tcode (ME11), whereas if I use code, I am getting 51 BADIs. So, my question is, cant we use the first method to get all BADIs? why is then it displays only 3. What are other methods to find a BADI apart from using a ABAP program? please reply.

M A

2 REPLIES 2
Read only

former_member404244
Active Contributor
0 Likes
547

Hi think,

The second method gives u all the BADI'S that r present in one package(development class),thats why u r getting more number of BADI'S.the first method u r doing to search BADI'S is correct.

One more method is there....

GOTO ->SE24->Give class name as CL_EXITHANDLER ->Then press F7->Click on the method GET_INSTANCE->It will take u inside the method->Now put on breakpoint on the method cl_exithandler..now run any transaction ,u will find the BADI name in the userexit of the method cl_exithandler...

Regards,

Nagaraj

Read only

Former Member
0 Likes
547

best way is see the documentation of BADIs in SPRO under MM , there u will get complete information.

2. In code also , may be u have 51 hits , but u have to see the deifantions ?

3.see se15->Enhancements->BADI---> just serch on the basis if pachage in this case ME.

Regards

Prabhu