Skip to Content

HCP Trial and on-premise HANA


I am trying to connect my HCP trial account to my on-premise HANA instance using HANA Cloud connector.

My trial account seem to be connected allright and I have created a destination for the odata service that I have created on-premise.

But when I use the service in a SAPUI5 app the webIDE reports invalid URL.

Is there a cookbook somewhere on what to do to:

1. Create an odata service based on a calc view

2. Setup cloud connector

3. manage HCP trial connection/destination

4. Use odata service in UI5 app.

Best regards


Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Sep 07, 2015 at 08:09 AM

    Hi Thomas,

    not completely sure, but the problem could be, that the SAP Cloud Connector supports only HTTP and RFC for the direction Cloud --> on-premise. The "Database-Tunnel" works only in the direction on-premise --> Cloud in order to access a HANA DB in the Cloud.

    So for accessing your DB on-premise, you would need to setup a similar scenario as described in

    (Note: this document was originally written for explaining how to execute RFC calls in a HANA Cloud app at a time, when the SCC did not yet support the RFC protocol. Now SCC supports RFC, but the procedure described in this document can also be used for accessing all kinds of third-party systems from a Cloud app. The SAP Business Connector is a lean middleware tool that supports various kinds of network protocols (in this case: JDBC).)

    So you would install a JDBC driver for the HANA DB on the SAP BC, create a "Service" that executes your SQL statements and then call this Service from the UI5 app via SAP CC.

    Best Regards, Ulrich

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2016 at 08:27 AM

    Hi Thomas,

    I am also trying same to access xodata on-premise service created using HANA studio.

    Did you get success in accessing same from HANA trial account in HCP with SAPUI5?


    Sachin Maheshwari

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.