• 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.

    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的原创文章,请关注公众号"汪子熙":

  • 相关阅读:
    MySQL 慢日志没有自动创建新的日志文件
    Springboot为什么加载不上application.yml的配置文件
    android studio set proxy
    c++ win32 遍历进程列表
    React Prompt组件 阻止用户离开页面
    JS 浏览器上生成 UUID API
    部署 Nestjs 最佳实践
    Nginx 部署 单页面应用 + nodejs api 应用 最佳实践
    React JS: 如何使用 RxService 管理状态
    umijs 开发优化和生产优化
  • 原文地址:https://www.cnblogs.com/sap-jerry/p/13540545.html
Copyright © 2020-2023  润新知