zoukankan      html  css  js  c++  java
  • 如何在SAP WebClient UI里使用HANA Live report

    (1) Log on WebUI with role ANALYTICSPRO.

    create a new HANA live report:

    report type choose “SHL”:

    in popup window, you have to specify the following three attributes:

    For field “SAP HANA Live Query”, You can choose from F4 value help:

    In this example I just use standard HANA query delivered by SAP: OpportunityQuery.

    (2) Do not be confused by the id “OpportunityService” in previous screenshot. It is just an identifier defined in SPRO, but not the technical ID for a given HANA query view.
    The 5 entries of the value help come from the below customizing:

    So the query ID I choose, “OpportunityService”, actually points to the HANA query OpportunityQuery.xsodata:

    (3) Now you are asked to specify value for mandatory parameters of the HANA query you select from step2.

    The three mandatory parameters are defined in HANA studio:

    You can find the example OpportunityQuery via the path in System perspective in HANA studio: sap->hba->crm->Calculation Views.

    define an attribute for report ( Attributes are the individual non-measurable analytical elements). Here I choose “Analysis Phase”.

    Add measure ( Measures are measurable analytical elements ):

    (4) Now the report can be rendered – all the data comes from HANA database retrieved by HANA query efficiently:

    In Chrome development tool, you can observe how analytic data is retrieved by HANA query:

    response:

    And the response data is also displayed in the bottom part of report:

    You can switch to different stype of graph via the “Select Chart Type” drop down list.

    Note: The prerequisite of using this solution in CRM Webui is the following configuration must be done for SAP Web Dispatcher.

    a. URLs with the path /sap/hba/apps/crmhlq are routed to the OData port for the SAP HANA Extended Application Services in the SAP HANA database, which contains the SAP HANA Live Content with the query views used.
    b. URLs with the path /sap/opu/odata/sap/ are routed to the message server for the CRM system.

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

  • 相关阅读:
    小白的源码阅读之旅_RazorEngine_起因
    Sqlserver_小工具_Json解析
    Sqlserver_小工具_批量字段约束处理
    SqlServer_小工具_获取数据库空间信息获取
    SqlServer_小工具_系统表的使用
    Sqlserver_小工具_字符统计(区分大小写)
    SqlServer_小工具_存储空间单位自适应
    不断优化,重构我的代码-----拖拽jquery插件
    canvas绘制二次贝塞尔曲线----演示二次贝塞尔四个参数的作用
    requestAnimationFrame与setInterval,setTimeout
  • 原文地址:https://www.cnblogs.com/sap-jerry/p/13625626.html
Copyright © 2011-2022 走看看