且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

SAP S/4HANA Analytics Path Framework 里过滤器(filter)的使用方法介绍

更新时间:2022-09-11 16:14:33

In APF Configuration Modeler, there is a filter with type Smart Filter Bar automatically generated.


SAP S/4HANA Analytics Path Framework 里过滤器(filter)的使用方法介绍


When I change it to “Individually Configured Filters”, it is then possible for me to create filter manually:


SAP S/4HANA Analytics Path Framework 里过滤器(filter)的使用方法介绍


Then choose a property for filtering operand ( which will be used in OData filtering operation ) from drop down list:


SAP S/4HANA Analytics Path Framework 里过滤器(filter)的使用方法介绍


And below OData request is responsible for rendering the value list in filter.


SAP S/4HANA Analytics Path Framework 里过滤器(filter)的使用方法介绍


Let’s observe the roundtrip in the runtime. Once we click execute button, the OData request maintained in above screenshot is called to retrieve the product id list, which will be used to render the drop down list of filter.



SAP S/4HANA Analytics Path Framework 里过滤器(filter)的使用方法介绍

This is OData request response:


SAP S/4HANA Analytics Path Framework 里过滤器(filter)的使用方法介绍


The response is used to render filter drop down list when hyperlink is clicked:



SAP S/4HANA Analytics Path Framework 里过滤器(filter)的使用方法介绍

When we deselect Z02 and click OK button:



SAP S/4HANA Analytics Path Framework 里过滤器(filter)的使用方法介绍

The filtering OData request is sent to backend to get filtered data. The chart is refreshed accordingly.

SAP S/4HANA Analytics Path Framework 里过滤器(filter)的使用方法介绍