‎2006 Dec 12 2:09 PM
Hello
I have to implement a badi and it is my first time.
In SE19, I would like to add a filter(depend but i don't know how...can you help me please?
thanks
‎2006 Dec 12 2:12 PM
When you create a implementation in Se19 for the existing BADI, you add a filter condition. Where exactly are you stuck?
http://help.sap.com/saphelp_nw04/helpdata/en/eb/3e7cf7940e11d295df0000e82de14a/content.htm
Regards,
Ravi
Note - Please mark all the helpful answers
‎2006 Dec 12 2:14 PM
Check the sap documentation for that field:
"Filter-Dependence with BADI Definitions
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."
"Filter Type
Definition
Describes the type of data that is valid as a filter value for a business add-in definition. The system decides which active add-in implementation to execute, based on this filter value.
The filter type is specified in the business add-in definition view (transaction SE18). It must be a data element, of the character type, with a maximum length of 30, which has a search help, a domain with fixed values, or a domain with a value table.
"
"Filter Value for Filter-Dependent BADI Implementations
Definition
Filter values are the instances of filter types. You must specify filter values for BADI implementations of filter-dependent BADI definitions. If a BADI method is called at runtime using this filter type, the method implementation for the BADI implementation is run using this filter value (the filter values for multiple use).
The following filter values are allowed:
1. The fixed domain values of the filter type
2. The values from the values table that is assigned to the domain of the filter type
3. The values that can be found using the search help filter type
4. New vaues that are allowed according to the domain filter type, provided the filter type is enhanceable"
Regards,
Ravi
Message was edited by:
Ravi Kanth Talagana
‎2006 Dec 18 9:10 AM
Hello;
can someone knows wich Badi I can implement when I click on "confirm goods/service" in ordre to check if it is a good or service PO?
Thanks
‎2006 Dec 18 10:06 AM
‎2006 Dec 18 10:20 AM
can u tell me the transaction name..may be i can help you in finding the badi
‎2006 Dec 18 10:48 AM
‎2006 Dec 18 11:00 AM
‎2006 Dec 18 12:06 PM
Yes it is the correct one but I'm not on a R/3 sap, I'm on SRM