/scripts/ahub.form.attachments.js
0

Failed to load UI5 component with properties

Feb 21, 2017 at 10:36 AM

1.2k

avatar image
Former Member

Hi,

I am starting setting up the Extension of Standard Fiori app i.e "Request Supplier" Fiori App.

The Following Steps which i had done

1.Created a appconfig Dynamic Web project and created a fioriSandboxConfig.json file and written the below code

{ "applications" : { "MDG_REQ_SUPPL-display" : { "additionalInformation" : "SAPUI5.Component=fcg.mdg.requestsupplier", "applicationType" : "URL", "url" : "/MDG_REQ_SUPPL", "description" : "Request Supplier" } } }

2)In the se38 in ABAP i had downloaded the code of Request Supplier FIori App

3)created SAPUi5 project and copied and pasted the code which i had downloaded from SAP

4)In the Configuration.js i had changed the ServiceUrl as below

serviceUrl : "/mdg_req_suppl/proxy/sap/opu/odata/sap/mdg_supplier_srv",

5)In the web.xml and i had added the code

<context-param>

<param-name>com.sap.ui5.proxy.REMOTE_LOCATION</param-name>

http://s4heyia1.ey.com:8000

</context-param>

6) Now the Request Supplier FIori App is displaying in the FIori Launchpad and when i click on the Tile and i am getting the below error message.

When i click on the Request Supplier Fiori App and i am getting the error message "Could not open App' .

And in the console i am getting the below error message "Failed to load UI5 component with properties '{"componentData":{"startupParameters":{}},"asyncHints":{"waitFor":[]},"name":"fcg.mdg.requestsupplier","url":"/MDG_REQ_SUPPL","async":true,"id":"application-MDG_REQ_SUPPL-display-component"}'. - Error: failed to load 'sap/fcg/mdg/lib/bp/library.js' from ../../../../../resources/sap/fcg/mdg/lib/bp/library.js: 404 - Not Found"

Failed to load U5 component for navigation intent #MDG_REQ_SUPPL-display - Error: failed to load 'sap/fcg/mdg/lib/bp/library.js' from ../../../../../resources/sap/fcg/mdg/lib/bp/library.js: 404 - Not Found sap.ushell.renderers.fiori2.Shell.controller

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Feb 21, 2017 at 10:37 AM
0

In the web.xml and i had added the code

<context-param>

<param-name>com.sap.ui5.proxy.REMOTE_LOCATION</param-name>

http://s4heyia1.ey.com:8000

</context-param>

Share
10 |10000 characters needed characters left characters exceeded
Skip to Content