Skip to content

170 practical guides on SAP, cybersecurity and AI, $9.99 each. Shop all books ›

0

Blog›SAP

SAP Authorization Objects Explained With One Example

What an SAP authorization object is, how fields and values work, and how SAP checks them, explained with one real example from posting an invoice.

Every “You are not authorized” message in SAP comes down to one thing: an authorization object check that failed. If you understand authorization objects, you understand SAP security. If you do not, roles will always feel like magic.

This guide explains authorization objects in plain words and walks through a single example from start to finish.

In one sentence: An authorization object is a named group of up to 10 fields that SAP checks in code before letting a user do something; the user passes only if one of their roles holds an authorization for that object with matching values in every field.

Key takeaways

  • An authorization object is a template; an authorization is a filled-in copy with real values.
  • Objects have up to 10 fields, such as activity (ACTVT) and company code (BUKRS).
  • The program, not the role, decides which object is checked and with which values.
  • The user passes the check only if all fields match within the same authorization.
  • Objects are grouped into object classes, for example FI for finance.

Three words that get mixed up

Term What it is Example
Authorization object The template with fields, defined by SAP F_BKPF_BUK (accounting document: company code)
Authorization An instance of the object with values, stored in a role BUKRS = 1000, ACTVT = 01, 02, 03
Authorization check The moment the program asks “is this allowed?” AUTHORITY-CHECK statement in ABAP

Fields and the ACTVT field

Each object has up to 10 fields. Many objects include ACTVT, the activity field, where common values are 01 (create), 02 (change), 03 (display) and 06 (delete). Other fields carry organizational or business values, such as company code, plant, sales organization or document type. An asterisk (*) means all values, which is why it is treated carefully.

One example: posting a vendor invoice

A user in company code 1000 tries to post a vendor invoice. Behind the scenes, SAP checks several things, including:

  1. S_TCODE: may the user start this transaction or app at all?
  2. F_BKPF_BUK: may the user create (ACTVT 01) accounting documents in company code 1000?
  3. F_BKPF_KOA: may the user post to vendor accounts (account type K)?

If the user’s roles contain F_BKPF_BUK with BUKRS 1000 and ACTVT 01, that check passes. If they only have BUKRS 2000, it fails, and SU53 shows exactly that. The detail matters: all fields must match inside the same authorization, not spread across two.

Where the values come from

When you add a transaction or Fiori app to a role in PFCG, SAP proposes objects and default values from the SU24 data. You then fill in organizational levels such as company code. This is why clean SU24 maintenance saves hours of manual work.

How to find which object failed

  • SU53 shows the last failed check for a user.
  • STAUTHTRACE traces every check during a test, including the ones that passed.
  • SUIM lets you search which roles or users have a given object and value.

Common mistakes

  • Giving * in ACTVT when the user only needs display.
  • Fixing an error by adding a whole broad role instead of one value.
  • Editing proposed values without updating SU24, so the next role change undoes the fix.
  • Forgetting org levels in derived roles.

Very broad access such as SAP_ALL skips this thinking entirely, which is why auditors flag it. For more, see SAP authorization risks.

Frequently asked questions

What is an authorization object in SAP?

It is a named template of up to 10 fields that SAP programs check before allowing an action. Roles contain authorizations, which are copies of the object with specific values.

What does ACTVT mean in SAP?

ACTVT is the activity field. Common values are 01 for create, 02 for change, 03 for display and 06 for delete.

How do I find which authorization object is missing?

Run SU53 for the user right after the error, or use STAUTHTRACE to trace all checks during a test.

What is the difference between an authorization object and an authorization?

The object is the template defined by SAP. The authorization is an instance of that object with actual values, stored in a role.

The bottom line

Authorization objects are the language of SAP security. Learn to read an object, its fields and its values, and every role, every SU53 screen and every audit finding becomes much easier to understand and fix.

Go deeper with these books