Scope of the Blog:

The purpose of the blog is to provide the overview of three way match Functionality & how SAP configuration can be utilized to achieve three way match functionality. SAP Three way match is one of the most common Purchase to Pay Business Process for Direct Materials (Stock Items) which exists across all industries.

SAP Three-way match overview:

  • The Quantity & Price is matched between PO, GR & IR. (Three Levels)
  • SAP Three way match is based on PO Line item (If a PO has multiple line items, Three way match is achieved in each line items)
  • Buyer of the Purchase order ensures three way match in SAP & Buyer resolves the discrepancy by correcting PO,GR or IR.
  • SAP Provides configuration & Reports (MRBR Report) to achieve three way match Functionality during Business transactions.

Configuration for Three-way Match

The Configuration for Three way match is done in the Following path is done in the following path.

SPRO-> Materials Management-> Logistics Invoice Verification-> Invoice Block-> Set Tolerance Limits

Configuration for Quantity Variance (Q):

Tolerance Key DW: 

Tolerance Key DW blocks the Invoice when there is no corresponding GR for a line item of a PO.

It prevents the invoice to be paid immediately to vendor.


PO Qty -100

Vendor Provides Invoice first for 100 Qty . 

GR is Posted after few days of invoice Posting


As soon as the invoice is posted in the system the invoice gets blocked due to DW tolerance key & doesn’t allow the system to pay the invoice immediately. The Blocked invoice appears in MRBR report & Buyer of the Purchase order takes the suitable Decision to ensure three way match.


Tolerance Key DQ  : 

Tolerance Key DQ Blocks invoice when there is Quantity discrepancy


DQ tolerance Config-5%

PO Qty-100

GR Qty-100

Invoice Qty-150


Since the invoice quantity is higher than the PO quantity the invoice gets blocked due to DQ tolerance Key. The Blocked invoice appears in MRBR report & Buyer corrects the discrepancy by taking suitable organisational decisions.

DQ .jpg

          Configuration for Price Variance (P)

Tolerance Key PP: 

Tolerance Key PP   compares the  price between purchase order & invoice with the Tolerance limit specified in the configuration.


PP tolerance in Config-200 $

PO Price -1000$ Qty-1


Invoice Price- 1400 $


Invoice is blocked since the Invoice price is higher than the PO price (More than Tolerance Specified.) The blocked invoice appears in MRBR report & Buyer corrects the discrepancy by taking suitable decisions.

Price Variance .jpg

Configuration for Order Price Quantity (OPQ)

SAP provides two Tolerance Keys Tolerance Key BR (IR before GR) & Tolerance Key BW (GR before IR)   to address the order price quantity scenarios.

Tolerance Key BR (IR before GR)

Invoice gets blocked if the Order Price Quantity variation is more than the value specified in configuration.

The system compares the ratio between quantities invoiced in order price quantity units: quantity invoiced in order units Vs quantity ordered in order price quantity units: quantity ordered in order units

BR .jpg

MRBR  (Program RM08RELEASE)Report

This report is run by Buyer of the Purchase order (Purchasing group wise) to verify the list of invoices blocked due to Quantity & Price variance for a given company code. 


This program doesnot remove the block if the discrepancy is not resolved.The best practice is to run this report in background by company code so that the program removes the block automatically after the corrective action taken by Buyer.

To report this post you need to login first.


You must be Logged on to comment or reply to a post.

  1. anitha bochala

    Very good Post Madhavan.

    A very quick question, Is there a reference document which relates the Invoice Vs Confirmation? In a scenario where more than one confirmation and more than one Invoice are received per line item, Is there a way to relate the Invoice for confirmation or set of confirmations.


  2. Sameer Nirgude

    Nice compilation.

    Suggest you to review for addition of Quality block too.

    Since MRBR can be used for releasing the blocked invoices (manually), the access is normally not provided to Buyers. They instead can review the MRBR reports for decision making.

  3. Sandeep jain

    Nice post which has cleared many doubts. It would be better to understand BR and BW tolerance keys, if it would have been provided with example for these keys.

  4. Kingsuk Mukherjee

    Hello Madhavan,

    If we like to enforce 3-way match for the direct purchases but not for indirect purchases how can we do it ? We can differentiate direct from indirect either based on P-org or PO doc type.

  5. Dharmesh Hirapara

    One Question on Qty variance block…lets say i have short receipt and invoice is came with full Qty and that way invoice will be blocked….but how it is handled as no shortage receipt is expected…how do i pay to vendor only for received quantities not the invoiced qty ?

    has anyone idea on this ?

  6. Тельман Ажгалиев

    Very nice explanation.

    But will this settings work in case if supplier supplies more than requested quantity of materials and extra materials are being received to stock for free?

    It is kind of contradiction, inst it?


Leave a Reply