Join our Newsletter — 33% off our NHI Course
Home› Guides› SAP S/4HANA Non-Human Identities: Governing Technical, RFC and…
Guide Privileged Access (PAM)

SAP S/4HANA Non-Human Identities: Governing Technical, RFC and Communication Users

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 28 November 2026 18 min read
On this page

In most SAP S/4HANA landscapes the technical users that run interfaces, batch jobs and integrations outnumber the people, and they are governed far less carefully. They hold passwords stored in RFC destinations, rights collected over years of "just make the interface work" fixes, and often no named owner. This guide treats them as non-human identities (NHIs): how to inventory and classify them, pick the right user type and credential, govern S/4HANA communication arrangements, run their lifecycle, and detect misuse. It is for SAP Basis, SAP security and identity governance teams. The authorisation model, firefighter access and gateway hardening are covered in the SAP Identity and Access Security Guide and the SAP NetWeaver and S/4HANA Basis Hardening Guide; this page goes deeper on the non-human side only.

This is an independent guide from NHI Mgmt Group, based on SAP's public documentation as of November 2026. It is not sponsored or reviewed by SAP. Product features change, so confirm settings against SAP's current documentation.

Key takeaways

  • User type is the first NHI control. SAP's System and Communication types cannot log on through SAP GUI, so a stolen interface password cannot open an interactive session; Dialog and Service types can.
  • Inventory from three places, not one. Users by type (SUIM, RSUSR200), RFC destinations with stored logon data (SM59) and S/4HANA communication arrangements together give the real NHI estate.
  • Credential choice matters more than rotation. X.509 client certificates, SNC and OAuth 2.0 clients remove most stored passwords; rotate what remains on a schedule that updates the destination in the same change.
  • Every technical user needs an owner, a purpose and an end date. Tie each one to a named interface, a business owner and a review cycle, and lock it when the interface is retired.
  • Watch behaviour, not just configuration. A communication user that suddenly calls new function modules, or a system user seen from a new host, is the signal that matters most.

What counts as a non-human identity in S/4HANA

An SAP non-human identity is any user master record, certificate mapping or OAuth client that a system, program or job uses rather than a person. In an S/4HANA landscape they fall into six groups:

NHI groupTypical examplesWhere it is definedMain risk
RFC interface usersMiddleware, warehouse, MES and legacy ERP interfaces calling remote-enabled function modulesSU01 user; SM59 destination in the calling systemBroad S_RFC rights, password stored in many callers
Batch and job step usersUsers named as the step user in background jobsSU01 user; job definitionsJobs inherit wide rights; user reused across many jobs
Communication users (S/4HANA communication management)Users created for a communication system and arrangement such as SAP_COM_0053Maintain Communication Users app; Communication Arrangements appCreated by project teams, rarely reviewed after go-live
Web service and OData technical usersIntegration platforms, portals and SaaS connectors calling APIsSU01 user, ICF service, SOA ManagerBasic authentication with long-lived passwords in middleware
OAuth 2.0 clientsApplications registered in transaction SOAUTH2SOAUTH2 client with a dedicated System userClient secrets and scopes not reviewed
Connector and tooling usersIdentity governance connectors, monitoring, transport (TMSADM) and SAP standard usersSU01 user, often with broad read or user admin rightsHighly privileged, trusted by everyone, rarely owned

The general lifecycle model for these accounts is in the Service Account Security Guide; the rest of this page applies it to SAP's own objects.

Choosing the right user type

SAP user master records carry a user type (field USTYP in table USR02). SAP's documentation describes five types, and the type decides whether interactive logon is possible and how password rules apply:

Type (code)SAP purposeSAP GUI logonPassword behaviour (per SAP)NHI use
Dialog (A)Individual human usersYesSystem checks whether the password is expired or initial; users change their ownNever for an NHI
System (B)Background processing and internal or external RFC communicationNoPassword change requirement does not apply (cannot be initial or expired); only a user administrator changes itDefault for interface, batch and OAuth client users
Communication (C)Dialog-free communication for external RFC callsNoExpiry and initial status checked; whether a change is enforced depends on the logon methodExternal RFC callers where SAP or the partner product specifies it
Service (S)Dialog user shared by a larger, anonymous groupYesNo check for expired or initial password at logon; only an administrator changes itAnonymous public services only, with minimal rights
Reference (L)Non-person user that supplies additional identical authorisationsNo logon possibleNot used for logonAuthorisation template, never a credential holder
  • Prefer System for machine-to-machine. SAP's own guidance for an OAuth 2.0 client in AS ABAP is a dedicated, unique user of type System, and the same logic fits most interface and batch users.
  • Treat Communication users carefully. Because expiry may apply depending on the logon method, an expired password can break an interface; agree the rotation process before the expiry date, not after the outage.
  • Find Dialog and Service users used by machines. A Dialog user named in an SM59 destination or used as a job step user is both an interactive login risk and a sign of shared human and machine use, which the OWASP NHI Top 10 lists as NHI10 Human Use of NHI. See the OWASP NHI Top 10 NHI10 Human Use of NHI Guide.
  • Changing type is a change, not a fix. Moving a Dialog user to System changes password behaviour and can stop a program that relied on interactive features. Test in a non-production client first.

