SU21: Maintain Authorization Objects
SU21 maintains authorization object classes and authorization objects: their fields, permitted activities and documentation. SAP delivers the standard objects, and customers add their own for custom code. Because every authorization check in custom programs refers to an object defined here, SU21 shapes what custom security can enforce.
Authorization objects checked by SU21
- S_TCODE
- Checked when the transaction starts: the user must hold the transaction code.
- S_DEVELOP
- ABAP Workbench access by object type, package, object name and activity.
Checks vary by release and by the functions used. Confirm them in your system with SU24 and an authorization trace (STAUTHTRACE or ST01).
Why SU21 is sensitive
Changing an object's fields or activities after roles are built can make existing checks behave differently. Custom objects belong in development and reach production through transports, like the code that checks them.
SU21 FAQ
What is transaction SU21 in SAP?
SU21 maintains authorization object classes and authorization objects: their fields, permitted activities and documentation. SAP delivers the standard objects, and customers add their own for custom code. Because every authorization check in custom programs refers to an object defined here, SU21 shapes what custom security can enforce.
Which authorization objects does SU21 check?
Starting SU21 requires S_TCODE with value SU21. Inside the transaction, the key objects are S_DEVELOP. 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 SU21 a sensitive transaction?
Rinexis rates SU21 as medium risk in a production system. Changing an object's fields or activities after roles are built can make existing checks behave differently. Custom objects belong in development and reach production through transports, like the code that checks them.