SAP Fiori應用沒能從Fiori Launchpad啟動的一個可能原因及分析過程
Sample Overview
(1) developed via WebIDE: https:// rde-fiori.dispatcher.neo.ondemand.com /index.html (2) extension on standard Fiori application: My Opportunity (3) source code could be found: https:// github.com/i042416/test OpportunityExtension (4) implemented feature: hide the standard tab “Participants”
Key points
(1) in Component.js, the following line is mandatory:
It is used to ensure all the source code of standard My Opportunity application are loaded with the path passed via fregisterModulePath method and stored in folder with structure as below ( Observed in Chrome development tool )
(2) in the source code automatically generated via WebIDE wizard, the standard Opportunity component is loaded with code below, via function sap.ui.component.load:
Through my testing, I find it is not necessary, so I just comment it out ( red part ) as below, and use jQuery.sap.require to load the standard component instead ( green part ).
(3) The hidden of “Participants” tab is achieved via viewModifications as displayed below:
The id “salesTeam” could be found in S3.view.xml of Opportunity project:
(4) If you deploy the extension project to ABAP repository and configure it as Fiori launchpad tile, the index.html is not needed when you access your extension project via launchpad. However if you would like to test your extension project locally in WebIDE by selecting “index.html” and click Run button in toolbar, then line 30 below is mandatory. It has the same purpose as the line mentioned in keypoint #one.
How to ensure your view modification take effect
Enter you extension project, now you could not see Participants tab in UI, and you could also observe the corresponding log in Chrome console.
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2718722/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 如何分辨 SAP Fiori Launchpad 裡的真假 Fiori 應用
- SAP Fiori應用發生超時錯誤的一個可能原因
- SAP Fiori Launchpad 應用的兩個實用技巧分享
- SAP CRM Fiori應用冗餘round trip的原因分析
- 如何讓SAP S/4HANA的Material Fiori應用配置到Fiori Launchpad裡
- 為什麼SAP GUI裡的傳統事務碼能通過Fiori Launchpad啟動GUI
- SAP Fiori應用裡出現http request錯誤的原因分析HTTP
- 如何將BSP應用配置成Fiori Launchpad上的一個tile
- 把經典的ABAP webdynpro應用配置到SAP Fiori Launchpad裡Web
- 移動應用之SAP Fiori
- SAP Fiori應用索引大全索引
- SAP Fiori應用索引大全工具和 SAP Fiori Tools 的使用介紹索引
- SAP Fiori Launchpad Tile,UI5應用,和PFCG Role的對應關係UI
- 如何將本地 SAP UI5 應用配置到本地 Fiori Launchpad 中UI
- 如何把SAP UI5應用部署到SAP雲平臺的Fiori Launchpad裡去UI
- 使用View modification擴充套件SAP Fiori應用的一個案例View套件
- SAP Fiori應用的搜尋問題
- SAP Fiori應用的三種部署方式
- 如何免費試用SAP的Fiori應用
- SAP Fiori 應用 Manage Workflows for Purchase RequisitionsUI
- SAP CRM Fiori應用和SAP JAM的整合配置
- SAP Fiori Elements 應用裡和 Fiori 3 相關的外觀設定
- 使用SAP CDS view快速建立一個Fiori應用,管理Service OrderView
- 關於 SAP Fiori 應用的離線使用
- SAP CRM Fiori應用如何啟用Sales Office和Sales Group兩個欄位
- SAP CRM Fiori 應用裡無法根據當前文件建立 Followup Opportunity 的原因分析Unity
- SAP CRM Fiori 應用的 Deep Create 行為和實現分析
- SAP Fiori Launchpad url 引數 sap-app-origin-hint 的含義APP
- SAP Fiori + Vue = ?Vue
- SAP Fiori UXUX
- 在沒有任何前端開發經驗的基礎上, 建立第一個 SAP Fiori Elements 應用前端
- 一步步把SAP GUI的事務碼配置到SAP Fiori Launchpad裡GUI
- 如何根據角色批量啟用SAP Fiori服務
- 一個典型的使用 SAP Cloud Application Programming 模型開發的 Fiori 應用CloudAPP模型
- SAP Fiori 簡介
- SAP Fiori應用裡日期格式的顯示奧祕
- 如何在 SAP BTP 上通過 CDS view 快速建立 Fiori Elements 應用View
- 如何在SAP Fiori應用裡使用React componentReact