Ask three people what SAP security means and you get three answers. The auditor thinks segregation of duties. The Basis team thinks parameters and patches. The CISO thinks attacks and internet exposure. All three are right: each looks at a different layer of the same system.
This guide walks through the six layers, explains what matters in each and gives a realistic order of priority. Every section links to a detailed article.
What is SAP security?
SAP security is the set of controls that protect an SAP system and the data in it. An SAP ERP runs accounting, payments, procurement, payroll and often the personal data of employees and customers. A breach is therefore not only a data leak: it can mean a fraudulent payment, an unauthorized journal entry or a changed vendor bank account.
Two worlds meet here:
- Application security, centred on authorizations. Who can create a vendor, run a payment, change a role?
- Technical security, or SAP cybersecurity. Is the system patched, are its interfaces closed, are its default accounts neutralized?
A serious program covers both. An attacker who gets hold of an account with SAP_ALL needs no technical exploit at all.
1. Authorizations and roles
All SAP access goes through the authorization concept. A user gets roles (PFCG), each role contains authorization objects (S_TCODE, F_BKPF_BUK, M_BEST_EKO…) with field values, and the program checks those objects at every step. A transaction code alone is not enough: what a user can really do depends on S_TCODE together with the objects checked in the code.
The usual problems:
- Over-powerful standard profiles:
SAP_ALLorSAP_NEWon dialog users in production - Generic values:
*in company codes, document types or activities, "to make it work" - Copied roles: one role per user, built by copying, impossible to maintain or audit
- Neglected
SU24values: authorization proposals are not maintained, so every new role inherits values that are too broad or incomplete - Forgotten Fiori: roles cover transactions but not catalogs, OData services (
S_SERVICE) and apps
A sound authorization concept relies on job-based roles, derived roles per organizational unit and controlled values. It is a project in its own right, described in our authorization concept redesign offer.
2. Segregation of duties and critical access
Segregation of duties (SoD) prevents one person from completing two incompatible steps of a process alone. Creating a vendor and running the payment. Creating a purchase order and posting the goods receipt. Changing a role and assigning it to yourself.
Critical access is dangerous even on its own: changing tables in production, debugging with replace, administering users, running operating system commands. Our reference of critical SAP transactions and tables lists them with the authorization objects that matter.
Both are controlled through a ruleset: the list of risks, functions and the authorizations behind them. The analysis is only as good as the ruleset. An untailored generic ruleset produces thousands of conflicts that nobody works through. The analysis can run in SAP GRC Access Control or in a dedicated tool such as MTC Skopos, which works at authorization-object level and proposes fixes.
3. Privileged and emergency access
Production sometimes needs broad access: fixing an incident, a blocked period close, a support intervention. The standard answer is emergency access, or firefighter: a high-privilege account or role, assigned for a limited time, with every action logged and reviewed by a controller.
What to watch:
- The scope of firefighter roles, which should not be
SAP_ALLfor convenience - The log review, which must stay real and documented
- Technical and service accounts (
SYSTEM,COMMUNICATIONtypes), often over-privileged with passwords that never change
See our SAP firefighter role design guide and, for RISE landscapes, centralized firefighter with remote logon.
4. Technical hardening
This is the layer authorization teams don't see and attackers look at first. The baseline checks:
| Area | What to check |
|---|---|
| Standard users | SAP*, DDIC, TMSADM, SAPCPIC, EARLYWATCH, SAPSUPPORT: passwords changed, accounts locked or deleted, login/no_automatic_user_sapstar = 1 |
| Passwords | Policy (login/min_password_lng ≥ 10, login/password_history_size, lock after 3 to 5 failed attempts), legacy hashes removed (login/password_downwards_compatibility = 0, then CLEANUP_PASSWORD_HASH_VALUES), table USR02 protected |
| RFC | No SM59 destinations storing passwords of powerful users, trusted RFC under control (S_RFCACL), auth/rfc_authority_check = 6, callbacks controlled (rfc/callback_security_method = 3), UCON to limit callable function modules |
| Gateway | Global reginfo, secinfo and prxyinfo, identical on all instances, gw/acl_mode = 1, no * rules for sapxpg or rfcexec |
| Message server | ms/acl_info limited to the system's application servers, internal port filtered |
| Web services | Unused ICF services (SICF) deactivated, especially internet-facing ones |
| Patching | Security notes applied on the Patch Day rhythm (second Tuesday of every month) |
| Encryption | SNC for SAP GUI and RFC, TLS for HTTP |
| Clients and transports | Production clients closed (SCC4), system change option set to not modifiable (SE06) |
Since S/4HANA, SAP applies secure-by-default settings during installations and conversions (note 2926224), but the project can opt out during the conversion. The SUM log is the only reliable record of what was accepted.
The details, with parameters and pitfalls, are in our guide SAP cybersecurity: hardening the platform.
5. Cloud and front-end: BTP and Fiori
S/4HANA no longer runs alone. SAP BTP hosts extensions, Integration Suite and launchpads, with its own authorization model (role collections), its own identity provider and its own connector into the back-end. S/4HANA authorizations cover none of that. See SAP BTP security: role collections, IAS and Cloud Connector.
Fiori raises a different question: exposure. Opening the front-end server to the internet for remote work or suppliers means exposing the ABAP stack. Our article on SAP Fiori internet exposure covers the architectures that hold up.
6. Logging and monitoring
No logs, no detection and no audit evidence. The main sources:
- Security Audit Log (
RSAU_CONFIG, read withRSAU_READ_LOG): logons, failed logons, RFC calls, transaction and report starts, debugging, actions by privileged accounts. It must be active on all instances, with a static profile, a filter for critical and important events across all clients and users, and all events forSAP*,DDIC,SAPSUPPORT*, firefighter accounts and client 066. Protect its integrity (system-specific HMAC key) and limit who can delete it (RSAU_ADMIN, function moduleRSAU_CLEAR_AUDIT_LOG). - Table logging (
rec/client, viewed inSCU3): changes to customizing tables. The transport program'sRECCLIENTparameter also logs imported changes, and reportRDDPRCHKchecks that the tables SAP requires are actually logged. - Read Access Logging (
SRALMANAGER): who viewed sensitive data, HR and payroll in particular. Useful for the nFADP. - Change documents: changes to master data and business documents, and to users and roles (
SUIM). - System log (
SM21) and gateway logs.
These logs are only useful if someone reads them. Forwarding them to a SIEM, with SAP-specific detection rules (SAP* logon, parameter change, debug with replace), is the only way to use them at scale.
The frame: IT controls and audit
SAP security sits inside the IT general controls (ITGC) that auditors test every year: access management, change management, operations. A well-secured system produces that evidence without extra work. See our guide to ITGC: examples and audit checklist.
New regulatory processes follow the same logic. French e-invoicing, for example, brings its own authorizations, described in SAP DRC authorizations for French e-invoicing.
Where to start
You can't fix everything at once. The order we recommend, from the best risk-to-effort ratio down:
- Remove
SAP_ALLandSAP_NEWfrom dialog users in production, and neutralize the standard users. - Enable and configure the Security Audit Log. Without it, none of the following steps can be verified.
- Catch up on overdue Hot News and High security notes, then follow Patch Day every month.
- Restrict critical access: table changes, debug with replace, user and role administration, RFC.
- Close the interfaces: gateway, RFC destinations with stored passwords, unused ICF services.
- Run an SoD analysis with a ruleset tailored to your business, then fix it at role level.
- Put emergency access under control and set up the log review.
- Review BTP and Fiori if those layers are in production.
Steps 1 to 5 take a few weeks. Steps 6 and 7 are a program of several months if the roles need rework.
Related reading
- Critical SAP transactions and tables: a security reference
- SAP GRC Access Control: what it is and when you need it
- SAP cybersecurity: hardening the platform
- How to choose an SAP security consultant in Switzerland
- SAP security consulting in Geneva: our full scope
Frequently Asked Questions
What is SAP security?
SAP security is the set of controls that protect an SAP system and its data: who can log on, what each user may do (roles and authorizations), which combinations of access are forbidden (segregation of duties), how privileged access is controlled, how the technical platform is hardened (parameters, RFC, gateway, security notes) and what gets logged. It also covers the cloud and front-end layers such as SAP BTP and Fiori.
What is the difference between SAP security and SAP cybersecurity?
In everyday use, SAP security mostly means authorizations: roles, segregation of duties, critical access, firefighter. SAP cybersecurity means the technical protection of the platform against attacks: patching, profile parameters, RFC and gateway, exposed web services, encryption, monitoring. A complete program covers both, because an attacker can use a technical flaw or an over-privileged account equally well.
Where should I start to secure an SAP system?
With the steps that close the largest risks for the least effort: remove SAP_ALL and SAP_NEW from dialog users in production, secure the standard users (SAP*, DDIC, TMSADM), enable the Security Audit Log, apply overdue security notes, and restrict critical access (SE16N change mode, SM59, PFCG, SU01, debug with replace). A full SoD analysis and role redesign come after that.
How often does SAP release security patches?
Every month, on the second Tuesday, on SAP Security Patch Day. Security notes carry a priority (Hot News, High, Medium, Low) and a CVSS score. Hot News and High notes should be assessed and applied quickly, because public exploits sometimes appear within days of publication.
Do I need SAP GRC to secure SAP?
No. SAP GRC Access Control helps manage access risk at scale (SoD analysis, provisioning workflows, firefighter), but it does not harden the platform and does not replace good role design. Many organizations reach a solid level with clean roles, a tailored SoD ruleset, an analysis tool such as MTC Skopos and regular access reviews.