technicaladvancedChapter 12 / 21 · Lesson 3 / 3
Authorization, Basis and cross-layer traces — Root-cause case, remediation and assessment
Confirm whether role values, technical identities or runtime services cause the failure.
Approx. 30 minutes · Guided practice + knowledge check
This incident case covers “Authorization, Basis and cross-layer traces”, a advanced technical troubleshooting topic. The symptom it starts from: The same transaction works for one user but not another. It follows a 3-phase evidence flow and a six-step runbook, references 6 tools (SU53, STAUTHTRACE, PFCG, SM21, ST22, STAD) and ends with a self-check question. All system data in the examples is fictional.
01Incident briefing: identify what really failed
The same transaction works for one user but not another. You are investigating a fictional case; the task is to prove which boundary is responsible without damaging business state.
TEST_USER clicks Approve Invoice Fiori tile opens, OData action returns 403 CSRF check: passed STAUTHTRACE: object M_RECH_WRK, ACTVT=02, BUKRS=DE10 denied (fictional values) Role TEST_AP_CLERK: ACTVT=03 only
02Separate facts from competing hypotheses
- EVIDENCE 1The role grants display activity but not approve/change activity, explaining the controlled denial.
- EVIDENCE 2The UI tile loads and CSRF passed, making a client-side routing error unlikely.
- EVIDENCE 3Authorization trace identifies the exact object/field values; it is stronger evidence than guesswork.
Which explanation is best supported by this evidence?
03Investigation runbook
- 01Record affected end user, application and exact failed action; determine whether UI, OData, DCL or ABAP check rejects it.
- 02Exclude CSRF/session and service-activation failure from the HTTP evidence before tracing business authorization.
- 03Capture SU53 immediately after the controlled failure; if incomplete, run user/time-restricted STAUTHTRACE with Security approval.
- 04Compare denied object and field values to actual PFCG role design and the business owner's required activity.
- 05Request the smallest permitted role adjustment; never bypass AUTHORITY-CHECK or relax DCL globally.
- 06Retest approved activity and an intentionally unapproved activity; record access-owner approval and audit evidence.
04Proof of a durable resolution
Do not recommend SAP_ALL, emergency IDs without governance, or broad customer access. Security trace data must remain confidential.
- Positive caseAuthorized approver can perform the exact action on the permitted company-code record.
- Negative caseDisplay-only clerk still cannot approve even after the change.
- Cross-process checkRestricted company code remains inaccessible and a cross-system technical user isn't overprivileged.
05Check your diagnosis
SU53 shows no decisive object but the action fails for one user. What is the appropriate next step?
Select an answer to see the reasoning. This self-check is not a certification examination.
06Continue studying this SAP issue
The links below preserve the original published ERPClimb lessons in their own technical/functional modules. They supplement, not duplicate, this 22nd-module teaching page.
- SAP Authorization Objects Tutorial: Tracing, Diagnosing and Remediating Authorization Failures (Part 5)
- Correlating Authorization Traces Across Fiori, Gateway, and Backend Layers (Part 5)
- Reading Workload and Response Time Statistics for Diagnosis (Part 2)
Additional officially documented tools: SAP Learning — ABAP debugging. Confirm the documentation version for your system.