Skip to content
Learn · SAP access risk

SAP critical transactions and sensitive tcodes

Which SAP transactions and authorizations count as critical access, why each is risky, and how to restrict and monitor them.

Last reviewed · Rinexis SAP security team

Definition

SAP critical transactions are transaction codes and authorizations that are risky on their own, without any conflicting second function: changing table data directly, maintaining users and roles, executing arbitrary programs, or changing system and client settings. In an SoD ruleset they are modelled as critical action and critical permission risks and restricted to a few administrators.

Critical access vs SoD

An SoD conflict needs two functions held together. Critical access needs only one. A user who can edit any table in production, or assign themselves any role, can bypass every other control in the system, so the question is not which combination they hold but why they hold it at all.

In SAP GRC Access Control and similar tools these live in the same ruleset as SoD risks, as critical action risks (a transaction or function) and critical permission risks (an authorization object value). See how an SoD ruleset is structured.

Critical transactions list

Commonly restricted transactions in production. The authorization objects shown are the main checks, not an exhaustive list.
TcodeWhat it doesKey authorization objectsWhy it is critical
SE16N (edit mode)Display and, if permitted, change table contentsS_TABU_DIS, S_TABU_NAMDirect table changes bypass application checks and change documents
SM30 / SM31Maintain tables through maintenance viewsS_TABU_DIS, S_TABU_NAMChanges configuration and master data directly in production
SE38 / SA38ABAP editor / execute any reportS_DEVELOP, S_PROGRAMRuns any program, including ones without proper checks
SE37Function Builder, including test executionS_DEVELOPTest-runs function modules that can update data with no user-level checks
SU01 / SU10Maintain users / mass user maintenanceS_USER_GRPCreate users, reset passwords, assign roles and profiles
PFCGMaintain rolesS_USER_AGR, S_USER_AUTBuild a role with any access
SM59Maintain RFC destinationsS_RFC_ADMStored credentials and trusted connections to other systems
SCC4Client administrationTable T000 via S_TABU_DISOpens a production client for changes
SCC5Delete a clientS_CLNT_IMPDestroys a client's data
STMSTransport Management SystemS_CTS_ADMIImports changes into production
RZ10 / RZ11Maintain profile parametersS_RZL_ADMWeakens password, logging and security parameters
SM49 / SM69Execute / maintain external OS commandsS_LOG_COMRuns operating-system commands on the application server
SM37 (others' jobs)Manage background jobsS_BTCH_ADM, S_BTCH_JOBChanges or releases jobs that run under another user

Holding the transaction is only half the story. A user with SE16N but no table authorizations can see little; a user with broad S_TABU_DIS can reach the same data through other routes. Critical access reviews must check both the tcode in S_TCODE and the objects behind it.

Older releases let SE16N users switch to edit mode with the &SAP_EDIT command. SAP has since restricted this, but check how edit mode is controlled on your release before treating SE16N as display-only.

Critical authorization objects

Some of the most dangerous access is not tied to one transaction. These values are usually modelled as critical permissions.

ObjectCritical valueRisk
S_DEVELOPOBJTYPE = DEBUG with ACTVT = 02Debug and replace: change variable values at runtime, skipping authority checks
S_TABU_DISACTVT 02 with DICBERCLS = * or sensitive groupsChange access to whole groups of tables
S_TABU_NAMACTVT 02 with TABLE = * or sensitive tablesChange access to named tables, regardless of group
S_TCODETCD = *Start any transaction
S_PROGRAMP_GROUP = * with P_ACTION = SUBMITRun any report that is protected only by a program group
S_RFCRFC_NAME = *Call any remote-enabled function module
S_USER_GRPACTVT 01/02/05 for all user groupsCreate, change and lock or unlock any user

Wildcards in these fields are the usual finding. They typically enter roles through copied templates, manual authorizations added during go-live, or SU24 proposals that were never tightened.

SAP_ALL and SAP_NEW

  • SAP_ALL is a generated profile containing every authorization in the system. It should not be assigned to any dialog user in production. Where it exists at all, it belongs on locked emergency users under firefighter controls.
  • SAP_NEW grants authorizations for checks that were introduced in later releases, to keep users working after an upgrade. It is meant to be temporary: adjust roles through SU25, then remove it. Long-term SAP_NEW assignments are a standard audit finding.
  • Check profile assignments, not only roles. Profiles assigned directly in SU01 do not appear in role-based reviews; report on them in SUIM or from table UST04.

Restricting and monitoring critical access

  1. Keep critical access out of business roles. Basis and security administration belong in separate, small technical roles with named owners.
  2. Use emergency access for the rest. Where developers or support staff occasionally need production change access, grant it through firefighter IDs with logged sessions and reviewed logs.
  3. Lock the system and client. Keep production set to not modifiable in SE06 and SCC4, and log every time it is opened.
  4. Turn on logging. Configure the Security Audit Log (SM19/SM20, or RSAU_CONFIG/RSAU_READ_LOG on newer releases) and table change logging for critical tables, reviewed with SCU3.
  5. Report regularly. Run critical access reports with SUIM or your ruleset tool at least quarterly, and include results in user access reviews.

Frequently asked questions

What are the most critical transactions in SAP?

Lists vary, but most include direct table maintenance (SE16N edit, SM30), program execution (SE38, SA38, SE37), user and role administration (SU01, PFCG), RFC destinations (SM59), client and transport administration (SCC4, SCC5, STMS), profile parameters (RZ10) and operating-system commands (SM49, SM69).

Why is debug with replace critical in SAP?

Authorization object S_DEVELOP with object type DEBUG and activity 02 lets a user change variable values while a program runs in the debugger. That can skip authority checks and alter postings, so it should not be granted in production outside controlled emergency access.

Who should have SAP_ALL in production?

No regular dialog user. If SAP_ALL exists in production at all, it should sit on a locked emergency or firefighter user that is unlocked only through an approved process, with every session logged and reviewed afterwards.

What is the difference between S_TABU_DIS and S_TABU_NAM?

S_TABU_DIS controls table access by authorization group, so one value can open many tables at once. S_TABU_NAM controls access by individual table name. A user passes if either check succeeds, so both must be restricted for critical tables.

Is a critical transaction the same as an SoD conflict?

No. An SoD conflict needs two incompatible functions held by the same user. A critical transaction is risky on its own. Both are usually defined in the same ruleset and reported together, but they are remediated differently.

How Rinexis handles this

Sodly matches users' and roles' transactions and authorizations against your ruleset, rating each conflict from Critical to Low and showing real transaction-usage counts, so you can separate access that is held but unused from access that is actually exercised. Tcodex flags custom wrapper transactions that start critical standard tcodes and would be missed by transaction-level rules.

Our consultants restrict critical access as part of authorization design and user access review engagements, and test the related controls in ITGC audits.

See your own SAP access risk, not a textbook example

Talk to an SAP security specialist about your roles, ruleset and audit timeline, or explore the platform modules that analyse and fix access risk.