Skip to Content

How to deploy UI5 app on launchpad with XSOdata service connecting to HANA DB?

Hi,

I need to develop a UI5 app with XSOdata service and deploy it to the client's launchpad. We have created and exposed the XSOdata service successfully. The app is running fine when deployed to HANA cloud platform from webide. Now when I deployed it to the gateway, its showing "no data" on launchpad with error "No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://domain.com:PORT' is therefore not allowed access.".

I checked the domain(https://domain.com:PORT) of the HANA system from where the XSOdata is coming and its showing "XSEngine is up and running" but when it is done with the gateway url where launchpad is running its giving "404 not found".

Then I followed the link :"http://www.saplearners.com/how-to-consume-hana-xs-odata-service-using-sap-netweaver-gateway/" and tried to create a RFC connection from frontend i.e.gateway but its not showing the XSOdata service on the system alias.

Now I want to know do I need to create an odata service on gateway or it can redirect when the call is needed to connect to the HANA system?

More specifically the role that the Cloud Connector is playing in webide should be performed to pass the authorization parameters when the app is deployed on gateway too by RFC or something else isn't it? Please guide me to end to end deployment and prerequisites to deploy UI5 app with XSOdata on client's launchpad.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jan 09 at 03:09 PM

    Hi,

    The ABAPer guy created a CDS view based on the HANA views and I created a oData service on it and now its working on the launchpad.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 27, 2018 at 08:54 AM

    you need web dispatcher to redirect the call to hana

    Add comment
    10|10000 characters needed characters exceeded