SAP ABAP Data Element ENH_BADI_FILTER_LIMITATION (BAdI: Limited Filter Use)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-CEX-BAD (Application Component) Customer Enhancements: BAdIs
     SEEF_REDEFINITION_BADI (Package) Enhancement Framework Redefinition BAdI
Basic Data
Data Element ENH_BADI_FILTER_LIMITATION
Short Description BAdI: Limited Filter Use  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type ENHBOOLEAN    
Data Type CHAR   Character String 
Length 1    
Decimal Places 0    
Output Length 1    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short  
Medium 20 Filter Limitation 
Long 40 Limited Filter Use 
Heading  
Documentation

Definition

If this checkbox is marked, at most one filter may be defined in the BAdI definition.

In addition, there are restrictions for the filter expressions in all the corresponding BAdI implementations.

  • At least one filter combination must be specified.
  • As comparator in filter values, only the equals sign '=' is allowed.
  • AND links are not possible.

Use

Limited filter uses make for efficient calculation of the active BAdI implementations that are to be executed at runtime, in particular when there are several active implementations.

A further possible use is the explicit calling of individual implementations. Using the method CL_ENH_BADI_RUNTIME_FUNCTIONS=>GET_IMPLS_FOR_LIMITED_BADI, it is possible to determine all implementations of a BAdI with restricted filter use and then, for example, to have them displayed to the user. The user can decide on one filter value with which the BAdI is then called.

Dependencies

Setting this checkbox is a serious change. Corresponding BAdI implementations can be syntactically incorrect if their filter expressions do not match the above restrictions.

Example

If you have a character-type filter FILT_CHAR defined in a BAdI definition, a filter exprression could be defined in a corresponding BAdI implementation:

    FILT_CHAR = 'ABC' OR FILT_CHAR = 'XYZ'

History
Last changed by/on SAP  20080411 
SAP Release Created in 710