Resolve and call an on-premise SAP system through the SAP BTP Destination service using client credentials

domain: sap-btp · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Bind the Destination service instance to your BTP application; read the binding credentials from the environment (VCAP_SERVICES or a Kubernetes secret)
  2. Obtain an access token from XSUAA: POST to the token URL from the binding with grant_type=client_credentials using the clientid and clientsecret from the binding
  3. Call the Destination service REST API GET /destination-configuration/v1/destinations/<name> with the Bearer token to retrieve the destination's URL, auth type, and headers
  4. For on-premise destinations, the response includes a connectivity proxy host/port and a Location ID; route your outbound call through the Cloud Connector proxy with those values
  5. Pass the Proxy-Authorization header (using the token from the Connectivity service, not the Destination service) when tunnelling through the Cloud Connector

Known gotchas

Related routes

Call an on-premise SAP RFC/BAPI from a BTP application using the SAP BTP Destination service and Cloud Connector
help.sap.com · 6 steps · unrated
Configure and use an RFC destination in SAP to call an external system from ABAP
sap-s4hana · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans