Skip to content
SAP SoD risk · Procure to Pay

Create purchase order and enter vendor invoice

Create purchase order and enter vendor invoice is an SAP segregation-of-duties conflict where one user can raise or change purchase orders (ME21N, ME22N) and post the supplier's invoice (MIRO). The buyer can align the order to the invoice, or the invoice to the order, so price and quantity matching stops being an independent check.

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

The conflict

Purchasing and accounts payable are combined: the person who sets the agreed price also books what the company owes.

Why it matters

Invoice verification compares the invoice with the purchase order. If one person controls both, they can change the order price after the fact to match an inflated invoice, and the system will report a clean match.

Example fraud scenario

A supplier invoices above the agreed price. Instead of blocking the invoice, the buyer increases the price on the purchase order, then posts the invoice, which now matches and is paid.

An illustrative pattern, not a reported case.

Transactions and authorization objects

Function A

Create and change purchase orders

Raise purchase orders to suppliers and change their quantities, prices or vendor.

TransactionsME21NME22N
Authorization objects
  • M_BEST_BSA · Purchase order document type
  • M_BEST_EKO · Purchasing organization
  • M_BEST_WRK · Plant
Function B

Enter vendor invoices (logistics invoice verification)

Enter or park supplier invoices matched to purchase orders and goods receipts.

TransactionsMIROMIR7
Authorization objects
  • M_RECH_WRK · Invoice verification by plant

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

Mitigating controls

  • Separate purchasing from accounts payable roles.
  • Configure price tolerances so invoices above the order price are blocked for payment.
  • Periodic independent review of purchase-order price changes made after a goods receipt or invoice, signed off by someone outside the function.

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 ME21N and MIRO; 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 create purchase order and enter vendor invoice SoD conflict in SAP?
Create purchase order and enter vendor invoice is an SAP segregation-of-duties conflict where one user can raise or change purchase orders (ME21N, ME22N) and post the supplier's invoice (MIRO). The buyer can align the order to the invoice, or the invoice to the order, so price and quantity matching stops being an independent check.
Which SAP transactions and authorization objects create this conflict?
On one side, create and change purchase orders: ME21N and ME22N. On the other, enter vendor invoices (logistics invoice verification): MIRO and MIR7. At authorization level the key objects are M_BEST_BSA, M_BEST_EKO, M_BEST_WRK and M_RECH_WRK. 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: separate purchasing from accounts payable roles; configure price tolerances so invoices above the order price are blocked for payment; periodic independent review of purchase-order price changes made after a goods receipt or invoice, signed off by someone outside the function.
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 ME21N and MIRO; 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.

Browse all SAP SoD risks