on 11-16-2017 1:29 PM
Dear All,
I am working on Orion Personal webide and connected onPremise system by saving credentials in file at C:\SAPWebIDE\eclipse\config_master\service.destinations\destinations
I am getting this error when sap ui5 application is calling gateway URL to access the data.
Please let me know with suggestion.
Thanks & Regards,
Praveen
My issue is very much similar to this issue.
I am using below code -
var sURI = "https://GWName.com/sap/opu/odata/sap/Y_SRV";
var oDataModel = new sap.ui.model.odata.ODataModel(sURI);
sap.ui.getCore().setModel(oDataModel);
//"https://GWName.com/sap/opu/odata/sap/Y_SRV/YResults/";
//var oDataModel = new sap.ui.model.odata.ODataModel(sURI,true,'username','password');
Hi,
We have connected on-premise system with cloud platform.
Thanks & Regards,
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What i did to solve a similar issue is adding this to the code, its not with gateway but with HANA XS.
_oModel.setHeaders({
"Access-Control-Allow-Origin": "*"
});
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried doing it by creating a cloud connector to your ECC and then adding a destionation in the CP?
This is how we do it (best practice) and don't have this issue
Edit: you're using personal webide so this should be followed, https://help.hana.ondemand.com/webide/frameset.htm?2cf47f37e34c428c97a51057733c0394.html
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.