如何使用SAP APF里的过滤器

77 阅读1分钟

APF, 是Analytics Path Framework的简称。

i042416 commented on May 24, 2016

In APF Configuration Modeler, there is a filter with type Smart Filter Bar automatically generated.
在这里插入图片描述
When I change it to “Individually Configured Filters”, it is then possible for me to create filter manually:
在这里插入图片描述
Then choose a property for filtering operand ( which will be used in OData filtering operation ) from drop down list:
在这里插入图片描述
And below OData request is responsible for rendering the value list in 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.
在这里插入图片描述
This is OData request response:
在这里插入图片描述
The response is used to render filter drop down list when hyperlink is clicked:
在这里插入图片描述
When we deselect Z02 and click OK button:
在这里插入图片描述
The filtering OData request is sent to backend to get filtered data. The chart is refreshed accordingly.
在这里插入图片描述
If we use Smart filter bar, it looks like below:

在这里插入图片描述

要获取更多Jerry的原创文章,请关注公众号"汪子熙":