‎2008 Apr 30 9:38 PM
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.
‎2008 Apr 30 10:28 PM
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.
‎2008 May 07 2:32 PM