‎2008 May 13 5:20 AM
Hi,
Will one badi implementation trigger for multiple tcodes?
Please clarify me on this.
Thanks & Regards,
Sudheera K
‎2008 May 13 6:25 AM
Hi Sudheera
A business add-in has two important attributes that you must define:
Reusable
Filter-dependent
If you want the business add-in to support multiple parallel implementations, select Reusable. The sequence in which the implementations will be processed is not defined. Even if the business add-in does not support multiple use, you can still have more than one implementation for it. However, only one implementation can be active at a time.
Reward if help full.
Regards
Lakshman
‎2008 May 13 6:30 AM
Yes, it will trigger. But then it also depends upon your code written inside BADI implementation. If you dont want the code to get executed for a particular transaction then you can write your code with conditions like -
IF (condition)
code here
ENDIF.
I hope it helps. If this is not clear then give details about exact requirements so that I can explain you.
Best Regards,
Vibha
Please mark all the helpful answers
‎2008 May 13 6:51 AM
If one implementation is triggered in multiple tcodes, what is the need for implementing the same method again. we can write the code in same imple using the if conditions for diff tcodes.
Then what is the need of multiple implementations.
Edited by: Sudheera K on May 13, 2008 11:21 AM
‎2008 May 13 8:50 AM
hiii,
badi is a oops concept using interface with reusable facility.
with the same method name you can implement different functionality but only 1 can be active at a time.
the case of multiple implementations means tht with the same method name you can implement different functionality..so u can use as per your requirement.
reward if clear...
thanks...