Skip to Content
avatar image
Former Member

WebIDE Personal Unable to Run Standard App or Extension

I am working on a requirement to extend the standard app, Display GL Account Line Items, however anytime I try to view the extensibility pane or preview the extension (or preview the app directly from webIDE personal) it returns an error.

"Failed to load UI5 component with properties '{"componentData":{"startupParameters":{}},"asyncHints":{"waitFor":[{}]},"name":"fin.gl.lineitembrowser.display","url":"../../../../../..","async":true,"id":"application-Test-url-component"}'. - Error: failed to load 'sap/fin/central/lib/library.js' from /sap/bc/ui5_ui5/sap/fin_lib/library.js: SyntaxError: Unexpected token <"

I have tried many solutions offered from mapping the resources in the neo-app.json, and also adding to the Component file by registering the module path.

In general, anytime I try to re-start a new extension project it will not be able to load the component file from the original app, returning this error:

"Failed to load UI5 component with properties '{"componentData":{"startupParameters":{}},"asyncHints":{"waitFor":[{}]},"name":"fin.gl.lineitembrowser.display.FIN_GL_LITBEx2","url":"../../../../../../webapp","async":true,"id":"application-Test-url-component"}'. - Error: failed to load 'fin/gl/lineitembrowser/display/FIN_GL_LITBEx2/Component.js' from ../../../../../../webapp/Component.js: Error: failed to load 'fin/gl/lineitembrowser/display/Component.js' from /sap/bc/ui5_ui5/sap/FIN_GL_LITB/Component.js: SyntaxError: Unexpected token <"

Any idea why it seems to get the syntax error from '<' ?

WebIDE personal can find the application and import it into my workspace, but never seem to be able to run it.

I have also tried to run the standard app from eclipse but cannot seem to get it to locate the 'sap/fin/central/lib/library.js' file. Did the same a above by trying to register module path with no luck.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Sep 23, 2017 at 11:27 AM

    Would you please specify how you created the extension project? Which steps have you implemented?

    Also please find this section in the documentation regarding the different ways of previewing an application:

    https://help.hana.ondemand.com/webide/frameset.htm?fcc3b671ca084c8ab5e009bd4de19048.html

    Next, in the extension project, please check:

    1. that its neo-app.json has a blockof sap/bc/ui5_ui5

    2. that its Component.js has a reference for the original app's Component.js

    Please have a look at your back-end (probably FIN_GL_LITB)

    or import it in Web * and see if its Component.js file is located correctly under the root.

    According to the error message you get, the extension project can't find the original app's Component.js so please do confirm it indeed exists where it should be.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 16 at 01:23 AM

    Hi,

    I have the same issue. I imported the standard app from to my webide but I am unable to run it.

    I even added a index.html file with the standard script to inject the component container into the div tag of the html. But i get errors of library files not being loaded. Please point me to a blog where there are steps to import a standard app to webide and run it.

    Add comment
    10|10000 characters needed characters exceeded