SM31: Call View Maintenance Like SM30
SM31 is an older entry point to generic table maintenance that, in current releases, leads to the same view maintenance as SM30. It is rarely needed today, but it reaches the same maintenance dialogs, so it should be treated exactly like SM30 in roles and SOD rulesets rather than overlooked as a legacy code.
Authorization objects checked by SM31
- S_TCODE
- Checked when the transaction starts: the user must hold the transaction code.
- S_TABU_DIS
- Table maintenance by table authorization group and activity. SM31 checks display access when it starts.
- S_TABU_NAM
- Table maintenance by individual table or view name.
- S_TABU_CLI
- Maintaining client-independent (cross-client) tables.
Checks vary by release and by the functions used. Confirm them in your system with SU24 and an authorization trace (STAUTHTRACE or ST01).
Why SM31 is sensitive
Rulesets that list SM30 but not SM31 leave an alternative path open. The same table authorization objects apply, so the effective control is S_TABU_DIS, S_TABU_NAM and S_TABU_CLI rather than which transaction a user starts.
SM31 FAQ
What is transaction SM31 in SAP?
SM31 is an older entry point to generic table maintenance that, in current releases, leads to the same view maintenance as SM30. It is rarely needed today, but it reaches the same maintenance dialogs, so it should be treated exactly like SM30 in roles and SOD rulesets rather than overlooked as a legacy code.
Which authorization objects does SM31 check?
Starting SM31 requires S_TCODE with value SM31. Inside the transaction, the key objects are S_TABU_DIS, S_TABU_NAM, S_TABU_CLI. The exact checks depend on the functions used and the release, so confirm them with an authorization trace (STAUTHTRACE or ST01) in your own system.
Is SM31 a sensitive transaction?
Rinexis rates SM31 as high risk in a production system. Rulesets that list SM30 but not SM31 leave an alternative path open. The same table authorization objects apply, so the effective control is S_TABU_DIS, S_TABU_NAM and S_TABU_CLI rather than which transaction a user starts.