Last reviewed · Rinexis SAP security team
An SAP authorization object is the unit SAP uses to check whether a user may perform an action. It groups up to 10 fields, such as activity (ACTVT) and company code (BUKRS), that ABAP code tests together with AUTHORITY-CHECK. A user passes only if one of their authorizations for that object allows every checked field value.
Object class, object, field, value
Authorization data in SAP has four layers. Reading a role or an audit finding is much easier once you can place each term.
| Layer | Example | What it is |
|---|---|---|
| Object class | FI (Financial Accounting), BC_A (Basis: Administration) | A folder that groups related objects. It has no effect on checks. |
| Authorization object | F_LFA1_BUK | A named set of up to 10 fields that are checked together |
| Authorization field | ACTVT, BUKRS | One dimension of the check, defined in SU20 and reused across objects |
| Authorization | F_LFA1_BUK: ACTVT 03, BUKRS 1000 | A set of permitted values for one object, stored in a profile |
Objects and their fields are defined in transaction SU21 (table TOBJ; object classes in TOBC). Custom objects must start with Y or Z. SU21 also links each object to its documentation, which states which fields are checked, which activities are valid and which transactions use it. Read that documentation before granting an unfamiliar object.
ACTVT: the activity field
Most objects include the field ACTVT, which says what the user may do to the data the other fields describe. Activity codes are global (table TACT), but each object only accepts the subset defined for it (table TACTZ), so 16 on one object does not mean the same thing it means on another unless the object documentation says so.
| ACTVT | Meaning | Typical audit view |
|---|---|---|
| 01 | Create or generate | Change access |
| 02 | Change | Change access |
| 03 | Display | Read-only, usually low risk |
| 05 | Lock | Change access, e.g. locking users in S_USER_GRP |
| 06 | Delete | Change access |
| 08 | Display change documents | Read-only |
| 10 | Post | Change access, e.g. posting documents |
| 16 | Execute | Depends on what is executed, e.g. RFC calls under S_RFC |
| * | All activities | Treat as full access to the object |
A display role that carries ACTVT 01 or 02 on a business object is one of the most common role-design defects. It usually arrives through an unreviewed SU24 proposal or a manually added authorization with *.
Organizational level fields
Some fields describe where in the enterprise structure the user may act: company code (BUKRS), plant (WERKS), sales organization (VKORG), purchasing organization (EKORG) and similar. PFCG treats these as organizational levels. You maintain them once per role in the org-level dialog, and PFCG writes the value into every object in the role that uses that field.
Org levels are what make derived roles work: the master role holds the functional values and each derived role sets its own org levels. A role with BUKRS * gives access to every company code, current and future, which auditors rarely accept for change activities.
Where S_TCODE fits
S_TCODE is checked by the kernel when a user starts a transaction, against field TCD. It is a gate, not the control itself: once inside, the transaction checks its business objects. A user with FK02 in S_TCODE but only ACTVT 03 in F_LFA1_BUK can start the transaction but is stopped by the F_LFA1_BUK check as soon as they try to change vendor data for that company code. In SE93 a transaction can also carry an extra object checked at start.
Custom transactions that call standard ones can change which S_TCODE value is checked, which is why wrapper transactions need their own review.
Objects that commonly matter
| Object | Key fields | Why it matters |
|---|---|---|
S_TCODE | TCD | Which transactions a user can start |
F_LFA1_BUK | ACTVT, BUKRS | Vendor master by company code; part of vendor-and-pay SoD |
F_BKPF_BUK | ACTVT, BUKRS | Accounting documents by company code |
S_USER_GRP | ACTVT, CLASS | User maintenance by user group; critical in production |
S_USER_AGR | ACTVT, ACT_GROUP | Role maintenance and assignment |
S_DEVELOP | ACTVT, OBJTYPE, DEVCLASS, OBJNAME, P_GROUP | ABAP Workbench; OBJTYPE DEBUG with ACTVT 02 allows changing values in the debugger |
S_TABU_DIS / S_TABU_NAM | DICBERCLS / TABLE, ACTVT | Generic table display and maintenance; see table access |
S_RFC | RFC_TYPE, RFC_NAME, ACTVT | Which remote-enabled functions a user can call |
S_ADMI_FCD | S_ADMI_FCD | System administration functions |
Frequently asked questions
What is ACTVT in SAP?
ACTVT is the activity field included in most SAP authorization objects. It defines what a user may do with the data the other fields describe, such as 01 create, 02 change, 03 display or 06 delete. The valid activities differ per object and are listed in the object documentation in SU21.
How many fields can an SAP authorization object have?
An authorization object can have up to 10 authorization fields. The program checking the object normally tests all of them, though ABAP code can skip a field with the DUMMY addition. A user passes only if a single authorization covers every checked field value.
Which transaction shows SAP authorization objects?
SU21 lists authorization object classes and objects, their fields and their documentation. SU20 maintains authorization fields. To see which objects a transaction checks, use SU24 for the maintained defaults or an authorization trace to see what the code checks at runtime.
What is the difference between an authorization and an authorization object?
The authorization object is the definition: a name and a set of fields. An authorization is a concrete instance of that object with permitted values, for example display access for company code 1000. Users get authorizations through profiles generated from PFCG roles.
What does sy-subrc 12 mean after an authority check?
It means the user has no authorization at all for the checked object in their user buffer. A return code of 4 means the user has authorizations for the object but none of them allow the specific values that were checked.
Sodly matches the transactions and authorization values in users' and roles' access against your ruleset, so a conflict is reported only when the underlying objects and activities support it. Conflicts are rated Critical to Low, grouped by process area, and show real transaction-usage counts.
Our authorization design service builds roles with deliberate object values and org levels, and Tcodex flags custom wrapper transactions whose S_TCODE value hides the standard transaction they run.