cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

MII 14.0 UI5Grid Error

Former Member
0 Kudos
356

Hi Experts,


I m working on UI5 igrid in MII 14.0


when i load query n try to execute UI5Grid,it is giving following error in browser:

404 not found

Error: Cannot define forward location.

I have imported following libraries in Netwever instances:

1) UISAPUI5JAVA09P_2-20009678.SCA.


2) ODATACXFEXT09_0-20009755.SCA

Can anyone throw light on what might be going wrong ?


Appreciate your guidance.

Thanks,

Neha Jadhav

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Experts,

I m refering following blogs for UI5 help:

http://scn.sap.com/community/manufacturing/mii/blog/2013/03/21/making-engaging-ui-on-sap-mii-with-sa....

In this i m not able to download SAPUI5 JavaScript library.

I have already imported following libraries in Netwever instances:

1) UISAPUI5JAVA09P_2-20009678.SCA.


2) ODATACXFEXT09_0-20009755.SCA

According to following blog i need SAPUI5 JavaScript library more.

http://scn.sap.com/community/manufacturing/mii/blog/2013/10/31/sap-mii-and-html-5-demystified

Can anyone help me to download SAPUI5 JavaScript library?

Thanks in advance.

Regards,

Neha

ponilango_p
Explorer
0 Kudos

Hi Neha,

I am able to download the file when logged in to SCN, there are a few re-directs which you need to patiently follow.

It is a 278MB zip file with Tool kits, Samples etc.., check with our local IS team on zip file download restrictions if any.

If your download is corrupted or something, try linking/bootstrapping the library from the external link as described in the link below,

Create Your First SAPUI5 Application - UI Frameworks based on HTML5, JavaScript and CSS - SAP Librar...

The SAPUI5 website linked below, provides you with more info on tunneling the IE XMLhttp request - which I hope you will encounter,

UI Development Toolkit for HTML5 (SAPUI5)

With regards,

Ponilango P

Former Member
0 Kudos

Hi Poni,

Thank you for quick reply.

I m not able to download full zip folder.After 16 MB , it got interrupted.

Can you please help me for this?

Thanks in advance.

Regards,

Neha

Former Member
0 Kudos

Hi Neha,

You should be able to download the JS libraries from the above link but since its a big zipped file, your networking might be restricting the download after 16 MB. You can try downloading the same from your home network.

Moreover, since you have already installed the SCA file on your Netweaver, even if you are not able to use the UI5 grid template in MII workbench, you should be able to refer js libraries in your irpt/html file of the MVC model with the following syntax:

        <script src="/sapui5/resources/sap-ui-core.js" id="sap-ui-bootstrap"

                data-sap-ui-libs="sap.ui.commons,sap.viz,sap.ui.ux3"

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

        </script>

Warm Regards,

Anuj

Former Member
0 Kudos

Hi Neha,

you can dowload from

Go to the store - https://store.sap.com and search for : 0000000352


Best Regards,

Namita

rutika_bodas
Participant
0 Kudos

Hi Neha,

When you launch the i5Grid, does the MII logon screen open up in the browser before you see a 404 error?

If that's the case, then try to open the MII session in the same browser in which the i5Grid launches.

All in all, the point is that when you launch anything from the workbench, it uses your system's default browser. And if you have your MII session running in some other browser, then you get the MII logon sreen and after giving logging details, 404 error appears.

Hence, the simple solution is to open up your MII session in your default browser.

Let me know if that helped.

Regards,

Rutika Bodas

Former Member
0 Kudos

Hi Rutika,

Thank you for your help

Yes i m able to see mii logon screen, If i open it in same mii session,i get following error:

"Object doesn't support property or method.

Can you help me for this?

Regards,

Neha

RiaNinan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Neha,

With the version of UI5 SCA that you have deployed on the server, i5Grid should have ideally worked.

However, we can recheck the SAP UI5 version that your browser is using, and for this please open the browser console and check what this returns:

sap.ui.version

(I guess this should return a value >= "1.14.x")


Regards,

Ria



Former Member
0 Kudos

Hi Ria,

Thanks for reply.

Can you please tell me where exctly i need to check SAP.ui.version in console?

Regards,

Neha

RiaNinan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Neha,

Press F12 once your browser has launched, this will launch the browser console. Type the command there and that should give you the version of SAP UI5 your browser is using.

(Screensot showing the console in Chrome where you can type in the command)

Let me know if you need further information.

Regards,

Ria