We usually get to BTP indirectly. An S/4HANA program goes live, the auditors come in, and the scope includes a BTP global account the security team has never looked at. The integration team or the implementation partner set it up and are still global account administrators. The Cloud Connector was installed in a hurry during the build, and the destinations store the password of a technical user with broad rights in the back end.

A review that stops at PFCG will not find any of this. BTP has its own accounts, authorization model, identity provider and logs, and has to be designed and reviewed separately.

Why BTP needs its own security design

BTP sits between your users, the internet and the SAP back end. A Build Work Zone launchpad can expose S/4HANA apps to external users, an Integration Suite tenant moves data between SAP and third parties, and a CAP application can read and write in the ERP through the Cloud Connector. All of these lead into the core system.

The S/4HANA authorization concept still applies at the back end, but only if the identity arriving there is the real user. If BTP calls the back end with a shared technical user, the user's own S/4HANA roles play no part and BTP is the only place where access is controlled.

The account model

A BTP global account contains directories and subaccounts. Services, applications, trust configuration and authorizations are all held at subaccount level, so the subaccount is the security boundary in practice.

Development, test and production should be in separate subaccounts, with different administrators and, if possible, different identity provider configurations. A single subaccount for "all non-production" tends to end up holding production data.

Global account administrators can create subaccounts, move entitlements and grant themselves any access. Keep the role to a few named people, and remove the implementation partner's consultants from it after go-live.

Trial, proof-of-concept and project subaccounts are often left behind with services and trust still active. Review them as you would dormant users.

Administering a subaccount (platform) and using its applications (business) are two different kinds of access. Put them in different role collections, assigned to different groups.

Authorizations: role collections

Applications on BTP declare role templates, built from scopes and attributes. Roles are created from the templates, and role collections group the roles. You assign the role collection.

The usual SAP role design rules apply:

  • Map role collections to identity provider groups in the trust configuration instead of assigning them to individual users. Access then follows the joiner-mover-leaver process of your directory, and a leaver loses BTP access together with the corporate account.
  • Build role collections around job functions rather than applications, and document them as you would a composite role.
  • Use attributes to restrict data (company code, sales organization, plant) where the application supports it, instead of giving everyone the full scope.
  • Include BTP in the segregation of duties analysis. If a BTP application can create a vendor and a path in S/4HANA can pay it, the conflict exists even though the two accesses are in different systems.
  • Recertify BTP role collections in the same access review campaigns as the ERP.

Identity: SAP Cloud Identity Services

Out of the box, a subaccount trusts the SAP ID service, which authenticates users with SAP-managed accounts. That is not suitable for business users: your directory does not control these accounts, and people keep them after they leave.

The standard setup uses an SAP Cloud Identity Services tenant:

  • Identity Authentication (IAS) is the subaccount's identity provider and acts as a proxy to the corporate identity provider (Microsoft Entra ID or another SAML / OpenID Connect provider). Users log on with their corporate account, with single sign-on and your existing MFA policy.
  • Conditional authentication and MFA apply to administrators and to access from outside the corporate network.
  • Identity Provisioning (IPS) provisions users and groups from the source directory to BTP and other SAP cloud applications, which keeps group membership, and therefore role collections, in sync.
  • SAP ID service stays only for a few named administrators as break-glass access, or is removed from user logon altogether.

Connectivity: Cloud Connector and destinations

The Cloud Connector links a BTP subaccount to on-premise systems. The tunnel is opened outbound from your network, so nothing is published on the internet. On the other hand, every application in the connected subaccount can reach whatever the Cloud Connector exposes, which makes it a control point in its own right.

  • Expose the minimum. Map virtual hosts to specific back-end systems, limit HTTP resources to the URL paths the applications use, and for RFC allow only the function modules that are called. Exposing / on an ABAP system, or allowing all function modules with a prefix wildcard, removes most of the protection.
  • Use principal propagation where possible. The user's identity is passed to the back end in a short-lived X.509 certificate, so the real user's S/4HANA authorizations apply. Shared technical users should be the exception, with narrow roles.
  • Harden the host and the administration: dedicated host, initial administrator password changed, administration connected to your directory, current Cloud Connector version, audit logging switched on and forwarded.
  • Put the Cloud Connector in ITGC scope. Changes to its access control lists are configuration changes and go through change management.

