Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

Re: No 'Access-Control-Allow-Origin' in WebIDE

$
0
0

create destination and add neo-app.json add something similar

 

{

  "path": "/sap/opu/odata",

  "target": {

   "type": "destination",

   "name": "NAME_OF_DESTINATION",

   "entryPath": "/sap/opu/odata"
  },

  "description": "Target OData system"
},

 

so you have to use yout model as

 

var sServiceUrl = "/sap/opu/odata/sap/Z_RFC_BOR_SALES_SRV/";

var oModel = new sap.ui.model.odata.ODataModel(sServiceUrl,false);

 

without specifying server name and port


Viewing all articles
Browse latest Browse all 9052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>