New to SAP Architect? Start with the module overview
Security Architecture Across S/4HANA, BTP and Integration: Consultant Reference
Quick answer
SAP security design spans authorization objects, business roles, identity propagation, technical communication, audit and protection of data across S/4HANA and BTP. A role that passes a unit test in isolation can still expose unintended access once combined with other roles a real user actually holds.
Consultant reference for Security Architecture Across S/4HANA, BTP and Integration: purpose, common failure patterns, evidence to inspect, safe resolution and interview-ready reasoning.
Published 17 Nov 2026· 760 words
What this controls
SAP security design spans authorization objects, business roles, identity propagation, technical communication, audit and protection of data across S/4HANA and BTP.
When to use it
Design security architecture (authentication, authorization concept, trust relationships between systems) at the same time as the integration architecture, not after — every new BTP service, API connection or SSO trust relationship changes the attack surface and needs explicit review. It's especially critical before go-live of any landscape spanning on-premise S/4HANA and cloud (BTP, SuccessFactors, Ariba), where the trust boundary between systems is where most real incidents originate.
Safe resolution path
Enforce least privilege at authoritative API/business-object layer, segregate duties and environments, and audit sensitive access. A security fix succeeds when intended role can perform a transaction and prohibited roles cannot—even via direct API calls.
Common pitfalls
The most common mistake is reusing a single powerful technical user across multiple integrations instead of scoping credentials per integration purpose, which turns one compromised credential into a landscape-wide incident. Teams also under-document trust relationships (which system trusts which, and why) so a security review years later cannot tell what the intended authorization boundary even was. A third pitfall is treating authorization design as purely an S/4HANA PFCG-role exercise and neglecting the equivalent concept on BTP and connected cloud systems, leaving an inconsistent security model across the landscape.
ECC, S/4HANA and clean core
ECC security architecture was largely self-contained within a single on-premise authorization concept (PFCG roles). S/4HANA landscapes extended with BTP and SaaS products introduce OAuth, SAML trust relationships and service-to-service authentication that have no ECC-era equivalent, and a weak link in that chain is now a common real-world attack vector.
Clean-core programs should treat the security design of the BTP-to-S/4HANA trust relationship as architecturally equivalent in importance to the PFCG role design inside S/4HANA itself.
Revisit this guidance at each major SAP release or upgrade cycle, since clean-core scope, released-API coverage and BTP service capabilities all continue to expand; a decision that required a workaround in one release may have a supported, upgrade-safe option in the next, so a periodic architecture-review checkpoint is worth scheduling rather than treating the original decision as permanent.
Typical production symptom
A BTP UI hides payroll data but a backend OData read still returns it because authorization checks were implemented only in UI. Another team shares a high-privilege RFC account between test and production, making audit attribution impossible. Presentation controls do not replace backend authorization.
Likely root causes
The most common causes are configuration mismatch, stale or incomplete master data, incorrect status or validity dates, authorization scope, integration mapping, timing or sequencing, and changes that were transported without their prerequisites. Avoid assuming the screen where the symptom appears is the layer that owns the defect.
What to inspect
Identify users, clients, role collections/business roles, SAP authorizations, service identities, delegated access, data classification and communication trust. Test positive and negative requests on exact organizational scopes. Review secret rotation, encrypted transport and logging redaction.
Consultant and interview angle
A strong answer explains the controlling object or configuration, the evidence used to isolate the issue, the cross-module or integration dependencies, the safe fix, and the regression plan. Senior candidates should also explain monitoring, governance and how to prevent the same failure from recurring.
Worked design review and production acceptance
Security review exercise: an employee benefits portal accesses SAP HCM or payroll records through BTP, but its UI hides unauthorized fields instead of enforcing authorization at the source API. A direct request can expose compensation. Design roles around permitted action and target organizational scope, with backend authorization checks, tenant isolation and minimal response projections.
Use appropriate delegated identity rather than one shared technical account when per-user audit is required, and protect service-to-service communication with rotation and limited scopes. Compare allowed and denied API calls under two users and two company contexts, including list and export endpoints; a disabled button is not proof of security.
Audit data protection classification, cross-border transfer, retention, access logs and privileged-break-glass use. Validate errors do not leak private record existence. Security tests must be repeated after a role transport or interface expansion. A solution is complete only when legitimate operations work and both direct API and UI access deny unauthorized data consistently.
Additional abuse case: an authorized manager changes the company code or personnel identifier in a URL to a value outside their scope. Repeat the same read and write through the direct service, not only the UI. Review audit data retention and role-separation for the service account that performs outbound replication.
Learn this properly
Lessons and topics
Source: ERPClimb — https://erpclimb.com/sap-technical-topics/architect-securityERPClimb is an independent platform and is not affiliated with SAP SE. Reference pages are written and reviewed by SAP consultants for learning and troubleshooting.