Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3353

Issue with CORS while connecting SAPUI5 with HANA

$
0
0

Hi All,

 

I am fetching data from HANA using OData service from a SAPUI5 application. I have enabled CORS in HANA server but was receiving the error "Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource" while calling the OData service. Also please note that, I am executing the SAPUI5 application from my local machine and my objective is to run the application without disabling the Web-security in chrome browser.

 

HANA server settings


 

Please provide some suggestions to rectify this issue.


Viewing all articles
Browse latest Browse all 3353

Trending Articles



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