Building the inventory

No single SAP report lists every NHI. Build the inventory from these sources in each production client and in each system that calls production:

  1. Users by type: run report RSUSR200 (also reachable through SUIM). SAP documents selection by user type, days since last logon, days since password change, password status (valid, initial, inactive), validity and lock status. Select types System, Communication and Service first, then Dialog users with no recent interactive logon.
  2. Stored credentials in RFC destinations: in SM59, list ABAP (type 3) and TCP/IP (type T) destinations. On the Logon and Security tab, SAP shows whether the destination uses the current user, a trust relationship, SNC, or a stored user and password (the "Password status" field shows whether a password is saved). Each stored user is an NHI credential held in the calling system.
  3. Trust relationships: review SMT1 in each system. A trusted RFC relationship lets users of the calling system log on without a password, so the trusting system inherits the caller's security level.
  4. Communication arrangements: in S/4HANA, the Communication Arrangements, Communication Systems and Maintain Communication Users apps show which partner system and which user can call which communication scenario. The Maintain Communication Users app also shows the systems and arrangements that use each user, which is the quickest dependency map.
  5. OAuth 2.0 clients: list clients registered in SOAUTH2 and their System users.
  6. Job step users: list background jobs by step user and flag any personal user or Dialog user.

Record each NHI with a minimum set of attributes. A sample row is shown; the values are illustrative, not from a real system:

AttributeSample valueWhy it matters
User ID and clientRFC_WMS_PRD, client 100Unique key per system and client
User typeSystem (B)Confirms no interactive logon
Interface and purposeWarehouse goods movements, inbound RFCJustifies the rights
Business owner and technical ownerLogistics process owner; integration team leadWho approves access and answers for it
CallersMiddleware destination WMS_TO_S4 in two systemsWhere the credential is stored
Credential type and last changePassword, changed 140 days agoDrives rotation and migration priority
Roles and critical rightsOne PFCG role, S_RFC limited to two function groupsLeast privilege evidence
Review date and end dateNext review March; ends with WMS replacementStops orphaned accounts

Ownership attestation is the step most programmes skip. The NHI Ownership Guide covers how to assign and re-confirm owners at scale.

Credentials: moving away from stored passwords

Most SAP NHI exposure comes from passwords stored in callers and middleware, which maps to OWASP NHI7 Long-Lived Secrets and NHI4 Insecure Authentication. The options below are listed from strongest to weakest for typical interfaces; the right choice depends on what the partner product supports.

OptionWhere it appliesWhat it removesOperational cost
X.509 client certificate mapped to the userHTTPS APIs; S/4HANA Cloud inbound communication users with the SSL Client Certificate methodShared password in middlewareCertificate issuance, renewal and trust store (STRUST) management
SNC for RFCABAP and TCP/IP RFC destinations (types 3 and T)Unencrypted RFC traffic and, with certificate logon, stored passwordsSupported security product and PSE management on both sides
OAuth 2.0 client (SOAUTH2)Applications acting for a user on AS ABAP servicesLong-term user password in the clientClient registration, scope review, secret handling
Current user or trusted RFCSystem-to-system calls where the same user should act in bothStored password in the destinationTrust becomes a privilege path; only from systems of equal or higher security
Stored user and passwordLegacy interfaces with no alternativeNothingRotation that updates every caller in the same change window
  • Certificates in S/4HANA Cloud: SAP's guidance for certificate-based inbound authentication is to upload a CA-signed certificate to the communication user, assign that user to the communication system for inbound calls, and select SSL Client Certificate in the arrangement. Keep the private key in the partner's secret store, not on a shared file share.
  • Lock down destination use: SM59 lets you enter a value in the Authorization field; SAP then checks at runtime that the caller holds that value in S_ICF (field ICF_FIELD "DEST"). Use it on every destination that stores a privileged user, so not every user who can run RFC can borrow the stored identity.
  • Rotation that does not break things: for passwords that must stay, rotate the SAP user and every caller in one change, verify with a test call, and keep the previous password available only until the test passes. A vault that can update middleware configuration reduces outage risk. See the Secrets Management Guide.
  • Certificates expire too: track certificate expiry for every mapped NHI and alert well ahead. See the mTLS Guide for trust store discipline.