Destinations store the target URL and the authentication method of each connection. With basic authentication or client credentials, they also store secrets.

  • Restrict who can create or change destinations. Whoever can change a destination can redirect traffic or reuse the stored credentials.
  • Use OAuth flows with user propagation rather than stored passwords.
  • Service keys and service bindings in the Cloud Foundry environment are long-lived credentials. Keep an inventory, limit who can create them and rotate them.

Monitoring and audit logs

BTP writes security events (logons, authorization changes, configuration changes) to the audit log service. Retention is 90 days by default in the Cloud Foundry environment, shorter than most audit periods. In practice:

  • Pull the audit logs regularly through the Audit Log Retrieval API and send them to your SIEM or log archive.
  • Monitor administrator activity: new global account or subaccount administrators, trust configuration changes, new role collection assignments, new destinations.
  • Keep evidence for the auditor: who holds administrator roles, how role collections are assigned, how leavers are removed, and how Cloud Connector changes are approved.

For a first review, SAP's published security recommendations for SAP BTP are a reasonable checklist. You will still need a design that fits your own landscape.

Where BTP security fits in an S/4HANA program

Most of the issues above are introduced during the build, when the priority is getting integrations to work. They are easy to avoid then. After go-live, when applications already depend on a broad technical user or an open Cloud Connector path, fixing them takes much more effort.

If your program includes RISE with SAP, Integration Suite, Build Work Zone or BTP extensions, put BTP in the security workstream from the start, together with the S/4HANA authorization redesign and the Firefighter design. For external access to Fiori, going through BTP is often safer than publishing a front-end server; see why the Fiori front-end server should not be on the internet.

How MTC helps

As part of our SAP security work, we review and design:

  • the account and subaccount model
  • role collections and their mapping to your directory groups
  • the SAP Cloud Identity Services configuration
  • Cloud Connector and destination hardening
  • audit logging and the evidence auditors ask for

We also include BTP in segregation of duties analysis and access reviews alongside the ERP. On large programs we work with leading global audit, risk and technology consulting firms, with a senior Swiss-based team responsible for the security outcome.

Frequently Asked Questions

What is SAP BTP security?

The controls that protect the SAP Business Technology Platform and the applications and integrations running on it: the account model (global account, directories, subaccounts), platform and business authorizations (role collections), authentication through SAP Cloud Identity Services, connectivity to on-premise systems through the Cloud Connector and destinations, and audit logging. S/4HANA authorizations do not cover it, so it needs its own design and review.

What is a role collection in SAP BTP?

The unit of authorization you assign in SAP BTP. Applications declare role templates (scopes and attributes), roles are created from those templates, and a role collection groups one or more roles. Role collections can be assigned to users directly, but it is better to map them to groups from the identity provider so that access follows the joiner-mover-leaver process of the corporate directory.

Should SAP BTP use SAP ID service or SAP Cloud Identity Services?

For business users, use an SAP Cloud Identity Services tenant (Identity Authentication) as the identity provider of the subaccount, usually as a proxy to the corporate identity provider such as Microsoft Entra ID. You get corporate single sign-on, MFA, conditional authentication and group-based role assignment. Limit the default SAP ID service to a few named administrators, or remove it from user logon.

How do you secure the SAP Cloud Connector?

Install it on a dedicated, hardened host, change the initial administrator password and connect administration to your directory. Expose only the virtual hosts, URL paths and RFC function modules the BTP applications need, never a whole system. Use principal propagation rather than shared technical users, keep the version current and forward its audit log to your monitoring. Review it as the control point it is between BTP and your SAP systems.

How long does SAP BTP keep audit logs?

90 days by default in the Cloud Foundry environment. If you need longer retention for audit or investigations, pull the logs regularly through the Audit Log Retrieval API and store them in your SIEM or log archive.