There is no shortage of SAP T-code lists online. They help you find ME21N or FB60, not tell you which ones are dangerous. This page is a reference for that other purpose: spotting the access that lets someone bypass controls, and knowing which authorization objects actually lock it down.
It is the list we use as a starting point in audits. It does not replace a full ruleset, but it covers most of what auditors and attackers look at first.
Why the transaction code is not enough
SAP access control works on two levels. At start-up the system checks S_TCODE. After that, the program checks whatever business or technical objects it needs. Removing a transaction from a role blocks nothing if the same function can be reached another way:
- through another transaction calling the same program (
SE16,SE16N,SE17,SE16Hfor tables) - through a report started from
SA38or in a background job - through a function module tested in
SE37or called over RFC - through a Fiori app, controlled by
S_SERVICEandS_STARTrather thanS_TCODE
The rule: control the authorization objects, and use transactions as an indicator.
User and role administration
| Transaction | What it allows | Objects that matter |
|---|---|---|
SU01 | Create, change, lock, delete users, reset passwords | S_USER_GRP (ACTVT 01, 02, 05, 06) |
SU10 | Mass user changes | S_USER_GRP |
PFCG | Create and change roles, assign them | S_USER_AGR, S_USER_TCD, S_USER_VAL, S_USER_PRO |
SU02, SU03 | Manual maintenance of profiles and authorizations | S_USER_PRO, S_USER_AUT |
SU24 | Authorization proposals per transaction | S_DEVELOP |
SU25 | Updating SU24 values after an upgrade | S_DEVELOP, S_USER_AGR |
The classic risk is the combination: changing a role and assigning it, or administering users without a group restriction. An administrator who can change their own account can grant themselves anything. Restricting S_USER_GRP by user group (field CLASS) and excluding the administrators' group is a baseline control.
Tables
| Transaction | What it allows | Objects that matter |
|---|---|---|
SE16N, SE16, SE17, SE16H | Display, sometimes change, table contents | S_TABU_DIS (group), S_TABU_NAM (table), ACTVT 02 or 03 |
SM30, SM31, SM34 | Maintain customizing tables and views | S_TABU_DIS, S_TABU_NAM, S_TABU_CLI (cross-client tables) |
SE11 | Data dictionary | S_DEVELOP |
SE14 | Database utility (convert, drop tables) | S_DEVELOP |
SQVI, SQ01, SQ02 | Create and run queries on any table, often forgotten when SE16N is restricted | S_QUERY (ACTVT 02, 23) |
Display alone is already a problem: SE16N read access on PA0008 means reading salaries, and on USR02 it means extracting password hashes. The &SAP_EDIT function in SE16N, which allowed direct changes, was deactivated by SAP through correction notes, but other routes remain. Changes made through SE16N are recorded in SE16N_CD_KEY and SE16N_CD_DATA: worth reading in an audit. In production, S_TABU_DIS with ACTVT 02 and DICBERCLS = * is an audit finding on its own, and so is ACTVT 02 on the sensitive groups: SS and SC (system), PA and PC (HR and payroll), FC* and FI* (finance), &NC& (tables with no group).
Programs, development and debugging
| Transaction / right | What it allows | Objects that matter |
|---|---|---|
SA38, SE38 | Run any report (and change it with SE38) | S_PROGRAM (program authorization group), S_DEVELOP |
SE37 | Test function modules, including ones that change data | S_DEVELOP (OBJTYPE FUGR, ACTVT 16) |
SE80, SE24 | Development | S_DEVELOP |
| Debug with replace | Change variables at runtime, bypass any check | S_DEVELOP (OBJTYPE DEBUG, ACTVT 02) |
Many reports have no authorization group, so a user with SA38 and S_PROGRAM (P_ACTION = SUBMIT, P_GROUP = *) can run all of them. In production nobody should hold S_DEVELOP with ACTVT 01 or 02, and no developer keys should be registered (table ADIRACCESS). Debug with replace is the most dangerous right on this page, because it gets past any AUTHORITY-CHECK. In production it belongs only in emergency access.
System and interfaces
| Transaction | What it allows | Objects that matter |
|---|---|---|
SM59 | Create and change RFC destinations, including with credentials | S_RFC_ADM |
RZ10, RZ11 | Change profile parameters (passwords, logging, security) | S_RZL_ADM |
SM49, SM69 | Run or define operating system commands | S_LOG_COM, S_RZL_ADM |
SM36, SM37 | Schedule jobs, including under another user | S_BTCH_ADM, S_BTCH_NAM, S_BTCH_JOB |
SM19 / RSAU_CONFIG | Configure the Security Audit Log | S_ADMI_FCD = AUDA |
SM20 / RSAU_READ_LOG | Read the Security Audit Log | S_ADMI_FCD = AUDD |
RSAU_ADMIN | Reorganize, and so delete, audit logs | S_SAL |
SM01, SM01_DEV | Lock or unlock transactions | S_ADMI_FCD = TLCK |
SM12 | Delete lock entries | S_ENQUE |
CG3Y, CG3Z, AL11 | Download or upload files on the application server | S_DATASET, S_PATH |
| (none) | Call function modules remotely | S_RFC (RFC_NAME = *), S_RFCACL for trusted RFC |
STRUST | Manage certificates and PSEs | S_RZL_ADM |
S_BTCH_NAM deserves a separate mention. It allows scheduling a job that runs under another user's identity, often a powerful technical account. It is a privilege escalation path that few generic rulesets cover properly. S_RFC with RFC_NAME = * is the other blind spot: it opens every remote-enabled function module without going through any transaction. Interface accounts should be limited to the function groups they need. Note also that SAP_ALL does not contain S_RFCACL, so it is easy to miss in reviews.
Clients and transports
| Transaction | What it allows | Objects that matter |
|---|---|---|
SCC4 | Open a production client for changes | S_TABU_DIS (group SS, table T000), S_ADMI_FCD = T000 |
SE06 | Change the system change option | S_CTS_ADMI |
STMS | Import transports | S_CTS_ADMI (IMPA, IMPS, TADD, TADM) |
SE01, SE09, SE10 | Create and release transport requests | S_TRANSPRT |
SPAM, SAINT | Install support packages and add-ons | S_TRANSPRT, S_CTS_ADMI |
An open production client, even for an hour, allows customizing and program changes outside change management. ITGC auditors test it every time. See our ITGC guide.
Sensitive tables
Some tables need protection even for display:
| Table | Content | Why it is sensitive |
|---|---|---|
USR02 | User logon data | Password hashes, open to offline cracking (group SPWD) |
USH02, USRPWDHISTORY | User and password history | Old hashes |
RFCDES | RFC destinations | Targets and authentication settings of connections |
SSF_PSE_D | PSE files stored in the database | Keys and certificates |
T000 | Clients | Client change settings |
AGR_1251, AGR_USERS, UST04 | Role authorizations, assignments | Full map of who can do what |
LFBK, BUT0BK | Vendor and business partner bank details | Payment fraud |
REGUH, REGUP | Payment proposal data | Payment fraud |
PA0002, PA0008 | Personal data, basic pay | Personal data (nFADP, GDPR) |
TBTCO, TBTCP | Scheduled jobs | Jobs running under privileged accounts |
Protection works through table authorization groups (TDDAT, maintained in SE54) checked by S_TABU_DIS, or table by table with S_TABU_NAM. Many customer tables have no group (&NC&): anyone with &NC& in S_TABU_DIS can read all of them.
Standard profiles and accounts
Before transactions come the profiles that grant everything at once: SAP_ALL, SAP_NEW and SAP_APP, which no dialog user in production should have, and the administration profiles S_A.SYSTEM, S_A.ADMIN, S_A.DEVELOP, reserved for a named Basis team.
The accounts SAP delivers are the other classic way in:
| Account | Expected state in production |
|---|---|
SAP* | Exists in all clients, locked, password changed, no profile, group SUPER; login/no_automatic_user_sapstar = 1 |
DDIC | Password changed, type System or locked outside maintenance, dialog logons monitored |
SAPCPIC | Deleted or locked (obsolete) |
EARLYWATCH | Client 066 deleted, otherwise account locked |
TMSADM | Password changed, type Communication, profile S_A.TMSADM only |
SAPSUPPORT | Non-existent or locked outside an open incident, limited validity |
WF-BATCH | Type System, no SAP_ALL |
| Interface and project accounts | Rights limited to the RFC modules they need; conversion accounts locked or deleted after hypercare |
Report RSUSR003 checks the standard accounts' passwords across all clients.
Critical business transactions
Business-side critical access is mostly a segregation of duties question, but some of it is sensitive on its own:
- Vendor master data and bank details:
BP(S/4HANA),FK02,XK02(ECC) - Payments:
F110(payment run),FBZP(configuration) - Posting periods:
OB52 - Chart of accounts:
FS00 - HR and payroll data:
PA30,PA40(P_ORGIN,P_ORGINCON,P_PERNR), payroll runs (PC00_M02_CALCfor Swiss payroll), payroll clusters (P_PCLX), andP_ABAPwithCOARS = 2, which bypasses HR checks in reports
These are controlled through an SoD ruleset. The risky combinations (create a vendor and pay it, create a purchase order and receive it) are covered in our SAP security guide.
How to check and restrict
- Find out who has what:
SUIM(reportRSUSR002) by object and value, andRSUSR008_009_NEWfor the critical authorizations defined in the system. Analyze at authorization-value level, not transaction level, exclude locked or expired accounts, and separate user types (USR02-USTYP: A dialog, B system, C communication, S service, L reference). - Check the standard users: report
RSUSR003forSAP*,DDICand the other delivered accounts. - Restrict
S_TABU_DISin production to display (ACTVT 03), by group, and addS_TABU_NAMfor specific tables. - Lock unneeded transactions in production (
SM01_DEV), for exampleSE38in change mode orSE14. - Keep the rest for emergency access: debug with replace,
SCC4,SE06,SM59, with logging and review. - Cover Fiori:
S_SERVICEandS_STARTare in scope, not onlyS_TCODE. - Automate: an analysis tool such as MTC Skopos applies a critical access ruleset to all users and roles, at authorization-object level, and tells you what to remove.
Related reading
- SAP security: a practical guide to authorizations, SoD and hardening
- SAP firefighter role design
- SAP cybersecurity: hardening the platform
- SAP GRC Access Control: what it is and when you need it
Frequently Asked Questions
Which SAP transactions are the most critical?
The ones that give control over the system rather than over one process: user and role administration (SU01, SU10, PFCG), table changes (SE16N, SM30), program execution (SA38, SE38, SE37), debugging with replace, RFC destinations (SM59), profile parameters (RZ10, RZ11), operating system commands (SM49, SM69), jobs run under another user (SM36) and client and transport settings (SCC4, SE06, STMS).
Is blocking a transaction code enough to block access?
No. The transaction code (object S_TCODE) is only the entry door. What a user can really do depends on the authorization objects the program checks, for example S_TABU_DIS and S_TABU_NAM for tables or S_DEVELOP for debugging. The same function is often reachable through several transactions, through a report started from SA38, through a function module called over RFC, or through a Fiori app. You need to control the objects, not only the transactions.
Which SAP tables should be protected first?
USR02 and USH02 (logon data and password hashes), RFCDES (RFC destinations), T000 (client settings), the role and assignment tables (AGR_1251, AGR_USERS, UST04), SSF_PSE_D (PSE files), bank details (LFBK, BUT0BK), payment run data (REGUH), HR infotypes (PA0002, PA0008) and the scheduled jobs table (TBTCO).
How do I find out who has critical access in SAP?
Use the User Information System (SUIM, report RSUSR002) for a one-off search and report RSUSR008_009_NEW for the critical authorizations and combinations defined in the system. For a full analysis across all users and roles, with a maintained ruleset and remediation recommendations, use an access risk analysis tool such as SAP GRC Access Control or MTC Skopos.
What does debug with replace mean in SAP?
It is S_DEVELOP with OBJTYPE = DEBUG and ACTVT = 02. It lets the user change variable values while a program runs, so they can bypass any authorization check or change data without a business trail. In production it should only be granted through emergency access (firefighter), with logging and review.