Skip to Content

(sap cloud WEB IDE trial) Fiori App Extension Error

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/Component-preload.js 404 (Not Found)

GET https://webidetestingklxwmu-s0012844326trial.dispatcher.hanatrial.ondemand.com/sap/SD_INV_MON/Component.js 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


web ide.jpg (43.4 kB)
web ide2.jpg (45.7 kB)
web ide3.jpg (126.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • Best Answer
    Mar 23, 2015 at 05:24 AM

    Hi Matheus,

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

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

    How to build Component-preload.js for Fiori like custom apps

    Add comment
    10|10000 characters needed characters exceeded

    • 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.

  • Jan 07, 2015 at 03:39 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • 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.

  • Mar 19, 2015 at 02:51 PM

    Hi Matheus

    Did you manage to resolve this issue?

    Gustav

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 23, 2015 at 07:17 AM

    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-ebb96b57c4e8?QuickLink=index&…


    Regards ,

    Sathish J

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 23, 2015 at 09:56 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 23, 2015 at 11:33 AM

    Thks for all,

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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 01, 2015 at 09:44 PM

    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

    Add comment
    10|10000 characters needed characters exceeded