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

Error rfc in cloud foundry with jco: There is no SAP Cloud Connector (SCC) connected

davecor
Explorer
0 Kudos
137

Hi ,
in my application deployed on SAP BTP Cloud Foundry, am trying to connect via RFC using the JCo libraries to an on-premise SAP service.
However, encounter the following error:

Code
 
failed: There is no SAP Cloud Connector (SCC) connected to your subaccount matching the requested tunnel for subaccount "JCoSingleTenantKyma" and SCC location ID "ENGLAND". Check the configuration on SCC and cloud side. (remote system is [<unknown>])","level":"WARN","SERVER":"main","written_ts":"1747902844351120977","logger":"com.sap.conn.jco","HOST":"8dc4ba91-c82c-4fbc-4dd3-b9dc","written_at":"2025-05-22T08:34:04.350Z","thread":"main","type":"log"}

To clarify:

  • The destination in SAP BTP successfully passes the connection test with the Cloud Connector.
  • My application correctly retrieves the destination data and only fails at this call:
Java
 
JCoDestination destination = JCoDestinationManager.getDestination(destinationName);
System.out.println("Get destination ==>  " + destination.getDestinationID());
destination.ping();
  • On the Cloud Connector side, the destination is green, so it passes the tests.
  • There are no discrepancies with the various subaccounts; have checked the IDs and they match both in SAP BTP and in SCC.

What could be the cause of this?

Accepted Solutions (0)

Answers (1)

Answers (1)

MarkusTolksdorf
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello @davecor

This looks to me as if you did not bind a service instance of Authorization and Trust Management Service (aka xsuaa) to your application. See the tutorial in https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/on-premise-create-and-bind-service-in... for details

Best regards,
Markus