cancel
Showing results for 
Search instead for 
Did you mean: 

SAP UI5 component of the application could not be loaded.

backsite
Explorer
0 Kudos
683

Hello Everyone,

A UI5 application does not start from the Fiori Launchpad.

I looked at the developer tools as well and i have several errors .

The services are active in SICF.

In the manifest.json the Id is correct

These are the things that i have found that could cause the problem but now i am stuck what could be the issue.

Thanks for the help in advance.

gabmarian
Active Contributor

Is this an on-premise Fiori launchpad?

If it is, try to execute /UI5/APP_INDEX_CALCULATE for BSP application you deployed the app to.

Accepted Solutions (1)

Accepted Solutions (1)

backsite
Explorer

I resolved the problem. I don't actually now what the problem was but i put everyting into the WebContent subfolder as was the case with other UI5 applications and that resolved the problem. The application did not work after Eclipse added some files, so its possible it added something that referred to WebContent folder path.

Answers (2)

Answers (2)

RaminS
Active Participant

Open the Fiori Launchpad Designer (/UI2/FLPD_CUST), and check the definition of the target mapping. Your application ID should exactly match the app id in your manifest.json, otherwise the launchpad won't be able to find the application. In your case it should be com.agco...

Also, make sure your user has a role that contains the catalog to which the tile belongs. And if there are any underlying odata services, the user role should have authorizations for them.

Just some of the things I've noticed that could cause this kind of issues...

venkateswaran_k
Active Contributor

Hi backsite

Please go to SICF and activate your application.

Execute transaction SICF. Press F8.

Go to default_host --> sap --> bc --> ui5_ui5 --> sap.

In this tree node, navigate to the SAPUI5 application for your app.

To activate the service (SAPUI5 application), choose Service/Host Activate. (Right click and Activate)

Regards,

Venkat

backsite
Explorer
0 Kudos

Hi Venkat,

The service is active in SICF

Altough when i click on Test service i got this error:

Maybe thats the problem?

venkateswaran_k
Active Contributor

Hi

Check this thread, it will help you.

This is based on how you are executing.. standalone or Fiori. (based on that whether the index.html is required or not will be implemented).

https://answers.sap.com/questions/194272/file-sapzui5withmvcindexhtml-not-found.html

Regards,

Venkat