cancel
Showing results for 
Search instead for 
Did you mean: 

sapui5 application fail in Chrome browse

Former Member
0 Kudos

HI,ALL:

      

         I created a application by sapui5 in Eclipse , it's theme not work which run as 'abap server',

         but it's ok which run as  'web application preview' in Eclipse.

         why is this?

        1、run as 'abap server'

    2、run as 'web application preview' in Eclipse

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

HI:

I create sapui5 application  by theme "sap_bluecrystal",

do I need to publish   theme "sap_bluecrystal"  to abap server ??

how to publish?

Former Member
0 Kudos

Do you know some tutorial on how to submit an Eclipse tutorial to the ABAP Server?

Please tell me, how you do this by now. Some more information would be helpful.

And remember: Before any change gets active on the ABAP server (like the relevant change I posted above) you have to go to Team -> Submit and push the changes to the server. Otherwise no changes will be visible.

Regards

Dominik

Former Member
0 Kudos

HI:Dominik

   

    it's succeed. I replaced the code with data-sap-ui-theme="sap_goldreflection ,which runs as abap server.

    maybe abap server version low

Former Member
0 Kudos

Hello Huang,

Please check your index.html file - looks like the system cannot find the JavaScript core resources.

Try to replace the relevant lines with these:

<script src="https://sapui5.netweaver.ondemand.com/resources/sap-ui-core.js"

    id="sap-ui-bootstrap"

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

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

</script>

I think this will help you out.

Regards

Dominik

Former Member
0 Kudos

HI:Dominik

I have tryed to replace the code.it's fail

thanks

ChandraMahajan
Active Contributor
0 Kudos

Hi,

try to copy the url for abap server and then open it in chrome browser. Check if it works.

then try to append &sap-ui-theme=sap_bluecrystal to the url and execute.

Regards,

Chandra

Former Member
0 Kudos

HI:Chandra

    I have tryed to append &sap-ui-theme=sap_bluecrystal to the url in chrome browser,but it's failed

                                                

   thanks