如何在SAP Fiori应用里消费SAP HANA Query view

简介: 如何在SAP Fiori应用里消费SAP HANA Query view

In CRM Fiori there is one standard application called Customer report, where you can consume the HANA query view modeled in HANA studio, taking one example below:


image.png


This blogs shows the step by step how to consume a given HANA query view in CRM Fiori.


(1) log on Fiori with user which is assigned with PFCG roles /UI2/SAP_KPIMOD_TCR_S and /UI2/SAP_KPIFRW5_TCR_S.

You can get more detail from sap help.


You should see the following tiles after log on.


[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-13A7dHXr-1596945487247)(https://upload-images.jianshu.io/upload_images/2085791-d1574a5f287b0548.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)]


(2) Create a new KPI:


image.png


Maintain KPI id and Title:


[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-gLTZLJNh-1596945487254)(https://upload-images.jianshu.io/upload_images/2085791-33ce6118f02f6581.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)]


in the Data source area, I just use the standard HANA view OpportunityQueryOData delivered by SAP. Click Save and Activate.


image.png


(3) The KPI itself could not directly be consumed by Fiori launchpad. Instead only an evaluation belonging to a given KPI could be consumed. Go back to Fiori launchpad and go to tile “KPI Workspace”. Find the KPI just created in step2 and create an evaluation based on it. ( Current Evaluation: 0 )


image.png



And for evaluation, we need to specify four mandatory parameters:


image.png


You may ask where does the definition of these four parameters come from, actually they are just defined in the underlying HANA view in HANA studio, as mandatory.


image.png


Click Save and Activate, after that you should see your evaluation.


image.png


(4) Open your evaluation just created in previous step, click “Configure Tile”:


image.png


Click “Add Tile”:


image.png


Specify the following Semantic Object and Action, so that in the runtime when this tile is clicked in Launchpad, the SAP standard Fiori application “Customer Report” will be opened, which acts as the container to display the HANA Query view configured in the KPI.


image.png


(5) Last step is to configure the tile created in step 4 to make it visible in Launchpad.

By default all KPI tiles created based on a given evaluation will appear in catalog “SAP : KPIs”:


image.png


Now it is ready for test. Open launchpad the the measure you specified in KPI in step 2 will automatically be calculated by smart business framework. In the roundtrip you can really observe the four parameter you specify on evaluation you have done in step 3.


image.png


The calculation result is displayed in tile as expected:


image.png


If you click the tile, all CRM WebUI reports created based on the HANA odata serviceOpportunityQuery would be displayed in the left part list. By selecting one of them you can navigate to report drill-down detail page.


image.png


For how to create CRM WebUI reports based on a given HANA view, please refer to this blog: Step by Step to create HANA live report in Webclient UI.


相关文章
|
23天前
|
开发者 数据处理 数据管理
SAP HANA 的不同类型
SAP HANA 的不同类型
37 9
SAP HANA 的不同类型
|
23天前
|
SQL 数据库 索引
关于 SAP ABAP REPOSRC 数据库表在 HANA 中的 DDL Definition
关于 SAP ABAP REPOSRC 数据库表在 HANA 中的 DDL Definition
19 1
关于 SAP ABAP REPOSRC 数据库表在 HANA 中的 DDL Definition
|
1月前
|
Web App开发 数据采集 前端开发
纯技术讨论:如何让 SAP UI5 应用无法被别人在浏览器里调试 - 这种做法不推荐试读版
纯技术讨论:如何让 SAP UI5 应用无法被别人在浏览器里调试 - 这种做法不推荐试读版
15 0
|
1月前
|
Linux 开发工具 开发者
关于 SAP HANA 开发那些事
关于 SAP HANA 开发那些事
24 0
|
1月前
|
XML 存储 数据格式
SAP UI5 控件 customData 属性的应用介绍
SAP UI5 控件 customData 属性的应用介绍
33 0
|
23天前
|
数据库 存储 监控
什么是 SAP HANA 内存数据库 的 Delta Storage
什么是 SAP HANA 内存数据库 的 Delta Storage
17 0
什么是 SAP HANA 内存数据库 的 Delta Storage
|
19天前
|
Java BI API
SAP Cloud for Customer 里如何通过 ABSL 二次开发方式消费 SAP S/4HANA 系统的 API
SAP Cloud for Customer 里如何通过 ABSL 二次开发方式消费 SAP S/4HANA 系统的 API
15 0
|
23天前
|
Web App开发 开发者 存储
介绍一个 webp 格式转 png 格式的软件:XNConvert
介绍一个 webp 格式转 png 格式的软件:XNConvert
25 6
介绍一个 webp 格式转 png 格式的软件:XNConvert
|
23天前
|
数据库 存储 BI
SAP ABAP CDS View 源代码存储的数据库表揭秘和其他相关数据库表介绍试读版
SAP ABAP CDS View 源代码存储的数据库表揭秘和其他相关数据库表介绍试读版
12 0
SAP ABAP CDS View 源代码存储的数据库表揭秘和其他相关数据库表介绍试读版
|
23天前
|
数据库
迈入 SAP CDS View 世界的前置知识 - SAP ABAP 数据库视图介绍试读版
迈入 SAP CDS View 世界的前置知识 - SAP ABAP 数据库视图介绍试读版
10 0
迈入 SAP CDS View 世界的前置知识 - SAP ABAP 数据库视图介绍试读版