Skip to Content
Author's profile photo Jose Muñoz Herrera

Deploy SAPUI5 app to ABAP repository without changing sap-ui-core.js


Did you face the problem of deploying a sapui5 application from SAP WebIDE to an ABAP repository and the sap-ui-core.js was not correct? Then you had to modify the path to deploy to the ABAP repository?

One solution is to go with two index files on web ide.

For example one localindex.html with one route for src valid on webide:

<script id="sap-ui-bootstrap"

And one second index.html with the route valid on ABAP repository, something like:

<script id="sap-ui-bootstrap"

Then you can test your applications with webide using the localindex.html in your run configurations.

Exclude localindex.html when deploy

If you are using the SAPUI5 Client build in your project, so you need the following option:

You can exclude the localindex.html on the deploy to the ABAP repository just selecting the file in the Excluded files sectioin of the SAPUI5 Client Build Configuration



Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Martin Pankraz
      Martin Pankraz

      This approach made my day!

      Thanks José!