Show TOC

Smart Filter BarLocate this document in the navigation structure

The SmartFilterBar control uses the OData metadata of an entity type to create a filter bar. The metadata define, for example, the possible filter criteria by which you can filter, whether a field supports the type-ahead feature and whether it has a value help.

To configure a smart filter bar, enter the following:

Field Explanation


Path to the OData service root. If you use ABAP CDS views or BW OData queries, select a service from the value help, which lists all services available on SAP Gateway. If you use calculation views, you must enter the service manually.

Entity Type

Entity type that corresponds to the SAP HANA view.

If you use an entity type that has an associated entity type, you cannot use the properties from the associated entity type as filters in APF, because APF cannot process these properties. The properties from the associated entity type can be selected as filters in the filter bar settings and are shown in the smart filter bar, but they do not have any effect on the analysis path.


At runtime, the smart filter bar is rendered based on the annotations of the specified service. Whether certain filters are already visible or not depends on the metadata. You can add more filters and select data as required. The settings you make are applied to the analysis path as soon as you do one of the following:

  • Choose Go

  • Make a change to the analysis path that triggers a path update, for example, add an analysis step or change the sequence of the steps.

When an external context is handed over to the APF-based app, for example, from a Smart Business KPI tile, all properties from the context that are part of the smart filter bar are preselected in the filter bar. All other properties are applied to the analysis path in the background, like hidden filters.


When you define conditions for filters, you cannot use the 'Exclude' option because APF cannot handle this.

Variant Management

When you have adjusted the smart filter bar, for example, you have added further filters or selected data, you can save these settings as a variant. Saving a variant is independent from saving a path. Therefore, if you use a certain variant for an analysis path, change the settings in the filter and then save the path, the path is saved including all filters, but the variant is not overwritten.