P2P-02
Procure to Pay
Purchase Order
Preventative
Automated
July 21, 2026
Control Description
SAP automatically enforces matching rules based on how an item is purchased (such as standard warehouse inventory, internal transfers, or drop shipments) governed by the item category configuration. For standard inventory purchases into the warehouse, the system requires a 3-way match between the purchase order, goods receipt, and vendor invoice before payment. For other purchase types, the system applies the appropriate alternative match, such as verifying only the purchase order and goods receipt for internal transfers
Risk
Purchases could be processed using incorrect matching rules, such as paying for inventory without verifying a goods receipt, leading to unverified disbursements or incorrect payments
Implementation Details
Configuration Menu Path:
SPRO > Materials Management > Purchasing > Purchase Order > Define External Representation of Item Categories
1. Standard Inventory Purchasing (3-Way Match)
• Configuration Setup: For standard warehouse inventory items (using a blank/standard item category), the system configuration defaults the Goods Receipt (GR) indicator and Invoice Receipt (IR) indicator as active/required
• System Execution: When a user creates a Purchase Order (ME21N), the standard item category enforces that a 3-way match (Purchase Order -> Goods Receipt-> Vendor Invoice) must successfully clear before the system permits payment release during invoice verification (MIRO).
2. Alternative Purchasing Processes (e.g., Internal Transfers / Special Stock)
• Configuration Setup: For alternative procurement flows (such as Stock Transport Orders for internal transfers or special item categories like subcontracting/consignment), the item category configuration modifies the document control parameters (e.g., adjusting whether a Goods Receipt or Invoice Receipt is mandatory, optional, or non-valuated).
• System Execution: The system bypasses unnecessary validation steps and applies the corresponding alternative match logic, such as restricting verification strictly to the purchase order and goods receipt (2-way match), effectively preventing improper payment blocks or mismatched invoice expectations for non-standard movements.
Test Procedures
Test of Design
Population & Item Category Identification
• Execute a data extraction via transaction SQVI (QuickViewer) joining SAP standard tables EKKO (Purchasing Document Header) and EKPO (Purchasing Document Item) for the active test period
• The query extracted key attributes including Company Code, Purchasing Document, Item, Document Type (BSART), Item Category (PSTYP), Material, Plant, PO Quantity, Net Price, and critical control flags such as the Invoice Receipt Indicator (EREKZ) and Goods Receipt Indicator.
• confirmed the complete universe of item categories actively utilized by the company during the period
Evaluate Configuration Settings
• Inspect the system configuration via menu path SPRO → Materials Management → Purchasing → Define External Representation of Item Categories to evaluate whether the mapping correctly enforces the expected matching logic.
Testers should verify that:
For standard item category , the GR and IR indicators default as checked/firm and the GR Non-Valuated flag is unchecked, enforcing a 3-way match.
For alternative item categories (e.g., subcontracting, stock transfers, or third-party drop shipments), the indicator defaults align with the required matching logic (such as enforcing 2-way matches or suppressing unnecessary receipts).
Test of Operating Effectiveness:
• Select a sample of purchase orders from the extracted population and inspect them to verify that the automated matching rules executed effectively throughout the period. Testers should perform the following steps for each sampled item:
• Inspect Purchase Order Attributes (ME23N): Display the selected purchase order, navigate to the line item (e.g., standard item category 0), and verify that the Goods Receipt (GR) and Invoice Receipt (IR) flags are set to enforce a 3-way match.