‎2008 Jun 16 12:06 PM
How many implementations can we do in a BADI?
What is hierarchy of calling a particular implemetation when they are n number of implementation?
‎2008 Jun 16 12:09 PM
Hi Rohit,
For BADI's we can have multiple implementations. That is the main advantage of BADI.
For example, If you created an implementation for a particular BADI, Let us suppose assume that already some one have created their own implementations for that same BADI.
Let us think that your's is third implementation. Your implementation doesn't trigger until and unless you deactivate the above implementations. You should deactivate the above ones.
Everytime the BADI triggers only for the order which is at first level. If your's is at third or fourth one then you need to deactivate the above ones and check yours. Then it get triggered.
If The Muliple use Or Filter Dependent Check box are checked in Attibutes TAB, then You can implement Multiple Implementations for that BADI.
The Latest Implemented BADI Implementation will Trigger first.
Reward points if it helps.
Cheers,
Swamy Kunche
‎2008 Jun 16 12:12 PM
Hi rohit,
how can we find which level our BADI is positioned ..???
my doubt is if we deactivate the above implementations...then what is the difference between enhancement and BADI...???
Regards,
Venkat N
‎2008 Jun 16 12:09 PM
Hi,
you can do number of implementations for any badi...that is the advantage of badi..
because it is defined based on OOPs concepts...
that is why we have reusability.
Regards,
Venkat N
‎2008 Jun 16 12:19 PM
My Dout of BADI is:
let say we have 5 implementations for a particular BADI, then my question is: In what criteria they are called, one after the another.
Means: which implementation is accessed first?
‎2008 Jun 16 1:49 PM
Hi Rohit,
The implementation which is there at first will be triggered.
If your's is at third or fourth position then you deactivate all the other implementations and activate yours.
Cheers,
Swamy Kunche
‎2008 Jun 16 6:04 PM
I had a scenario , where the standard Implementation triggered first rather than my implementation. So I had to de-activate the standard implementation and activate my implementation.
I think the order is FIFO, not LIFO
Thanks
‎2010 Jun 21 12:24 PM
‎2008 Dec 24 11:36 AM