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

Difference between multiple use and filter depend in BADis

Former Member
0 Likes
2,719

Dear Experts,

Can u plz tell me the major difference between <b>MULTIPLE USE</b> and<b> FILTER DEPEND</b> types in badi definition.Is it possible to create a BAdi definition without selecting none of them

Thanks & regards,

vineel

Dear Experts,

Can u plz tell me the major difference between <b>MULTIPLE USE</b> and<b> FILTER DEPEND</b> types in badi definition.Is it possible to create a BAdi definition without selecting none of them

Thanks & regards,

vineel

3 REPLIES 3
Read only

Former Member
0 Likes
1,032

Business Add-in Definition

Definition

Name of the definition of a business add-in (BADI). Business add-ins are SAP's new enhancement concept. There are two different views:

In the definition, you create an enhancement that is called from the application code

In the implementation, you save the code for the functions for the enhancement

You create business add-in definitions using transaction SE18. They contain the business add-in interface. In the application code the instance variable is typed according to this interface. You can create several implementations for each add-in definition.

There are two main types of BADI definitions:

Multiple use - that is, there can be several active implementations

Filter-dependent - that is, you apply a filter value to each method called (for example, a country). A different (active) implementation is then called for each value. Possible filter values are characterized by the filter type.

YES u can.

Regards

Prabhu

Read only

Former Member
0 Likes
1,032

You can differentiate between single-use and multiple use Business Add-Ins. The distinction is based on the procedure or event character of an enhancement. In the first case, the program waits for the enhancement to return something, usually a return code. A typical example could be a benefit calculation in HR. Depending on the implementation, alternative calculations can be executed. With multiple use add-ins, an event that may be of interest to other components is processed in program flow. Any number of components could use this event as a “hook” to hang their own additional actions on to.

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.

http://help.sap.com/saphelp_nw04/helpdata/en/eb/3e7cf4940e11d295df0000e82de14a/frameset.htm

Read only

Former Member
0 Likes
1,032

Hello,

If in a BADI definition if the check box 'Multiple Use' is not checked then you can implement the BADI only once. Otherwise, multiple times.

Filter dependent BADI's are maily used for country specific business process,

For filter dependednt BADI, please refer the following SAP help site,

http://help.sap.com/saphelp_nw04/helpdata/en/eb/3e7cf4940e11d295df0000e82de14a/frameset.htm

Regs,

Venkat Ramanan N