‎2008 Jan 31 9:06 AM
HI,
CAN YOU TELL ME WHAT IS THE FILTERING
CONCEPT IN BADI?
‎2008 Jan 31 9:10 AM
depending on value FLT_VAL, it will call different implementation of the same badi
/people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
‎2008 Jan 31 9:16 AM
Hi,
Filtering concept in BADI.
BADI may be implemented depending on a specific filter value( example COUNTRY-SPECIFIC VERSIONS: distinct implementations of the BADI can be created for the COUNTRY).
a filter type must be entered when defining your enhancement ( a country or industry, for example).
all methods created in the enhancement's interface have filter value 'FLT_VAL' as their import parameter.
the method then selects the active implemetation based on the data provided in the filter value.
for seting the filter value, you must enable the option FILTER DEPEND and provide FILTER TYPE in the ATTRIBUTES of the BADI defination.
SE18 is the transaction code for creating BADI.
follow this link for more information on BADI.
http://help.sap.com/saphelp_nw04/helpdata/en/ce/b09b3cbe4ca00ee10000000a11405a/content.htm
Regards,
Satish
‎2008 Jan 31 9:17 AM
Check out this blog:
/people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
Reward if useful.
‎2008 Jan 31 9:46 AM
Hi,
BAdIs can be filter-dependent which means:
"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.
This means that you can have several implementations of the same method in different implementing classes of the BAdI interface.
Now who will implement these classes?
Either it is yourself (= customer) or you may look around if somebody else offers suitable implementations (e.g. partners of SAP or SAP itself). So here you have already multi-level solutions.
Regards
‎2008 Jan 31 10:04 AM
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.
‎2008 Mar 21 5:00 PM
Hey Renjith Michael
Your answer sounds vague. Do you say that filter should have > 1 values or does not exist at all?
thanks
Dan
‎2008 Mar 22 6:05 AM
Hai Radha Krishna,
BADI'S:
a) Business Add-in definition level (for example a country, industry sector) we can have filter dependent option. If an enhancement for country specific versions then it is likely that different partners can implement this enhancement. The individual countries can create and activate their own implementation.
b) In the enhancement definition, all the methods created in the enhancements interface need to have filter value as their importing parameter. The application program provides the filter values for the implementation method.
c) Filter dependent BAdi is called using one filter value only, it is possible to check active implementation for the filter value using the function module SXC_EXIT_CHECK_ACTIVE.
Regards.
Eshwar.
‎2008 Mar 24 10:30 AM
Hi,
check this links
http://help.sap.com/saphelp_nw04/helpdata/en/eb/3e7cf7940e11d295df0000e82de14a/frameset.htm
and
http://help.sap.com/saphelp_nw04/helpdata/en/eb/3e7cf7940e11d295df0000e82de14a/frameset.htm
Badihttp://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
http://support.sas.com/rnd/papers/sugi30/SAP.ppt
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
http://members.aol.com/_ht_a/skarkada/sap/
http://www.ct-software.com/reportpool_frame.htm
http://www.saphelp.com/SAP_Technical.htm
http://www.kabai.com/abaps/q.htm
http://www.guidancetech.com/people/holland/sap/abap/
http://www.planetsap.com/download_abap_programs.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
/people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
/people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
http://esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
http://esnips.com/doc/365d4c4d-9fcb-4189-85fd-866b7bf25257/customer-exits--badi.zip
http://esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
http://help.sap.com//saphelp_470/helpdata/EN/eb/3e7cee940e11d295df0000e82de14a/frameset.htm
with regards,
sowjanya.
‎2008 Mar 25 10:17 PM
hi,
Business Add-Ins may be implemented on the basis of a filter value. If an enhancement for country-specific versions is provided for in the standard version, it is likely that different partners will want to implement this enhancement. The individual countries can create and activate their own implementation.
Enter a filter type when defining your enhancement (a country or industry sector, for example). All methods created in the enhancement's interface have filter value FLT_VAL as their importing parameter. The application program provides the filter value for the enhancement method. The method then selects the active implementation for that value.
A description of how a filter-dependent Business Add-In works in the context of the string conversion example follows. Different implementations are called using different filter values.
please look the below given link.
[http://help.sap.com/saphelp_nw04/helpdata/en/eb/3e7cf7940e11d295df0000e82de14a/content.htm]
reward if usefull