如何在CRM WebClient UI裏使用HANA Live Report

1. 使用業務角色ANALYTICSPRO登陸SAP CRM WebClient UI:app

點擊新建按鈕建立一個新的HANA live report:server

類型選擇SHL:blog

彈出窗口,維護report的名稱,描述信息,和底層使用哪一個SAP HANA Live Query:事務

能夠使用F4 help來選擇系統裏標準的HANA live query:element

這篇文章裏我使用的是:OpportunityQuery.it

2. 這個ID OpportunityQuery是在ABAP後臺系統事務碼SPRO裏配置的。io

路徑:CRM Analytics->SAP HANA Live Reporting:登錄

我使用的OpportunityService, 實際上指向的SAP標準query的名稱爲:OpportunityQuery.xsodata:後臺

3. 再回到WebClient UI,須要給咱們選擇的HANA live Query維護一些必填參數:sed

這些必填參數一樣是在HANA Studio裏建模的,好比UI上看到的參數 Display Currency,對應HANA Studio裏的參數P_DisplayCurrency:

本文例子提到的HANA live query能夠從下面的路徑找到:打開HANA Studio的系統視圖(System perspective): sap->hba->crm->Calculation Views:

必填參數維護完畢後,給report指定須要顯示在UI上的attribute。這裏我選擇了:「Analysis Phase」.

Add measure ( Measures are measurable analytical elements ):

4. 至此report能夠在WebClient UI上顯示出來了,全部的數據都是經過HANA live report從後臺系統取回:

在Chrome development tool裏能觀察到取報表數據的請求頭部和響應結構明細:

響應:

報表數據也能在WebClient UI上看到:

能夠經過下拉菜單切換圖標類型,好比切換成餅狀圖-Pie Chart:

要在WebClient UI裏使用HANA live report,必須完成下面兩個配置:

  • 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.
  • URLs with the path /sap/opu/odata/sap/ are routed to the message server for the CRM system.

要獲取更多Jerry的原創文章,請關注公衆號"汪子熙":

相關文章
相關標籤/搜索