!--a11y-->
Definition
A filter is a Web item that displays the filter values resulting from navigation for a query view in the Web application.
Use
The Web item
Filter displays the filter values that have been generated by navigating in a query view in a Web application. You also use filters to select individual values.
Structure
As well as its
general attributes, the Filter Web item has the following attributes:|
Attributes |
Description |
|
Display Filter Values PRESENTATION (optional) PRESENTATION_N (optional) 'KEY' = key 'TEXT' = Descriprtion 'KEY_TEXT' = Key and description 'TEXT_KEY' = Description and key |
The filter value is displayed in accordance with the setting. If no display is specified for an index, the index 0 display (no index) is used.
If this parameter is not specified, the display, which is valid for the characteristic, is used. |
|
List of characteristics (ITEM_LIST) |
List of characteristics with display |
|
Maximum filter value length (FILTER_VALUE_LENGTH) Default value: 0 |
You specify the number of characters, according to which a filter value is indicated, by "...".
If you keep the value as 0 (default), the complete filter value is displayed. |
|
Only display values (ONLY_VALUES) "X" = Yes, " " = No |
When you activate this attribute, the filter values are displayed without any labeling, and the formatting is separated using semi-colons. |
|
List characteristics and structures (ITEM_FILTER_IOBJNM_N) (optional)
This attribute is displayed in the Web Application Designer in the attribute list of the characteristic (ITEM_LIST). |
Listing the names of characteristics and structures enables you to determine which entries appear in the filter and in which order. Only those entries for which a filter value exists are displayed. The remaining entries are skipped over.
If you do not specify this parameter, all the characteristics and structures that are filtered are displayed. |
If you combine ONLY_VALUES=X and ITEM_FILTER_IOBJNM=MyInfoObject, it is possible to identify a single filter value in the Web template. This is also useful in headers, for example.

Displaying filter values for the characteristic Calendar year without formatting
<object>
<param name=’OWNER’ value=’SAP_BW’>
</object>
Input field for filtering according to Calendar year with preassigned dynamic filters (only works with single value filters)
<form action="<SAP_BW_URL DATA_PROVIDER='View 1' FILTER_IOBJNM='0CALYEAR'>" method="post">
Calendar year: <input name="FILTER_VALUE_EXT" size=4 maxlength=4 value="
<object>
<param name=’OWNER’ value=’SAP_BW’>
</object>
<input type=submit value="Submit">
<input type=reset value="Reset">
</form>