cancel
Showing results for 
Search instead for 
Did you mean: 

Error On SAP WEB IDE Trial Account

ope_prime
Explorer
0 Kudos

Hello every one am kind of new to SAP UI5... Am trying to fire up a simple FIORI apps using the trial box provided by SAP and am getting an error. I will attach a screen shot. I first thought it was from my ODATA setup, until i tried building a local app without using ODATA, used a test data and am still getting an error.

After a further query(F12)  in the browser,  I got the Error.

https://webidetesting8270366-p1941154940trial.dispatcher.hanatrial.ondemand.com/webapp/resources/sap... Failed to load resource: the server responded with a status of 404 (Not Found)send @ sap-ui-core.js:71

  1. datajs.js:17 'webkitIndexedDB' is deprecated. Please use 'indexedDB' instead.

2https://webidetesting8270366-p1941154940trial.dispatcher.hanatrial.ondemand.com/webapp/resources/sap... Failed to load resource: the server responded with a status of 404 (Not Found)send @ sap-ui-core.js:71sap-ui-core.js:88 2016-05-11 09:42:12.216294 registerResourcePath ('salesorg01/com', '../') -  sap.ui.ModuleSystem2https://webidetesting8270366-p1941154940trial.dispatcher.hanatrial.ondemand.com/webapp/resources/sap... Failed to load resource: the server responded with a status of 404 (Not Found)send @ sap-ui-core.js:71sap-ui-core.js:88 2016-05-11 09:42:12.721084 registerResourcePath ('salesorg01/com', '../') -  sap.ui.ModuleSystem2https://webidetesting8270366-p1941154940trial.dispatcher.hanatrial.ondemand.com/webapp/resources/sap... Failed to load resource: the server responded with a status of 404 (Not Found)send @ sap-ui-core.js:71https://webidetesting8270366-p1941154940trial.dispatcher.hanatrial.ondemand.com/here/goes/your/servi... Failed to load resource: the server responded with a status of 404 (Not Found).


Also here is my code for the Index.html

<!DOCTYPE html>

<html>

<head>

  <meta http-equiv="X-UA-Compatible" content="IE=edge" />

  <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>

  <meta name="viewport" content="width=device-width, initial-scale=1.0" />

  <title>Products</title>

  <!-- Bootstrapping UI5 -->

  <script id="sap-ui-bootstrap"

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

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

  data-sap-ui-theme="sap_bluecrystal"

  data-sap-ui-compatVersion="edge"

  data-sap-ui-resourceroots='{"products.com": "./"}'

  data-sap-ui-frameOptions="trusted">

  </script>

  <script>

  sap.ui.getCore().attachInit(function () {

  sap.ui.require([

  "sap/m/Shell",

  "sap/ui/core/ComponentContainer"

  ], function (Shell, ComponentContainer) {

  // initialize the UI component

  new Shell({

  app: new ComponentContainer({

  height : "100%",

  name : "products.com"

  })

  }).placeAt("content");

  });

  });

  </script>

</head>

<!-- UI Content -->

<body class="sapUiBody" id="content">

</body>

</html>

Accepted Solutions (1)

Accepted Solutions (1)

jamie_cawley
Advisor
Advisor
0 Kudos

Looks like it has something to do with your binding of the list, which shows categories as the title.  I would guess you are using the service.odata.org service and trying to show the product categories?  The problem with this is there is only one category per product so the service does not support the skip and top functions. 

You could either remove the list or switch to http://services.odata.org/V2/Northwind/Northwind.svc and show Customers in the master list and orders in the details list.

Regards,

Jamie

SAP - Technology RIG

ope_prime
Explorer
0 Kudos

God bless you...

Its working now, am not encountering the error  again...

The data I want is kind of different dho.. I will have to understand the whole Odata very well.

Thank you.

WIll also like to get your email address..if you dont mind so we can exchange views more .. Am a fresh Abaper working on an SAP project in Nigeria.

Answers (1)

Answers (1)

former_member82178
Active Participant
0 Kudos

Try below 'Known issues' link if it can help, also worth checking client browser security might be the cause.

SAP Web IDE Developer Guide

Thanks

Madhu Sudhan