ERPClimb logoERPClimb
SAP authorization objectObjectS_PROGRAMModuleSECURITY_GRC

New to SAP Security & GRC? Start with the module overview

S_PROGRAM — S_PROGRAM Authorization Object for Report Execution

Quick answer

S_PROGRAM restricts who can start, edit, or schedule an ABAP report, but only if that report has been assigned a program authorization group in its attributes. Reports with no group assigned bypass the check entirely, which is the main reason two seemingly identical programs behave differently under the same role.

This page covers how S_PROGRAM gates execution of ABAP reports through the program authorization group, which fields it checks, and where in the transaction flow SAP evaluates it. The bulk of the page is diagnostic: how to confirm whether a program even has a group assigned before blaming the role.

Reviewed by an ERPClimb SAP consultant on 16 Sept 2026· 834 words

What it protects

S_PROGRAM guards the ability to run, edit, or schedule an ABAP program as a background job step, but the check only fires when the program carries an authorization group in its program attributes (maintained via SE38 or SE80, stored against the program's TRDIR entry).

The vast majority of standard and custom reports have no group assigned, so for them S_PROGRAM is never evaluated and the user's access depends entirely on the transaction-level check (S_TCODE) or other objects in the call chain.

This structural fact is the source of most confusion: a consultant sees S_PROGRAM in a role and assumes it is protecting a program, then discovers the program runs fine for everyone because nobody ever set a group on it. The object only matters once someone deliberately groups sensitive reports.

Fields checked

  • P_GROUP - the program authorization group assigned to the report in its attributes; blank or a specific group value, checked against what the role grants.
  • P_ACTION - the action being performed against the program: SUBMIT for direct execution, EDIT for changing the program in the ABAP editor, and BTCSUBMIT for scheduling the program as a step in a background job.

Where it is checked

  • SE38 and SA38 - direct report execution and editing; the check fires on the SUBMIT or EDIT action depending on what the user is attempting.
  • SE80 - editing a program inside the Object Navigator triggers the EDIT action check.
  • SM36/SM37 background job step definition - defining a report as a job step checks BTCSUBMIT at the point the step is added, separate from the SUBMIT check used for online execution.
  • Any custom or standard transaction that internally issues a SUBMIT statement against a grouped report - the check happens inside the ABAP runtime at the SUBMIT call, not at transaction start, so it can fail deep inside a program that otherwise ran without error.
  • Variant transactions built with SE93 that point to a specific report inherit the same check on the underlying program.

How to trace a failed check

Start by checking whether the program actually has an authorization group at all - open it in SE38, go to attributes, and look at the authorization group field. If it is blank, S_PROGRAM is not the blocker and time is being wasted looking at it; the failure lies elsewhere (S_TCODE, S_DEVELOP, or an application-specific object).

If a group is set, run SU53 immediately after the failed attempt to see whether S_PROGRAM shows as the failed object, and note the exact P_GROUP and P_ACTION values displayed.

If SU53 is inconclusive or the session has moved on, run the authorization trace (ST01, or STUSERTRACE/STAUTHTRACE on newer releases) for the user, reproduce the failure, and filter the trace output for S_PROGRAM entries.

Hand the security team the program name, the program authorization group from SE38, the specific action attempted (SUBMIT, EDIT, or BTCSUBMIT), and the user ID, rather than just the transaction code that was being run when the error appeared.

Whose problem this is

Security owns the role change, but functional or the consultant reporting the issue must supply the program name, the authorization group visible on that program's attributes, the exact action being blocked, and confirmation of whether the same user can run other reports in the same group. Without the group value, security cannot tell which role line to touch.

Common pitfalls

  • Assuming a role with S_PROGRAM maintained protects a specific program, when in fact the program has no group assigned and the check never triggers - the real access control is coming from S_TCODE or another object entirely.
  • Fixing an EDIT failure by granting SUBMIT, or vice versa - the two actions are checked separately and a user with execute rights on a grouped program still cannot open it in the editor without EDIT.
  • Overlooking BTCSUBMIT when a report runs fine online but fails only when scheduled as a background job step - this is a distinct action from SUBMIT and is easy to miss when building the role from online testing alone.
  • Someone reassigning a program's authorization group during a transport or refactor without checking which roles reference the old group, silently locking out users who previously had access.
  • Reading SU53 in isolation and concluding S_PROGRAM is the only problem, when the trace shows it fired only because an earlier check (S_TCODE for the calling transaction) already passed and the real gap is a second, later check further down the call stack that SU53 does not show because it only displays the most recent failure.

Related SAP objects

Reviewed pages this object connects to in the ERPClimb knowledge graph.

Source: ERPClimb — https://erpclimb.com/sap-auth-objects/s-programERPClimb is an independent platform and is not affiliated with SAP SE. Reference pages are written and reviewed by SAP consultants for learning and troubleshooting.