Skip to content
SAP SoD risk · Procure to Pay

Create vendor and create purchase order

Create vendor and create purchase order is an SAP segregation-of-duties conflict where one user can maintain vendor master data (XK01, XK02, BP) and raise purchase orders (ME21N, ME22N). A buyer can set up a supplier they control, or one they have an undisclosed relationship with, and direct orders to it.

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

The conflict

The buyer decides both which suppliers exist and which supplier gets the order, so supplier onboarding checks can be skipped.

Why it matters

Supplier onboarding is where due diligence happens (tax registration, sanctions screening, conflicts of interest). If a buyer can create suppliers directly, orders can be placed with a company that never went through it.

Example fraud scenario

A buyer creates a new supplier for a company owned by a relative and places orders with it at above-market prices, bypassing the vendor onboarding process.

An illustrative pattern, not a reported case.

Transactions and authorization objects

Function A

Maintain vendor master data

Create or change supplier records, including name, address and bank details.

TransactionsXK01XK02FK01FK02MK01MK02BP
Authorization objects
  • F_LFA1_APP · Vendor master by application, activity 01 (create) or 02 (change)
  • F_LFA1_BUK · Vendor company-code data
  • B_BUPA_RLT · Business partner roles (S/4HANA BP transaction)
Function B

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

In S/4HANA, supplier creation runs through the Business Partner (BP) transaction; include BP and the supplier BP roles when testing this conflict.

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

Mitigating controls

  • Central vendor master-data team with no purchasing access.
  • Vendor onboarding workflow with documented due diligence before a vendor can be used.
  • Periodic independent review of new vendors and the first purchase orders placed with them, 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 XK01 and ME21N; 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 (including BP on S/4HANA), 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 vendor and create purchase order SoD conflict in SAP?
Create vendor and create purchase order is an SAP segregation-of-duties conflict where one user can maintain vendor master data (XK01, XK02, BP) and raise purchase orders (ME21N, ME22N). A buyer can set up a supplier they control, or one they have an undisclosed relationship with, and direct orders to it.
Which SAP transactions and authorization objects create this conflict?
On one side, maintain vendor master data: XK01, XK02, FK01, FK02, MK01, MK02 and BP. On the other, create and change purchase orders: ME21N and ME22N. At authorization level the key objects are F_LFA1_APP, F_LFA1_BUK, B_BUPA_RLT, M_BEST_BSA, M_BEST_EKO and M_BEST_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: central vendor master-data team with no purchasing access; vendor onboarding workflow with documented due diligence before a vendor can be used; periodic independent review of new vendors and the first purchase orders placed with them, 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 XK01 and ME21N; 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 (including BP on S/4HANA), 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