Application Development 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: 

Why we define BADI with filter definition.

Former Member
0 Kudos

Could you please tell me why we define BADI eith filter definition.?

Regards,

Amar

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Filter definitions are used to specify the squence of the steps in a implementations that are developed for a particular BADI.

Filter dependence for BADI definitions means that each interface method automatically has an importing parameter FLT_VAL assigned ot it. This parameter must be filled with a filter value as current parameter when it is called.

A BADI definition should be marked as filter-dependent whenever the characteristic of the BADI implementation should match the characteristics of the filter type - that is, whenever the implementation of different filter values should be different or should only exist at all for certain filter values.

Typical filter types are line of industry or country.

Regards,

Aditya

Edited by: aditya on Aug 5, 2009 1:00 PM

2 REPLIES 2

Former Member
0 Kudos

Hi,

Filter definitions are used to specify the squence of the steps in a implementations that are developed for a particular BADI.

Filter dependence for BADI definitions means that each interface method automatically has an importing parameter FLT_VAL assigned ot it. This parameter must be filled with a filter value as current parameter when it is called.

A BADI definition should be marked as filter-dependent whenever the characteristic of the BADI implementation should match the characteristics of the filter type - that is, whenever the implementation of different filter values should be different or should only exist at all for certain filter values.

Typical filter types are line of industry or country.

Regards,

Aditya

Edited by: aditya on Aug 5, 2009 1:00 PM

Former Member
0 Kudos

Hi,

A filter enabled BADI def simply means that it would have the filter variable as an input parameter and you can differnetiate which implementation to trigger for which filter value .

Also please see below discussion on the topic.

https://www.sdn.sap.com/irj/scn/logon?mode=check&redirect=https%3a//forums.sdn.sap.com/message.jspa%...

Regards,

Himanshu