cancel
Showing results for 
Search instead for 
Did you mean: 

is it possibe to define a badi with multiple filters for single implementation ?

Former Member
0 Kudos

is it possible to have a badi with multiple filters in one implmentation?

Accepted Solutions (0)

Answers (2)

Answers (2)

ricardo_cavedini
Active Contributor
0 Kudos

Hello,

Are you meaning, for example, for BBP_DOC_CHANGE_BADI, it should be triggered for BUS2121 and BUS2201?
Yes, this is possible, but for each BUS, a differet method willb e called (for this BAdI).

In case of BBP_DOC_CHECK_BADI, same method will be called for different filters.

Regards,
Ricardo

Former Member
0 Kudos

yes i now that for the object type as filter with differnt combination .. My question is whether we can have a badi with two different types of filters one with object type and other with some other attribute.

former_member228602
Contributor
0 Kudos

Hello Siva,

         There is no hierarchical concept in filter values. You can have multiple filter values and at any time you can pass only one filter value while invoking Badi.

The concept of hierarchy can be implemented by combination of filter and methods.

1. You can have filter as the first level and have multiple filters.

2. Then you can define methods in Badi and this now  becomes 2 level.

Thanks and Regards,

Veera

laurent_burtaire
Active Contributor
0 Kudos

Hello,

if you ara at least in SRM 7.0 release, have a look at WD_BADI_PUBLIC BAdI.

Filters are APPLICATION_CONFIGURATION and APPLICATION_NAME.

Regards.

Laurent.

Former Member
0 Kudos

Thanks for all your answers .Iam sorry if am deviating from the original topic. can anyone guide on which type of badis these multiple filters is enabled as you mentioned like application configuration and  application name.

but in case of doc BBP_DOC_CHECK_BADi it is only single filter with object type like bus2021 .. e.t.c.

nishantbansal91
Active Contributor
0 Kudos

Dear siva,

Please use the filter  with OR condition.

Regards,

Nishant