SAP security is often described in one line: “controlling access to SAP.” That is true, but it hides most of the work. In practice it covers who can log on, what each person can do once inside, how systems talk to each other, how the servers are hardened and patched, and how you prove all of this to auditors. This guide walks through each layer with the transactions and examples people actually use.
In one sentence: SAP security is the set of controls that makes sure only the right people and systems can reach SAP, that each user can do only what their job needs, and that the system itself is configured, patched and monitored so the data inside it stays correct and private.
Key takeaways
- SAP security has several layers: identity and users, roles and authorizations, segregation of duties, system hardening, patching, interfaces, logging and cloud.
- Roles built in PFCG carry authorization objects, and those objects decide what a user can actually do.
- Segregation of duties stops one person from completing a risky process alone, such as creating a supplier and paying it.
- SAP releases security notes every month on Security Patch Day, the second Tuesday of the month.
- In RISE and cloud setups, SAP runs much of the infrastructure, but user access, roles and data access remain the customer’s job.
Why does SAP security matter so much?
SAP systems hold the records a company runs on: financial postings, supplier bank details, payroll, prices and customer data. A single user with too much access can change a supplier’s bank account and release a payment. A weak interface can let another system read data it should never see. Because SAP is central, a security gap there affects finance, compliance and operations at once.
External auditors also test SAP access every year as part of IT general controls. Weak SAP security is a common source of audit findings, and fixing it under deadline pressure is far harder than designing it well from the start.
What are the layers of SAP security?
| Layer | What it protects | Typical tools and transactions |
|---|---|---|
| Identity and users | Who can log on | SU01, user types, single sign-on, password and lock rules |
| Roles and authorizations | What each user can do | PFCG, SU24, authorization objects, SUIM |
| Segregation of duties | Risky combinations of access | SAP GRC Access Control rule sets and risk analysis |
| Emergency access | Temporary high access with review | Firefighter IDs in GRC Access Control |
| System hardening | Secure configuration | Profile parameters (RZ10, RZ11), client settings (SCC4), default users |
| Patching | Known vulnerabilities | SAP Security Notes, Security Patch Day |
| Interfaces and network | System to system traffic | RFC destinations (SM59), SNC, TLS, Unified Connectivity (UCON) |
| Logging and monitoring | Detecting misuse | Security Audit Log (RSAU_CONFIG, RSAU_READ_LOG), change documents |
| Fiori and cloud | Web apps, SaaS and BTP | Fiori catalogs and OData authorizations, BTP role collections, Identity Authentication |
How do SAP users and logon controls work?
Every person or system that uses SAP needs a user ID, created in transaction SU01 or provisioned from an identity system. SAP has five user types, and choosing the right one matters:
- Dialog for people who log on interactively.
- System for background processes and system to system communication within a landscape.
- Communication for external interfaces that call SAP over RFC.
- Service for anonymous or shared access, such as some web services. Use sparingly.
- Reference to add the same extra authorizations to many users. It cannot log on.
Logon rules come from profile parameters, for example login/min_password_lng for minimum password length and login/fails_to_user_lock for how many failed attempts lock a user. Most companies use single sign-on so passwords are managed centrally. Standard users such as SAP* and DDIC need protecting in every client, because they are well known to attackers.
How do roles and authorizations control access?
Users do not get permissions directly. They get roles, built in transaction PFCG. A role contains a menu of transactions or apps and the authorizations needed to use them.
Authorizations are values for authorization objects. Each object has fields. For example, F_BKPF_BUK controls accounting documents by company code (field BUKRS) and activity (field ACTVT, where 01 is create, 02 is change and 03 is display). When a program runs, it checks the user’s buffer for a matching value. If none exists, the action fails.
Good role design follows least privilege: give each job exactly what it needs and nothing more. Many companies build master roles and derive copies per company code or plant, which keeps functions consistent while limiting data. Our guides on creating a role in PFCG and single, composite and derived roles go step by step.
What is segregation of duties in SAP?
Segregation of duties (SoD) means no single person can complete a sensitive process from start to finish. Classic examples:
- Create or change a supplier, and post a supplier invoice or payment.
- Create a purchase order, and approve or receive the same goods.
- Maintain roles, and assign roles to users.
Companies define these conflicts in a rule set and check users against it. SAP GRC Access Control is the SAP tool most used for this: it runs risk analysis, simulates new access before it is granted, and records mitigating controls when a conflict cannot be removed. Read what SAP GRC is for an overview.
What does SAP system hardening involve?
Hardening means removing weak defaults. Common areas include:
- Profile parameters for passwords, logon, and gateway security, viewed in
RZ11and maintained throughRZ10or your Basis team’s process. - Client settings in
SCC4, so production clients do not allow direct changes to configuration or programs. - Table and program access, using authorization groups and the objects S_TABU_DIS, S_TABU_NAM and S_PROGRAM, so users cannot browse or change sensitive tables.
- Developer and debug access, restricting S_DEVELOP in production, especially debug with change.
- Gateway and message server rules, which control which programs may register and start on the SAP gateway.
Hardening is shared work between Security and Basis. If you want the Basis side in depth, see what SAP Basis is.
How does SAP patching work?
SAP publishes security notes on Security Patch Day, the second Tuesday of every month, through the SAP Support Portal. Each note describes a vulnerability, the affected releases, a priority and the correction. Notes are applied as code corrections through SNOTE, as support packages, or as kernel updates, depending on the fix.
A workable routine is to review each month’s notes within days, rate them against your landscape, fix high and hot news notes quickly, and bundle the rest into regular maintenance. Skipping months makes the backlog grow fast.
How are interfaces and network traffic secured?
SAP systems connect to each other and to outside applications constantly. Each connection is a door that needs a lock:
- RFC destinations in
SM59should not store powerful user credentials. Use communication users with only the function modules they need, controlled through authorization object S_RFC. - Encryption: use SNC for SAP GUI and RFC traffic and TLS for HTTP traffic, so passwords and data are not sent in clear text.
- Unified Connectivity (UCON) can limit which remote enabled function modules can be called from outside at all.
How do you monitor and log SAP security?
The Security Audit Log records events such as logons, failed logons, transaction starts and changes to users. In current releases it is configured with RSAU_CONFIG and read with RSAU_READ_LOG. Many companies forward these logs to a central security monitoring system so unusual activity is spotted quickly.
Change documents record who changed users and roles, and SUIM reports answer audit questions such as “who can post journal entries in company code 1000?” Our book on auditing SAP systems covers the full testing approach.
What changes with Fiori, BTP and RISE?
Fiori adds a web layer. Users need catalog and space access for tiles, plus authorization for the OData services behind each app (object S_SERVICE), on top of the usual business authorizations.
SAP BTP uses role collections assigned in subaccounts, with users usually coming from SAP Cloud Identity Services. See BTP role collections.
RISE with SAP moves infrastructure and much of the technical operation to SAP under a shared responsibility model. The customer still owns who gets access, what roles allow, SoD and data. Read what RISE with SAP is for the split.
Frequently asked questions
What does an SAP security consultant do?
They design and build roles, manage user access, fix authorization errors, support audits, and work with Basis on system hardening. On projects, they also design the role concept for new S/4HANA, Fiori or BTP systems.
Is SAP security the same as SAP GRC?
No. SAP security is the broad discipline. SAP GRC is a product suite, and its Access Control component supports parts of security such as SoD analysis, access requests and emergency access.
What is the most important transaction in SAP security?
PFCG, where roles are built. SU01 for users, SU53 and STAUTHTRACE for troubleshooting, and SUIM for reporting are close behind.
How often does SAP release security patches?
Every month, on Security Patch Day, the second Tuesday of the month. SAP can also release urgent notes outside that schedule.
Do cloud SAP systems still need security work from the customer?
Yes. SAP secures the platform it runs, but customers still decide who gets access, what each role allows, how identities are managed and how data is shared.
Is SAP security a good career?
It has steady demand because every SAP system needs it and audits happen every year. People who add S/4HANA, Fiori and BTP skills to classic role design tend to have the widest choice of work.
The bottom line
SAP security is much more than handing out roles. It joins identity, authorizations, segregation of duties, hardening, patching, interfaces, logging and cloud into one set of controls that keeps business data correct and private. Start with roles and authorization objects, since most daily work happens there, then add SoD, hardening and monitoring. Next, read SAP authorization objects explained and how to read SU53.
Sources: SAP Help Portal (security guides); SAP Support Portal (Security Patch Day and security notes); SAP Learning.


