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

Calling program for a BADI

Former Member
0 Likes
422

Hi experts,

I had created an implementation for a BADI. How do i link this implementation to the calling program.

In the first place can you please tell me how do i find the calling program using a BADI in general.

Will appreciate your help.

2 REPLIES 2
Read only

Former Member
0 Likes
366

Badi's are called based on user action and the transaction. You can use the reverse approach to find when you badi is getting triggered. Say for example you inplemeted a Purchase order BADI the only way to find id you code will be triggered is by putting a break point in the code and executing the transaction. If you have not implemeted the badi yet you can use the below steps to find if the badi is triggered by the transaction.

hese steps should enable you to find any BADI related to any transaction.

1) Go to the transaction SE37 to find your function module.

2) Locate the function SXV_GET_CLIF_BY_NAME.

3) Put a breakpoint there.

4) Now open a new session.

5) Go to your transaction.

6) At that time, it will stop this function.

7) Double click on the function field EXIT_NAME.

😎 That will give you name of the BADI that is provided in your transaction.

Read only

0 Likes
366

thanks for the reply.