cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Cloud SDK for JAVA: Acces On-Premise System via localhost

christoffer_fuss
Participant
41,489

Hello,

I followed this blog post to access an OData service with the Cloud Platform SDK. I Used a custom OData Service instead of the standard Businesspartner OData service and a R3 ERP on-Premise backend system instead of S/4 HANA.

If I deploy the app to my Cloud Foundry subaccount it is working fine and my OData service is executed via Cloud Connector and destination service on my on-premise backend.

If I try to execute the same application on the local tomee server the on-premise backend system is not reached.

My destination on my subaccount looks like this:

If I pass all the information (URL,User,Password) to the local destination it is not working...

The same erroppr apperas on executing the integration tests.

What must I do to access my on-premise backlend from localhost?

Best regards,

Chris

View Entire Topic
matthiaskuhr
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Chris,

as you can see in your CF destination you set the proxy type explicitly to on-premise. That information is lacking in the environment variable of your local deployment.

Could you please share the version of the SDK that you are using together with the code snippet where you load the destination? Then I can help you more specifically with how to pass that information via environment variables.

Best, Matthias