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

i042416發表於2018-10-22

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

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

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

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

型別選擇SHL:

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

彈出視窗,維護report的名稱,描述資訊,和底層使用哪個SAP HANA Live Query:

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

可以使用F4 help來選擇系統裡標準的HANA live query:

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

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

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

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

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

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

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

3. 再回到WebClient UI,需要給我們選擇的HANA live Query維護一些必填引數:

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

這些必填引數同樣是在HANA Studio裡建模的,比如UI上看到的引數 Display Currency,對應HANA Studio裡的引數P_DisplayCurrency:

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

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

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

必填引數維護完畢後,給report指定需要顯示在UI上的attribute。這裡我選擇了:“Analysis Phase”.

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

Add measure ( Measures are measurable analytical elements ):

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

4. 至此report可以在WebClient UI上顯示出來了,所有的資料都是通過HANA live report從後臺系統取回:

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

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

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

響應:

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

報表資料也能在WebClient UI上看到:

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

可以通過下拉選單切換圖示型別,比如切換成餅狀圖-Pie Chart:

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

要在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的原創文章,請關注公眾號"汪子熙":

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2217156/,如需轉載,請註明出處,否則將追究法律責任。

相關文章