如何在CRM WebClient UI里使用HANA Live Report
1. 使用業(yè)務(wù)角色ANALYTICSPRO登錄SAP CRM WebClient UI:
點(diǎn)擊新建按鈕創(chuàng)建一個(gè)新的HANA live report:
類(lèi)型選擇SHL:
彈出窗口,維護(hù)report的名稱,描述信息,和底層使用哪個(gè)SAP HANA Live Query:
可以使用F4 help來(lái)選擇系統(tǒng)里標(biāo)準(zhǔn)的HANA live query:
這篇文章里我使用的是:OpportunityQuery.
2. 這個(gè)ID OpportunityQuery是在ABAP后臺(tái)系統(tǒng)事務(wù)碼SPRO里配置的。
路徑:CRM Analytics->SAP HANA Live Reporting:
我使用的OpportunityService, 實(shí)際上指向的SAP標(biāo)準(zhǔn)query的名稱為:OpportunityQuery.xsodata:
3. 再回到WebClient UI,需要給我們選擇的HANA live Query維護(hù)一些必填參數(shù):
這些必填參數(shù)同樣是在HANA Studio里建模的,比如UI上看到的參數(shù) Display Currency,對(duì)應(yīng)HANA Studio里的參數(shù)P_DisplayCurrency:
本文例子提到的HANA live query可以從下面的路徑找到:打開(kāi)HANA Studio的系統(tǒng)視圖(System perspective): sap->hba->crm->Calculation Views:
必填參數(shù)維護(hù)完畢后,給report指定需要顯示在UI上的attribute。這里我選擇了:“Analysis Phase”.
Add measure ( Measures are measurable analytical elements ):
4. 至此report可以在WebClient UI上顯示出來(lái)了,所有的數(shù)據(jù)都是通過(guò)HANA live report從后臺(tái)系統(tǒng)取回:
在Chrome development tool里能觀察到取報(bào)表數(shù)據(jù)的請(qǐng)求頭部和響應(yīng)結(jié)構(gòu)明細(xì):
響應(yīng):
報(bào)表數(shù)據(jù)也能在WebClient UI上看到:
可以通過(guò)下拉菜單切換圖標(biāo)類(lèi)型,比如切換成餅狀圖-Pie Chart:
要在WebClient UI里使用HANA live report,必須完成下面兩個(gè)配置:
- 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的原創(chuàng)文章,請(qǐng)關(guān)注公眾號(hào)"汪子熙":
總結(jié)
以上是生活随笔為你收集整理的如何在CRM WebClient UI里使用HANA Live Report的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: webpack-dev-server启动
- 下一篇: CRM和C4C product cate