Least privilege for technical users

The authorisation model itself is explained in the SAP Identity and Access Security Guide. For NHIs the specific steps are:

  • Remove SAP_ALL and SAP_NEW: no interface user should hold either. Replace with a single PFCG role per interface, built from a trace (STAUTHTRACE or ST01) of the interface running its full business cycle, including month-end runs.
  • Narrow S_RFC: restrict RFC_NAME to the function groups or function modules the trace shows. Unified Connectivity (UCON) adds an allowlist of externally callable function modules and SAP positions it as a help for analysing required RFC authorisations and building RFC user roles.
  • One NHI per interface: do not reuse a user across interfaces or partners. Reuse merges rights and makes revocation impossible without collateral outages (OWASP NHI9 NHI Reuse). See the OWASP NHI Top 10 NHI9 NHI Reuse Guide.
  • Separate environments: a user in development or quality must never carry credentials that work in production, and a destination from a lower system into production with a stored privileged user is a direct path upward.
  • Control user admin rights held by connectors: identity governance connectors often need S_USER_GRP and related objects. Restrict them to the user groups the connector manages and alert on any change to SAP standard users.
  • Segregation of duties applies to NHIs: an interface user that can both create and approve, or post and pay, is an SoD conflict even though no person logs on as it. Include technical users in SoD rule sets.

Governing S/4HANA communication arrangements

