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: 

Badi Where used ?

eyal_alsheikh
Active Participant
0 Kudos
2,098

Hi,

How can I find where the Badi is used in SAP program(s) if I know the Badi's Definition name and its package.

Thanks,

Eyal.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
478

se18

use where used

regards

6 REPLIES 6

Former Member
0 Kudos
479

se18

use where used

regards

478

Hi,

SE18 Tcode used to find out badi (Business Add ins) definitions. after that you need to implement that BADI using SE19

1. Give one Implementation name (ex. ZBADI_MIGO) and

Create

2. Give Definition Name

3. GOTO Interface tab and select the suitable method

4. Double click the method and there you write your own

coding

BADI is like a User Exit, but it is used to implement more than one and its an Object oriented concept.

Former Member
0 Kudos
478

Hi Eyal,

You will have to check BAdI Implementation using <u><b>SE19</b></u>.

If you know BAdI definition, you get implementation name.

In implementation you will get class name in Interface tab, you can use this class in where used list to get more details.

Hope this will help.

Thanks and Warm Regards.

Pras

eyal_alsheikh
Active Participant
0 Kudos
478

Hi,

Although I have the BAdI definition and I have created the BAdI Implementation I still can't find where the SAP program call it or use it.

Is there a simple trick to find which SAP program call it and where it is using the BAdI?

I tried where used on the BAdI interface but no luck,

Thanks,

Eyal.

eyal_alsheikh
Active Participant
0 Kudos
478

Need to look for the Static method cl_exithandler=>get_instance in the SAP Program

0 Kudos
478

Eyal,

Do one thing. Just write a line with error in your BAdI method, you should get a short dump. Check this using ST22. You will see the program name which is calling it.

Regards.

Pras