cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

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
former_member186608
Active Participant

Hi Chris,

connecting to the on-premise ERP system through the Cloud Connector is not possible from local deployment, regardless of running the app locally or executing integration tests.

Can your local application or your integration tests reach the on-premise ERP system directly, from a network perspective? If so, you can just populate the real host name in your environment variable. Currently you use the virtual host name in your environment variable.

Best regards

Marco

christoffer_fuss
Participant
0 Likes

Hi Marco,

are you sure about that? I can reach my backend system with a open VPN connection. With this URL my local sercer is connecting but my integration test gets still a "connection refused". My systems.yml looks like this:

---
erp:
  default: "saperp"
  systems:
    - alias: "saperp"
      uri: "http://dt1.datatrain...."
      systemId: "DT1"           # optional, defaults to ""
      sapClient: "100"                 # optional, defaults to default SAP client
      locale: "de"                     # optional, defaults to English (US)
      #erpEdition: "cloud"              # optional, defaults to "cloud"

What is missing? The uri is as I said working o local tomee server.

Best Regards,

Chris