首页 > 其他 > 详细

SAP Analytics Path Framework的filter实现原理分析

时间:2020-08-21 15:13:25      阅读:68      评论:0      收藏:0      [点我收藏+]

I am recently doing self study on Analytics Path Framework and as a beginner I have finished some “Hello world” exercise and I have written down my steps to finish those “Hello world” project in these two blogs:

Build Chart and Table representation via Analytics Path Framework
Access the OData service exposed by your CDS view via Smart Business Tile in S4HANA system
In this blog, I will learn how to use filter in Analytics Path Framework. Source Code of used CDS views could be found from previous blog mentioned above.

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.

技术分享图片

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
技术分享图片

SAP Analytics Path Framework的filter实现原理分析

原文:https://www.cnblogs.com/sap-jerry/p/13540545.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!