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

BADI implementations

rohit_kaikala
Participant
0 Likes
932

How many implementations can we do in a BADI?

What is hierarchy of calling a particular implemetation when they are n number of implementation?

8 REPLIES 8
Read only

Former Member
0 Likes
899

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

Read only

0 Likes
899

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

Read only

Former Member
0 Likes
899

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

Read only

rohit_kaikala
Participant
0 Likes
899

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?

Read only

0 Likes
899

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

Read only

0 Likes
899

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

Read only

0 Likes
899

hi,

How to deactivate standard BADI.

Regards

Read only

rohit_kaikala
Participant
0 Likes
899

slightly cleared