‎2008 Dec 30 10:40 AM
Hi Experts,
Can anyone brief me on Filter dependent BAdi and what is the use of these type of BAdi.
Thanks & Regards
Manas Nayak
‎2008 Dec 30 10:42 AM
Hi Manas,
Please check this link
http://help.sap.com/saphelp_nw04/helpdata/EN/eb/3e7cf7940e11d295df0000e82de14a/content.htm
Will help you.
‎2008 Dec 30 10:42 AM
Hi Manas,
Please check this link
http://help.sap.com/saphelp_nw04/helpdata/EN/eb/3e7cf7940e11d295df0000e82de14a/content.htm
Will help you.
‎2008 Dec 30 10:43 AM
‎2008 Dec 30 10:45 AM
If you have SAP system spanning across different countries then you may use filter dependent BAdIs to implement the BAdI for a particular geography only.
‎2008 Dec 30 10:49 AM
Hi Manas,
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.
The BADI is filter dependent. In the first tab of your BADI implementation (SE19), the lower half will contain filter details.
STEPS FOR SETTING UP A FILTER
just go to se18 and give ur BADI name..
then Select 'Attributes' Tab ,there u will find option Filter-Dependent in window named "type"..
check tht filter dependent checkbox and give ur data element/field in the Filter type field say u can give 'MOLGA' ..save and come back..
now go to se19 and implement this BADi and there u can give filter values for filed MOLGA..
Hope this will help.
Regards,
Nitin.
‎2008 Dec 30 11:55 AM
Thanks to all for the reply.
Can not we achieve the same with Case statement or IF ELSE statement with a single implementation?
Kindly let me know the advantage of using this.
Thanks & Regards
Manas
‎2009 Apr 10 2:04 PM
‎2013 Dec 14 3:22 AM
Hi Manas,
When we check the attributes tab in BADi definition in se18. we can find an option Filter Dependent,
where we can give the data element (For Eg :When we are using SAP in more than one country and we need to validate inside the code using the company code ).
Then we will get a field FLT_VAL in all methods in of the badi implementation.
‎2013 Dec 14 6:09 AM
Hi Manas,
Filter depended BADI is same as the Function Module with the Importing Parameter. But in this the Importing parameter value is constant in the BADI importing Parameter.
This Type of BADI is useful when we have same name method to define and we can call this method based on the OBJECT type.
Regards,
Nishant Bansal