cancel
Showing results for 
Search instead for 
Did you mean: 

UI5 application - unable to connect to on-premise backend system

0 Kudos

Hi guys

I am currently working on a POC developing a simple UI5 app on the Trail server of SAP Cloud Platform (SCP).

Checklist:

1. I already developed OData Service in the backend system.

2. I have installed SAP Cloud Connector (SCC) on my desktop.

3. The SCC connects to SCP successfully using S username.

4. The SCC also has internal/backend systems mapped successfully and an OData resource made available.

5. The internal/backend system is visible in Cloud Connectors page of the SCP.

6. I have created a destination in SCP of type HTTP, Proxy Type OnPremise and with URL pointing the exposed backend system (http://virtualhost>:8010.

7. I have created a UI5 app using SAP Web IDE and its deployed in SCP.

When I run this app, I am getting the following error:

Failed to load resource: the server responded with a status of 503 (Service Unavailable) /destinations/ECD/sap/opu/odata/SAP/ZSD_MATR_ODATA_PRJ_SRV/$metadata?sap-language=EN

What seems to be missing/wrong and causing this problem?

Thanks guys.

Saleem

GeorgiosK
Explorer
0 Kudos

Hi Saleem,

I am also facing same issue. not able to consume OnPremise metadata. I have done all the setting as per document.

If your issue resolved, can you please help me.

I have attached the error message from console if anyone can help

metadat-load-failing.png

Accepted Solutions (0)

Answers (2)

Answers (2)

pramod_nagargoje
Explorer
0 Kudos

Hi Saleem,

Make sure ZSD_MATR_ODATA_PRJ_SRV is activated in SICF node.

Also make sure adt (ABAP developer tools) node is activated in SICF. This enables any app to run on WebIDE.

Regards,

Ravi Soni

brian_keenan
Contributor
0 Kudos

Have you defined the destination in the neo-app.json? and then the datasource and model in the manifest.json? can you include those bits of code?

0 Kudos

Hi Brian

Thanks for your reply mate.

I have made progress but still not through.

The metadata request from UI5 is getting thru but nothing is happening after that as in UI5 doesn't seem to be making a query using the metadata which it was attempting atleast until yesterday. In the network tab, the last call I see if fetching of metadata and nothing else. Any idea/tips?

Former Member
0 Kudos

on online hcp webide check you possible to import project from gateway?

in gateway client , able to see any data?

0 Kudos

How do you import Gateway project into HCP?

In gateway client the project is working fine, returning the desired results of all CRUDQ operations. Even the HCP URL for the OData service responds but the app itself has gone mute. I have recreated the app step by step but same behaviour.