cancel
Showing results for 
Search instead for 
Did you mean: 

(sap cloud WEB IDE trial) Fiori App Extension Error

0 Kudos

I created the necessary destinations in the account cockpit according to the WebIDE guide.(Proxy type:onpremise)

Image

I've set the sap hana cloud connector (Resources Accessible,virtual host).

I tried to extend Fiori APPS in sap cloud WEB IDE trial but while calling the index.html file in the extension app, I got the error message and doesn´t show the app images on the screen:


GET https://webidetestingklxwmu-s0012844326trial.dispatcher.hanatrial.ondemand.com/Component-preload.js 404 (Not Found)

GET https://webidetestingklxwmu-s0012844326trial.dispatcher.hanatrial.ondemand.com/sap/SD_INV_MON/Compon... 404 (Not Found)

GET https://webidetestingklxwmu-s0012844326trial.dispatcher.hanatrial.ondemand.com/sap/SD_INV_MON/Compon... 404 (Not Found)

Uncaught Error: failed to load 'cus/sd/customerinvoice/monitor/SD_INV_MONExtension/Component.js' from ./Component.js: Error: failed to load 'cus/sd/customerinvoice/monitor/Component.js' from /sap/SD_INV_MON/Component.js: 404 - Not Found


Accepted Solutions (1)

Accepted Solutions (1)

santhu_gowdaz
Active Contributor
0 Kudos

Hi Matheus,

                      Create Component.js and Component-preload.js files.

component.js File - What's New in SAPUI5 - SAP Library

michal_keidar
Active Contributor
0 Kudos

Hi Santhosh,

The extension project is created with a Component.js file. The error that is shown in the console indicates the extension project couldn't reach its parent app and specifically to its Component.js.
Furthermore there's no need to create a Component-preload.js file. This file is meant only to improve performance, it is not mandatory. See here for more details:

Regards,
Michal.

Answers (6)

Answers (6)

Former Member
0 Kudos

Hello,

Can you tell me how your developer profile looks like?  I have the same problem and my back-end user has a developer key and sap_all, sap_new.

Kind regards,

Richard

0 Kudos

Thks for all,

I solve this problem, there was problem in my destination and user had not developer profile on the system

Gustav1
Explorer
0 Kudos

There is a course on openSAP starting this Wednesday.  I hope this course will shed some light on this issue.  Details of this course can be found here if you are not registered yet:

Build Your Own SAP Fiori App in the Cloud -

Gustav

0 Kudos

Hi Matheus,


     Leave about component-preload.js it won't affect extended project. Check the below document to mention parent project URL in extended application's component.js.


http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20dbf542-f3e7-3110-a6b8-ebb96b57c...


Regards ,

Sathish J

Gustav1
Explorer
0 Kudos

Hi Matheus

Did you manage to resolve this issue?

Gustav

michal_keidar
Active Contributor
0 Kudos

Hi Matheus,

I checked and I was able to run the extension project of SD_INV_MON app.
Can you please specify how you created the extension project?

Thanks,
Michal.

0 Kudos

Hi Michal

in SAP CLOUD WEB IDE...

Thanks

michal_keidar
Active Contributor
0 Kudos

I guess it has something to do with your destination's configuration.
Can you show the extension app's neo-app.json file?
Also, why do you have 3 destinations configured in your cockpit for your backend system?

Regards,
Michal.