Communication management bundles the NHI decision into four objects: a communication scenario (SAP's predefined set of inbound and outbound services, for example SAP_COM_0053 Purchase Order Integration), a communication system (the partner), a communication user and a communication arrangement that binds them. SAP notes that only users with the Administrator role use these apps, and that the Maintain Extensions on SAP BTP app can generate the system, user and arrangement from an integration token. That automation is useful and also a reason to review what has been created.

ObjectGovernance questionEvidence to keep
Communication scenarioIs this scenario still needed, and do its inbound services expose more than the partner uses?Business owner approval per scenario
Communication systemIs the partner still live and is its host or certificate current?Partner contact, host, certificate expiry
Communication userIs it used by exactly one system and one arrangement, with certificate rather than password?"Where used" view from Maintain Communication Users
Communication arrangementDoes it use the strongest authentication method the scenario supports?Arrangement settings at each review

Run this review at least every six months and whenever a partner contract ends. Lock the communication user first, wait one business cycle for any unexpected failures, then delete the arrangement and user.

Lifecycle: create, change, retire

  1. Request: every new technical user starts from a request that names the interface, owners, user type, credential method, the callers and an end or review date. Reject requests for Dialog type or for SAP_ALL.
  2. Create: build in development, transport the role, create the user in production through the normal provisioning path, and record it in the inventory before first use.
  3. Change: role changes for NHIs go through the same approval as for people, with the owner signing off. A failed interface is not an emergency that justifies broad rights; use firefighter access for diagnosis instead. See SAP Firefighter Access.
  4. Review: owners re-confirm purpose and rights on a fixed cycle. The How to Run an Access Review for Service Accounts guide gives the review mechanics.
  5. Retire: when an interface ends, lock the user, remove stored credentials from every SM59 destination and middleware, remove trust entries, keep the user record locked for the retention period your audit needs, then delete. This is OWASP NHI1 Improper Offboarding territory. See the OWASP NHI Top 10 NHI1 Improper Offboarding Guide.

Implementation roadmap

  1. Weeks 1 to 4, see the estate: run RSUSR200 by type in every production client, export SM59 destinations with stored users, list communication arrangements and SOAUTH2 clients. Assign provisional owners.
  2. Weeks 4 to 8, close the worst gaps: lock technical users with no logon in the review window after confirming with owners, move Dialog-type NHIs to System in a test client first, remove SAP_ALL from technical users, and add S_ICF destination checks on privileged destinations.
  3. Months 3 to 6, least privilege: trace each interface, build per-interface roles, narrow S_RFC, run UCON in its logging phase before activating allowlisting. Pilot one interface family, then expand.
  4. Months 6 to 12, credentials: move APIs to certificates or OAuth, enable SNC for RFC, and shrink the stored-password list. Track the remaining passwords with a rotation date.
  5. Ongoing: lifecycle gates in the request process, six-monthly reviews, detection rules in the SOC.

Rollback: keep the previous role assignment and destination configuration exported before every change, and change one interface at a time so a failure points to one cause. Locking a user is reversible; deleting it is not, so lock first.

Decision guidance

  • Small landscapes (one production system, few interfaces): a spreadsheet inventory, System user type, per-interface roles and an annual review are proportionate. Spend effort on removing stored passwords from middleware.
  • Large landscapes (many systems, hundreds of interfaces): connect SAP users to the identity governance platform so technical users appear in the same review campaigns as service accounts elsewhere, and feed SAP logs into the SOC.
  • Certificate or OAuth: choose certificates for system-to-system calls where no user context is needed; choose OAuth where an application acts for a user and needs scoped, revocable access.
  • Trusted RFC or stored user: trusted RFC removes the password but extends trust; use it only from systems of equal or higher security, never from development or quality into production.

Detection and measurement

Configure the Security Audit Log (RSAU_CONFIG or SM19, read with RSAU_READ_LOG or SM20) to record RFC and logon events for technical users, and send them to the SOC. The SAP Threat Detection and Monitoring Guide covers the pipeline. Signals worth alerting on:

  • Interactive logon by a technical user: any SAP GUI logon by a user in the NHI inventory, which should be impossible for System and Communication types and points to a type change.
  • New source host: a technical user logging on from a host not in its documented callers.
  • New function modules: RFC calls by an interface user to function modules outside its traced baseline.
  • Changes to technical users: password resets, user type changes, role assignments and unlocks outside a change ticket.
  • Destination changes: SM59 edits that add stored credentials or switch to a more privileged user.
MetricTarget directionSource
Technical users with a confirmed ownerTowards 100%NHI inventory
Technical users of type Dialog or ServiceTowards zeroRSUSR200
Destinations with stored passwordsFalling each quarterSM59 export
Technical users holding SAP_ALL or wildcard S_RFCZeroSUIM critical authorisation reports
Passwords older than the agreed rotation periodFallingRSUSR200 days since password change
Communication arrangements reviewed in the last six months100%Review records

Framework mapping

Control areaNIST SP 800-53 Rev. 5NIST CSF 2.0CIS Controls v8.1ISO/IEC 27001:2022 Annex AThreat addressed (ATT&CK)
Inventory and ownershipAC-2 Account ManagementPR.AA-015.5 Inventory of service accounts5.16 Identity managementT1078 Valid Accounts
User type and least privilegeAC-6 Least PrivilegePR.AA-056 Access Control Management8.2 Privileged access rights; 5.18 Access rightsT1078.001 Default Accounts
Credentials and rotationIA-5 Authenticator Management; IA-9 Service Identification and AuthenticationPR.AA-015 Account Management5.17 Authentication information; 8.5 Secure authenticationT1552 Unsecured Credentials
MonitoringAU-6 Audit Record Review, Analysis, and ReportingDE.CM8 Audit Log Management8.15 Logging; 8.16 Monitoring activitiesT1021 Remote Services

On the NHI-specific side, the controls on this page address OWASP NHI1, NHI4, NHI5, NHI7, NHI9 and NHI10. See the OWASP NHI Top 10 NHI5 Overprivileged NHI Guide.

Common failure patterns

  • Inventory from SU01 alone: teams list users by type but miss the credentials stored in SM59 destinations in other systems, so rotation updates the user and breaks interfaces nobody knew about.
  • Dialog users as interface users: often created during a project "temporarily", they allow interactive logon with a password held in middleware.
  • One user for every interface: a single shared RFC user holds the union of every interface's rights and cannot be locked without stopping the business.
  • Communication arrangements left after go-live: project test partners and generated BTP extension users stay active with password authentication long after the project ends.
  • Lower systems trusted by production: trusted RFC or stored privileged users from development or quality into production let a less protected system act in production.
  • Patching without identity review: SAP publishes Security Notes on Security Patch Day, the second Tuesday of each month. Apply them promptly, and review technical user rights at the same time, because a patched system still trusts an over-privileged interface user.

Practitioner checklist

  • Run RSUSR200 by user type in every production client and record each technical user with owner, purpose and callers.
  • Export SM59 destinations with stored logon data and link each to an inventory entry.
  • Review SMT1 trust relationships and remove any from lower environments into production.
  • Set every machine user to System (or Communication where specified); retire Dialog and Service types for machines.
  • Remove SAP_ALL and SAP_NEW from technical users and build per-interface roles from traces.
  • Narrow S_RFC and run UCON in logging mode before activating allowlisting.
  • Add S_ICF Authorization values to destinations that store privileged users.
  • Move APIs and S/4HANA communication users to certificates or OAuth; track remaining passwords with a rotation date.
  • Review communication scenarios, systems, users and arrangements every six months; lock, wait, then delete.
  • Send Security Audit Log events for technical users to the SOC and alert on interactive logons and new source hosts.

Standards and references

Related NHI Mgmt Group resources: SAP Identity and Access Security Guide · SAP NetWeaver and S/4HANA Basis Hardening Guide · SAP BTP Security Guide · Service Account Security Guide · Non-Human Identity (NHI) Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.