Sap Enterprise Portal :Calling OData Service
I have successfully deployed sapui5 app from webide to Portal 7.5.but when am running the app as a tile from launch pad ,its thorwing error.So i debugged and found that the Odata service now point to Portal server instead of gateway.
How to resovle this?
I have same scenario, where UI5 app is running on portal which is on 7.4 and connecting to backend system through OData which is a R/3 system through web dispatcher(apache). That way you don’t face same origin policy issue. Use a relative path for OData and write a rewrite run in apache to forward the request to your backend system(SAP R/3) for all your OData calls.