on 2024 Sep 04 12:11 PM
Hi all,
I have created a FIORI application with the Business Application Studio using the Freestyle Template. My intention was to integrate the Fiori Reuse Library to get the Application Log component.
I used the SAP hel page Freestyle App Integration to do so.
When using the Terminal and executing 'npm run build' and afterwards 'npm run start-local' the application opens in a browser window. The problem here is, that the page is empty.
When I open the developer tools with F12, I get following error.
It says: 'ModuleError: failed to load 'sap/nw/core/applogs/lib/reuse/applogs/Component.js' from ../resources/sap/nw/core/applogs/lib/reuse/applogs/Component.js: script load error'
What did I wrong? I inserted every part mentioned in the help page.
Best Regards,
Martin
Request clarification before answering.
Hi All,
The same requirement existed for a Fiori Elements application in SAP BAS, and I solved it by comparing it with WebIDE.
Firstly, I added a Reuse Library with the selecting source type ABAP at WebIDE. Then, I converted it in BAS using the Fiori Tools Migration Tool and checked what had changed. After that, I successfully used the Reuse Library in BAS by adding the following commands to ui5.yaml.
Reuse Library Name : sap.nw.core.applogs.lib.reuse
ICF Path : /sap/bc/ui5_ui5/sap/nw_aps_apl_lib (From Fiori Library)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Martin,
as the requested path /sap/nw suggests the Fiori Reuse Library is not part of the SAPUI5 Version hosted in the CDN but only delivered with SAP NetWeaver ABAP. So you would need to define a destination to an on premise ABAP System to make use of it. What is your plan for the deployment of the app? Cloud or on Premise?
Best Regards
Gregor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 6 | |
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.