cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

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.

mkerschb_0-1725447886951.png

When I open the developer tools with F12, I get following error.

mkerschb_1-1725447970257.png

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

0 Likes
View Entire Topic
abdullahgunes
Participant

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) 

abdullahgunes_0-1755600849744.png