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

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

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.


image.png

image.png

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

image.png

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

image.png

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

image.png

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.


image.png

This is OData request response:

image.png

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

image.png

When we deselect Z02 and click OK button:

image.png

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

image.png

相关文章
|
XML 存储 JavaScript
sap.ui.core.Configuration 的作用简析
sap.ui.core.Configuration 的作用简析
|
XML JSON 监控
通过一个具体的例子,讲解 SAP Cloud Platform Integration(CPI) 的使用方法
通过一个具体的例子,讲解 SAP Cloud Platform Integration(CPI) 的使用方法
|
存储 测试技术
SAP ABAP OData 服务 Data Provider Class 的 GET_ENTITYSET 方法实现指南试读版
SAP ABAP OData 服务 Data Provider Class 的 GET_ENTITYSET 方法实现指南试读版
SAP Analytics Path Framework的filter实现原理分析
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:
SAP Analytics Path Framework的filter实现原理分析
SAP S/4HANA Analytics Path Framework 里过滤器(filter)的使用方法介绍
SAP S/4HANA Analytics Path Framework 里过滤器(filter)的使用方法介绍
178 0
SAP S/4HANA Analytics Path Framework 里过滤器(filter)的使用方法介绍
How to use filter in Analytics Path Framework
How to use filter in Analytics Path Framework
How to use filter in Analytics Path Framework
如何测试 SAP OData的filter功能
下面这个url的意思是只取状态为open的那些Opportunity数据: https://jerry:4080/sap/opu/odata/sap/CRM_OPPORTUNITY/Opportunities?KaTeX parse error: Expected 'EOF', got '&' at position 7: skip=0&̲top=20&$filter=UserStatusCode eq ‘I1002’ 因为我们作为消费者已经提供了filter,所以下图地28行的方法get_system_status永远不会被调用到:
如何测试 SAP OData的filter功能
SAP Fiori:why my filter by titleID does not work
SAP Fiori:why my filter by titleID does not work
124 0
SAP Fiori:why my filter by titleID does not work
SAP Cloud Platform上Fiori launchpad tile的读取原理
下图是Fiori on HANA HCP的architecture: 我们的Fiori UI不再是存在netweaver的BSP application里,而是存在HCP的cloud repository里了。 Fiori Launchpad及相关配置,按照wiki的介绍,现在tile configuration的内容最终是存放在HANA native的table里,通过XSE暴露的service给client端调用。
SAP Cloud Platform上Fiori launchpad tile的读取原理
Cloud for Customer UI Designer里embedded component刷新的讨论
Cloud for Customer UI Designer里embedded component刷新的讨论
Cloud for Customer UI Designer里embedded component刷新的讨论