cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori - No 'Access-Control-Allow-Origin' Error

venkateswaran_k
Active Contributor
0 Kudos

Dear All

I have a custom SAPUI5 Application developed and now made it avilable in fiori launchpad.

The application is accessible from the launch pad.

However, it says no data display - with following reason in Chrom log.

XMLHttpRequest cannot load http://myserver-fdqn:8000/sap/opu/odata/sap/ZGL2_SRV/$metadata. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://XX.XX.XX.XXX:8000' is therefore not allowed access. The response had HTTP status code 401.

Please note that it works in IE explorer.

It does not work in Chrom and Mobile.

I searched lot and tried to disable the web security in chrome.  It is not successful.

Can someone please guide me to achieve this.

Regards,

Venkat

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Venkateswaran!

I have the same issue.

Did you find any solution?

Regards,

Adrian

0 Kudos

Dear Adrian,

Disable your chrome web security. Properties on Chrome->Shortcut Tab->Target->type --disable-web-security

Eg: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security

After this, open your browser you find information about your browser has been disabled web security in yellow prompt.

Regards,

Ram

Former Member
0 Kudos

Dear Ram,

we were able to do in Chrome but not in Mobile while publishing a Custom Fiori App.

Do you have any idea?

Regards,

Adrian

0 Kudos

Dear Adrian,


Hope below thread will help you.



Regards,

Ram