Now accepting guest editorial from SAP, Oracle, Workday and ServiceNow practitioners.Pitch a guide
The Sign-Off Table

Lesson 5 of 6

Segregation of duties as negative tests

8 min

Listen to this lesson

0:00 / 8:03

Segregation of duties (SoD) means no single person should control every step of a sensitive transaction. If one person can create a supplier and pay it, a fictitious supplier can be paid without anyone else noticing. SoD is a control auditors test every year. Role testing is where you prove it before go-live.

Classic conflicts

Function AFunction BRiskContoso negative test
Maintain supplier master (including bank details)Post supplier invoices or run paymentsPay a fictitious or altered supplierAP clerk tries to change Lakeside Components' bank details
Create purchase ordersPost goods receiptsReceive goods that were never ordered properly, or hide theftChicago buyer tries to post a goods receipt for her own PO
Create purchase ordersPost supplier invoicesOrder and pay without independent checkBuyer tries to post a supplier invoice
Maintain customer credit limitsCreate sales ordersRelease your own orders by raising the limitSales clerk tries to change Great Lakes Fleet Services' credit limit
Post journal entriesOpen and close posting periodsPost into closed periods unnoticedGL accountant tries to reopen a closed period

Common SoD conflicts and the negative tests they produce. Your organization's rule set is the authority.

Where the rule set comes from

Organizations define SoD risks in a rule set: each risk is a pair (or more) of functions, and each function is a list of actions and permissions. Organizations that run SAP Access Control use its Access Risk Analysis to check users and roles against the rule set, simulate a change before it is made, and record mitigating controls where a conflict is accepted. Others use their own rule sets and reports. Either way, the test team should get the list of risks that apply to the roles in scope.

SoD is about combinations, so it also depends on assignments, not just role design. Two roles can each be clean on their own and still create a conflict when one user holds both. That is why the analysis must run on the planned user assignments as well as on the roles, and why the negative tests should use test users with the full production combination.

AssignmentWhat the user can doSoD result
Supplier invoice processing onlyPost invoices for Lakeside ComponentsClean
Supplier maintenance onlyCreate suppliers and change bank detailsClean
Both roles on one userChange a supplier's bank details, then post and pay its invoicesConflict: pay a fictitious or altered supplier
Two clean roles can create a conflict when one user holds both, so SoD is checked on assignments, not just roles.
The Sign-Off Table · thesignofftable.com/academy/sap-tst-207

Access risk analysis tells you whether a role design contains a conflict on paper. A negative test proves that the generated roles in the system actually stop the user. The two complement each other: analysis covers every combination quickly, and tests prove the highest-risk pairs work as designed.

AspectAccess risk analysisSoD negative test
Question answeredDoes the role design contain a conflict on paper?Do the generated roles in the system actually stop the user?
CoverageEvery role and assignment, quicklyThe highest-risk pairs only
CatchesConflicting combinations in the rule setBuild errors, missed checks, apps reachable by URL
Evidence for sign-offAnalysis result for go-live assignmentsCaptured denial for each tested pair
Analysis and negative testing complement each other; sign-off needs both.
The Sign-Off Table · thesignofftable.com/academy/sap-tst-207
  1. Rule setList SoD risks that apply to roles in scope
  2. AnalyzeRun access risk analysis on roles and planned assignments
  3. Remediate or mitigateChange roles, or document an accepted risk with a mitigating control
  4. Negative testTest users try both halves of each high-risk pair
  5. EvidenceDenials captured, and mitigating controls tested where risk is accepted
From SoD rule set to tested, evidenced control.
The Sign-Off Table · thesignofftable.com/academy/sap-tst-207

Running an SoD negative test

  1. Pick a test user with the planned production roles, for example T_AP_CLERK_01.
  2. Confirm the positive half works: the clerk posts a supplier invoice for Lakeside Components.
  3. Attempt the conflicting half directly: open the business partner, switch to change mode and try to edit the bank details.
  4. Expected result: the change is refused with an authorization message, or the bank data fields are display-only.
  5. Capture the evidence: user, roles, the attempted action and the denial message or SU53 result.

What would you do?

Dan, Contoso's finance process owner, accepts that two small-site AP clerks will hold both supplier invoice posting and supplier maintenance because of staffing. Access risk analysis flags the conflict. What should the test plan include?

Key points
  • SoD prevents one person from controlling every step of a sensitive transaction.
  • Get the rule set; use access risk analysis to check designs and negative tests to prove the system.
  • An SoD negative test attempts both halves with a production-like user and captures the denial.
  • Accepted conflicts need a named, tested mitigating control.

Check your understanding · not graded

Lesson check

  1. 1. Which pair is a classic SoD conflict?

  2. 2. What does access risk analysis add to negative testing?

  3. 3. What is required when a business accepts an SoD conflict for some users?

  4. 4. In an SoD negative test, what is the expected result for the conflicting action?