Skip to content
SAP SoD risk · Hire to Retire & Payroll

Maintain HR master data and run payroll

Maintain HR master data and run payroll is an SAP segregation-of-duties conflict where one user can change employee records (PA30, PA40) and run payroll (PA03, PC00_M99_CALC or the country payroll driver). One person can create a ghost employee or raise someone's pay, then run the payroll that pays it.

Critical riskTypical rating. Your own risk appetite decides the final level.

The conflict

The same user controls who is on the payroll, what they are paid, and the payroll run that pays them.

Why it matters

Payroll is usually one of the largest cash outflows, and pay data is rarely reviewed line by line. Separation between personnel administration and payroll processing is the core payroll control.

Example fraud scenario

A payroll user hires a fictitious employee in PA40 with basic pay and bank details, runs payroll for the period, and the salary is paid to their own account until the record is terminated months later.

An illustrative pattern, not a reported case.

Transactions and authorization objects

Function A

Maintain employee master data

Hire employees and maintain HR infotypes such as organizational assignment and basic pay.

TransactionsPA30PA40
Authorization objects
  • P_ORGIN · HR master data by infotype, subtype and organizational assignment
  • P_PERNR · Personnel-number check (e.g. blocking access to one's own record)
Function B

Run payroll

Release and run payroll for a payroll area and exit the payroll control record.

TransactionsPA03PC00_M99_CALC
Authorization objects
  • P_PCR · Payroll control record by payroll area

Representative SAP GUI transactions. Check SU24 proposals in your own release and include Fiori apps and custom transactions that call these.

Mitigating controls

  • Personnel administration (HR) and payroll processing in separate teams and roles.
  • Use P_PERNR to stop users from maintaining their own personnel record.
  • Payroll variance review (new hires, pay changes, one-off payments) signed off before payroll is released for payment.

Detecting it with Rinexis

Sodly

Sodly compares your SAP access exports (users, roles, and what each role grants) with your ruleset and flags every user and role that holds both functions. At transaction level it flags anyone who can start a transaction on each side, such as PA30 and PA03; at authorization level it also checks the authorization values each function needs, which removes false positives. If you also upload transaction usage, conflicts where someone actually ran both sides are marked confirmed, so you fix those first. From each finding you can record a mitigating control, remove access or redesign the role.

Ruleset Check

A conflict is only found if your ruleset defines it completely. Ruleset Check imports your SAP GRC Access Control or Pathlock ruleset and converts it into one model, so you can confirm this risk exists with the right transactions on both sides, add it on top of a shared base library if it is missing, and approve and activate the ruleset before any analysis runs.

Custom Z-transactions that wrap these standard ones are a common gap in transaction-level rulesets; Tcodex finds them.

Frequently asked questions

What is the maintain hr master data and run payroll SoD conflict in SAP?
Maintain HR master data and run payroll is an SAP segregation-of-duties conflict where one user can change employee records (PA30, PA40) and run payroll (PA03, PC00_M99_CALC or the country payroll driver). One person can create a ghost employee or raise someone's pay, then run the payroll that pays it.
Which SAP transactions and authorization objects create this conflict?
On one side, maintain employee master data: PA30 and PA40. On the other, run payroll: PA03 and PC00_M99_CALC. At authorization level the key objects are P_ORGIN, P_PERNR and P_PCR. Your own ruleset should also include any custom transactions that call these.
How do you mitigate it if the duties cannot be separated?
Remove one side where you can. Where you cannot, document a mitigating control and keep evidence that it ran. Typical controls: personnel administration (HR) and payroll processing in separate teams and roles; use P_PERNR to stop users from maintaining their own personnel record; payroll variance review (new hires, pay changes, one-off payments) signed off before payroll is released for payment.
How does Rinexis detect this conflict?
Sodly compares your SAP access exports (users, roles, and what each role grants) with your ruleset and flags every user and role that holds both functions. At transaction level it flags anyone who can start a transaction on each side, such as PA30 and PA03; at authorization level it also checks the authorization values each function needs, which removes false positives. If you also upload transaction usage, conflicts where someone actually ran both sides are marked confirmed, so you fix those first. From each finding you can record a mitigating control, remove access or redesign the role. A conflict is only found if your ruleset defines it completely. Ruleset Check imports your SAP GRC Access Control or Pathlock ruleset and converts it into one model, so you can confirm this risk exists with the right transactions on both sides, add it on top of a shared base library if it is missing, and approve and activate the ruleset before any analysis runs.
Why is PC00_M99_CALC listed when my country uses a different payroll transaction?
Payroll drivers are country-specific (for example PC00_M10_CALC for the USA), with PC00_M99_CALC as the international entry point. A ruleset should list the drivers your company actually uses, including any custom variants.

Browse all SAP SoD risks