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, SE16H for tables)
  • through a report started from SA38 or in a background job
  • through a function module tested in SE37 or called over RFC
  • through a Fiori app, controlled by S_SERVICE and S_START rather than S_TCODE

The rule: control the authorization objects, and use transactions as an indicator.

User and role administration

TransactionWhat it allowsObjects that matter
SU01Create, change, lock, delete users, reset passwordsS_USER_GRP (ACTVT 01, 02, 05, 06)
SU10Mass user changesS_USER_GRP
PFCGCreate and change roles, assign themS_USER_AGR, S_USER_TCD, S_USER_VAL, S_USER_PRO
SU02, SU03Manual maintenance of profiles and authorizationsS_USER_PRO, S_USER_AUT
SU24Authorization proposals per transactionS_DEVELOP
SU25Updating SU24 values after an upgradeS_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

TransactionWhat it allowsObjects that matter
SE16N, SE16, SE17, SE16HDisplay, sometimes change, table contentsS_TABU_DIS (group), S_TABU_NAM (table), ACTVT 02 or 03
SM30, SM31, SM34Maintain customizing tables and viewsS_TABU_DIS, S_TABU_NAM, S_TABU_CLI (cross-client tables)
SE11Data dictionaryS_DEVELOP
SE14Database utility (convert, drop tables)S_DEVELOP
SQVI, SQ01, SQ02Create and run queries on any table, often forgotten when SE16N is restrictedS_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 / rightWhat it allowsObjects that matter
SA38, SE38Run any report (and change it with SE38)S_PROGRAM (program authorization group), S_DEVELOP
SE37Test function modules, including ones that change dataS_DEVELOP (OBJTYPE FUGR, ACTVT 16)
SE80, SE24DevelopmentS_DEVELOP
Debug with replaceChange variables at runtime, bypass any checkS_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

TransactionWhat it allowsObjects that matter
SM59Create and change RFC destinations, including with credentialsS_RFC_ADM
RZ10, RZ11Change profile parameters (passwords, logging, security)S_RZL_ADM
SM49, SM69Run or define operating system commandsS_LOG_COM, S_RZL_ADM
SM36, SM37Schedule jobs, including under another userS_BTCH_ADM, S_BTCH_NAM, S_BTCH_JOB
SM19 / RSAU_CONFIGConfigure the Security Audit LogS_ADMI_FCD = AUDA
SM20 / RSAU_READ_LOGRead the Security Audit LogS_ADMI_FCD = AUDD
RSAU_ADMINReorganize, and so delete, audit logsS_SAL
SM01, SM01_DEVLock or unlock transactionsS_ADMI_FCD = TLCK
SM12Delete lock entriesS_ENQUE
CG3Y, CG3Z, AL11Download or upload files on the application serverS_DATASET, S_PATH
(none)Call function modules remotelyS_RFC (RFC_NAME = *), S_RFCACL for trusted RFC
STRUSTManage certificates and PSEsS_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

TransactionWhat it allowsObjects that matter
SCC4Open a production client for changesS_TABU_DIS (group SS, table T000), S_ADMI_FCD = T000
SE06Change the system change optionS_CTS_ADMI
STMSImport transportsS_CTS_ADMI (IMPA, IMPS, TADD, TADM)
SE01, SE09, SE10Create and release transport requestsS_TRANSPRT
SPAM, SAINTInstall support packages and add-onsS_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:

TableContentWhy it is sensitive
USR02User logon dataPassword hashes, open to offline cracking (group SPWD)
USH02, USRPWDHISTORYUser and password historyOld hashes
RFCDESRFC destinationsTargets and authentication settings of connections
SSF_PSE_DPSE files stored in the databaseKeys and certificates
T000ClientsClient change settings
AGR_1251, AGR_USERS, UST04Role authorizations, assignmentsFull map of who can do what
LFBK, BUT0BKVendor and business partner bank detailsPayment fraud
REGUH, REGUPPayment proposal dataPayment fraud
PA0002, PA0008Personal data, basic payPersonal data (nFADP, GDPR)
TBTCO, TBTCPScheduled jobsJobs 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:

AccountExpected state in production
SAP*Exists in all clients, locked, password changed, no profile, group SUPER; login/no_automatic_user_sapstar = 1
DDICPassword changed, type System or locked outside maintenance, dialog logons monitored
SAPCPICDeleted or locked (obsolete)
EARLYWATCHClient 066 deleted, otherwise account locked
TMSADMPassword changed, type Communication, profile S_A.TMSADM only
SAPSUPPORTNon-existent or locked outside an open incident, limited validity
WF-BATCHType System, no SAP_ALL
Interface and project accountsRights 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_CALC for Swiss payroll), payroll clusters (P_PCLX), and P_ABAP with COARS = 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

  1. Find out who has what: SUIM (report RSUSR002) by object and value, and RSUSR008_009_NEW for 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).
  2. Check the standard users: report RSUSR003 for SAP*, DDIC and the other delivered accounts.
  3. Restrict S_TABU_DIS in production to display (ACTVT 03), by group, and add S_TABU_NAM for specific tables.
  4. Lock unneeded transactions in production (SM01_DEV), for example SE38 in change mode or SE14.
  5. Keep the rest for emergency access: debug with replace, SCC4, SE06, SM59, with logging and review.
  6. Cover Fiori: S_SERVICE and S_START are in scope, not only S_TCODE.
  7. 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.

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.