odatasapui5sap-fiorisap-cloud-platform

How to configure destination in HANA Cloud Platform?


In hana cloud platform , there is a "New project from sample application" (I think it is recently added ? ), I created a "Approve Purchase Orders", but when I run it, there is a 500 error:

Produced by

"requestUri": "/sap/opu/odata/sap/SEPMRA_PO_APV/$metadata"

How to config RefAppsBackend data source in destionation?

When I new project from template, there is a place to config data connection , but why the sample application didn't provide it ?


Solution

  • When you create from sample application, it copies the data connection configuration of that app. Hence it doesn't provide the choice to config.

    If you have already configured a backend system for your WebIDE -> Replace RefAppsBackend in file neo-app.json with your backend system

    If you don’t have a backend system configured for your WebIDE: Start the SAP HANA Cloud Platform.

    Then open the WebIDE and choose Tools -> SAP HANA Cloud Platform Cockpit. In this Cockpit select ‘Destinations’ on the left side and then ‘New Destination’