Application Development and Automation 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: 
Read only

Query in Badi

Former Member
0 Likes
788

Hi all,

Can anyone please tell me what are FIlter-Dependent Badi's?

Kindly reply immediately as this is bit urgent.

Regards,

Vijay

Hi all,

Can anyone please tell me what are FIlter-Dependent Badi's?

Kindly reply immediately as this is bit urgent.

Regards,

Vijay

3 REPLIES 3
Read only

former_member194669
Active Contributor
0 Likes
680

Hi,

This is documentation i found

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.

Please check badi BDCP_BEFORE_WRITE it have very good documentation

a®s

,

Read only

0 Likes
680

Hi,

Thanks a lot for your reply .

Kindly clarify this query of mine.

I have an Action Profile which gets trigerred when I change the status in Opportunity .

The Action Profile sends an Email to a list of people.

I have got two distribution lists which contains the list of email ids to whcih a mail has to be sent.

One of the distribution list gets selected when the action profile is selected depending on the time of the time of the Action Profile getting trigerred.

Please tell me a Badi which gets trigerred so that I can write the code to select the Distribution List.

Kindly reply immediately as this is bit urgent.

Please let me know incase yu want more details.

Regards,

Vijay

Read only

former_member188594
Active Participant
0 Likes
680

Hi,

Business Add-Ins can be implemented based on a specific filter value

If you want to call the implementation of a Business Add-In depending not

only on one filter value but on various values, you can enter the name of a

structure into the Filter type field. The structure can consist of several data

elements that fulfill the conditions for data elements

A filter type can be a data element or a structure. A data element must fulfill the following

criteria:

– The data element's domain may contain a maximum of 30 characters and must be

of type Character.

– The data element must 1). either have a search help with a search help parameter

of the same type as the data element and this parameter must serve as both the

import and export parameter or 2). the element's domain must have fixed domain

values or a value table containing a column with the same type as the data

element.

Be aware that for each method you create in the

interface of a filter-dependent enhancement, the appropriate filter value must be defined

as the import parameter so that the application program can provide the filter value to

the enhancement method. The method then selects the active implementation for that

value.

• The filter value is declared using parameter FLT_VAL and is preset in the list of parameters.

While creating a BADI using SE18, there is a check box under TYPE tab "Filter-Depend." you need to check ok this check box to make use of filter dependent option. And provide a data element name for Filter type on which you want to implement the filter.

Regards,

Sekhar