SA38: ABAP Reporting
SA38 runs ABAP reports and programs by name, with or without a variant, in the foreground or as a background job. It cannot change code, but it can start any executable program the user is authorized for, so the real control sits in S_PROGRAM authorization groups and in the checks inside each program.
Authorization objects checked by SA38
- S_TCODE
- Checked when the transaction starts: the user must hold the transaction code.
- S_PROGRAM
- Starting programs, by program authorization group (P_GROUP) and action (P_ACTION). SA38 checks P_ACTION SUBMIT when it starts.
Checks vary by release and by the functions used. Confirm them in your system with SU24 and an authorization trace (STAUTHTRACE or ST01).
Why SA38 is sensitive
Many reports check nothing beyond S_PROGRAM, and a program with no authorization group is not protected by S_PROGRAM at all. A report that updates tables or posts documents can then be run outside the transaction that would normally control it.
The durable fix is to assign authorization groups to sensitive programs and give custom reports their own report transactions with a proper start check, rather than handing out SA38 broadly.
Broad SA38 access in production is often treated as a critical action.
SA38 FAQ
What is transaction SA38 in SAP?
SA38 runs ABAP reports and programs by name, with or without a variant, in the foreground or as a background job. It cannot change code, but it can start any executable program the user is authorized for, so the real control sits in S_PROGRAM authorization groups and in the checks inside each program.
Which authorization objects does SA38 check?
Starting SA38 requires S_TCODE with value SA38. Inside the transaction, the key objects are S_PROGRAM. 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 SA38 a sensitive transaction?
Rinexis rates SA38 as high risk in a production system. Many reports check nothing beyond S_PROGRAM, and a program with no authorization group is not protected by S_PROGRAM at all. A report that updates tables or posts documents can then be run outside the transaction that would normally control it.