cancel
Showing results for 
Search instead for 
Did you mean: 

HANA runtime for SAP UI5 on SP6 not working for new UI5 toolkit > 1.14.5

surendra_pamidi
Contributor
0 Kudos

Hi All,

I am on HANA SP06, and I have updated by UI5 toolkit to 1.16.5 on my studio.

Now when I run the UI5 application on HANA XS with UI5 controls from libraries like sap.ui.unified(which is available in the new toolkit I downloaded)

the HANA runtime is not able to identify these libraries.

and gives me a 404 not found when I run my Application.

My bootstrap looks like

<script id="sap-ui-bootstrap"

  src="/sap/ui5/1/resources/sap-ui-core.js"

  data-sap-ui-theme="sap_goldreflection">

  data-sap-ui-libs="sap.ui

  </script>

Is this correct? should I point my bootstrap to the newly loaded 1.16.5 libraries? If yes, how do I do it?

Please share your thoughts.

Thanks,

Surendra

Accepted Solutions (1)

Accepted Solutions (1)

ChandraMahajan
Active Contributor
0 Kudos

Yes your bootstrap source should point to correct path where it is available on your server.

also try with cloud based bootstrap path https://sapui5.hana.ondemand.com/resources/sap-ui-core.js

you can have data-sap-ui-libs="sap.ui.commons,sap.ui.unified" to include sap.ui.commons library.


Regards,

Chandra

Answers (1)

Answers (1)

surendra_pamidi
Contributor
0 Kudos

Sorry, my Bootstrap is like this..

<script id="sap-ui-bootstrap"

  src="/sap/ui5/1/resources/sap-ui-core.js"

  data-sap-ui-theme="sap_goldreflection"

  data-sap-ui-libs="sap.ui.unified">

  </script>