BTP Cloud Connector Part 2: Subaccount Pairing, Access Control and System Mapping
Preview · a free account unlocks the full lesson
Configure Cloud Connector properly: subaccount definitions with location IDs, system mappings (back-end type, protocol, virtual/internal host), resources with path policies, principal propagation settings (system certificate, CA), audit logs, and testing from BTP.
In this lessonShow sectionsHide sections
Visual overview
Explanation
Part 1 explained how the Cloud Connector tunnel works; this lesson covers the configuration side — subaccount pairing, access control and system mapping. Each subaccount definition inside Cloud Connector can carry a location ID, which is what lets you distinguish between multiple connectors serving the same subaccount.
System mapping is where you define the back-end system type, the protocol, and how a virtual host and port map to the real internal host and port. Resources then narrow this down further, defining exactly which paths — or, for RFC, which function modules — are reachable, using either a "path only" policy or a "path and all sub-paths" policy.
Principal propagation, which forwards the calling user's identity to the back end, requires a system certificate and CA configuration on the Cloud Connector side, plus a matching trust configuration on the back-end system. A basic but important risk is using plain HTTP instead of HTTPS to reach the back end, which sends data unencrypted across the internal network.
Naming virtual hosts after the system and its role — for example s4h-prd-virtual — rather than reusing real host names, keeps the mapping clear and avoids accidentally exposing real internal addresses. A more serious risk is allowing all RFC function modules through a wildcard resource definition, which exposes far more of the back end than was ever intended.
The audit log level should also be set appropriately so that access can actually be reviewed later. In practice, this means adding a system mapping over HTTPS, adding resources scoped to a single OData path, configuring principal propagation, and testing from the BTP side — the goal being that only the explicitly allowed paths respond, with everything else denied.
Create a free account to keep reading
You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.
- Code example
- Real project scenario
- Common mistakes
- Best practices
- Interview angle
One tap with Google works too. Every topic keeps its first lesson open to everyone.
Keep exploring
Interview questions on this topic
Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.