{"audience":"Purchasing managers, cost accounting and product costing teams, category managers.","authorization_objects":[{"note":"Purchase order display authorization by purchasing organization","object":"M_BEST_EKO"},{"note":"Purchase order display authorization by plant","object":"M_BEST_WRK"},{"note":"Purchase order display authorization by document type","object":"M_BEST_BSA"}],"components":[],"countries":[],"effort_days_max":6,"effort_days_min":4,"effort_size":"M","faq":[{"a":"By default the current price in MBEW is used. If orders from past periods must be compared with the price of that period, the price of the period is read from the material valuation history during installation.","q":"Is the valuation price the price on the order date or today's price?"},{"a":"The report works with the net price. To see which condition causes the variance, the order condition records can be read during installation and the gross price, discount and additional costs shown in separate columns.","q":"Can the variance be shown by condition (discount, freight)?"},{"a":"No. The valuation price and the info record depend on the material number, so only items with a material are compared. For text items the previous order price option can be adapted to work by material group.","q":"Are services and items without a material number included?"}],"features":[{"code":"alv","label":"ALV list (sort, filter, subtotals)","note":""},{"code":"layout","label":"User-specific layout variants","note":""},{"code":"drilldown","label":"Double-click drill-down to the document","note":"The order number opens ME23N, the material opens the MM03 accounting view and the info record price opens ME13."},{"code":"excel","label":"Export to Excel","note":""},{"code":"background","label":"Runs as a background job","note":""}],"functions":[],"gap":"ME1P shows the order price history of one info record and ME80FN lists order prices, but neither compares the order price with the material's valuation price or the info record on the same line and calculates a variance amount and percentage. For standard-price materials the price variance only reaches the price difference account after goods receipt and invoice. Purchasing joins the lists in Excel to see the variance at order time by vendor and material group.","id":"mm-purchase-price-variance","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-17","logic":"1. EKKO and EKPO are read by company code, purchasing organization, order date, vendor, material group and plant; items without a material number and deleted items (LOEKZ) are excluded.\n2. Order unit price = EKPO-NETPR ÷ EKPO-PEINH; the document currency is converted to company code currency with EKKO-WKURS and the order unit is converted to the base unit with the item's conversion factor.\n3. The comparison price is chosen by radio button: from MBEW, STPRS when price control (VPRSV) is S and VERPR when it is V, divided by MBEW-PEINH; for the info record, EINA (material + vendor) and EINE (purchasing organization + plant, standard record category) NETPR ÷ PEINH; for the previous order, the last earlier order item for the same material and vendor.\n4. Unit variance = order unit price − comparison price; variance amount = unit variance × EKPO-MENGE; variance % = unit variance ÷ comparison price × 100.\n5. Items whose absolute variance percentage is below the threshold can be hidden; the ALV gives subtotals by vendor and material group and sorts the largest variance amounts first.","module":"MM","object_type":"alv_report","output_columns":[{"calculated":false,"formula":"","label":"Purchase order","source_field":"EBELN","source_table":"EKPO"},{"calculated":false,"formula":"","label":"Item","source_field":"EBELP","source_table":"EKPO"},{"calculated":false,"formula":"","label":"Order date","source_field":"BEDAT","source_table":"EKKO"},{"calculated":false,"formula":"","label":"Vendor","source_field":"LIFNR","source_table":"EKKO"},{"calculated":false,"formula":"","label":"Vendor name","source_field":"NAME1","source_table":"LFA1"},{"calculated":false,"formula":"","label":"Material","source_field":"MATNR","source_table":"EKPO"},{"calculated":false,"formula":"","label":"Material group","source_field":"MATKL","source_table":"EKPO"},{"calculated":false,"formula":"","label":"Plant","source_field":"WERKS","source_table":"EKPO"},{"calculated":false,"formula":"","label":"Order qty","source_field":"MENGE","source_table":"EKPO"},{"calculated":true,"formula":"EKPO-NETPR ÷ EKPO-PEINH × EKKO-WKURS (company code currency)","label":"Order unit price","source_field":null,"source_table":null},{"calculated":true,"formula":"MBEW-STPRS if VPRSV = S, MBEW-VERPR if V; ÷ MBEW-PEINH","label":"Valuation price","source_field":null,"source_table":null},{"calculated":true,"formula":"EINE-NETPR ÷ EINE-PEINH","label":"Info record price","source_field":null,"source_table":null},{"calculated":true,"formula":"Order unit price − selected comparison price","label":"Unit variance","source_field":null,"source_table":null},{"calculated":true,"formula":"Unit variance × EKPO-MENGE","label":"Variance amount","source_field":null,"source_table":null},{"calculated":true,"formula":"Unit variance ÷ comparison price × 100","label":"Variance (%)","source_field":null,"source_table":null},{"calculated":true,"formula":"Local currency of the company code","label":"Currency","source_field":null,"source_table":null}],"parameters":[{"example":"1000","kind":"select_option","label":"Company code","name":"S_BUKRS","ref_field":"EKKO-BUKRS","required":true},{"example":"1000","kind":"select_option","label":"Purchasing organization","name":"S_EKORG","ref_field":"EKKO-EKORG","required":false},{"example":"01.10.2026 – 17.11.2026","kind":"select_option","label":"Order date","name":"S_BEDAT","ref_field":"EKKO-BEDAT","required":true},{"example":"100387","kind":"select_option","label":"Vendor","name":"S_LIFNR","ref_field":"EKKO-LIFNR","required":false},{"example":"01","kind":"select_option","label":"Material group","name":"S_MATKL","ref_field":"EKPO-MATKL","required":false},{"example":"1100","kind":"select_option","label":"Plant","name":"S_WERKS","ref_field":"EKPO-WERKS","required":false},{"example":"MBEW","kind":"radio","label":"Comparison base: valuation price / info record / previous order","name":"R_BASE","ref_field":"","required":false},{"example":"5","kind":"parameter","label":"Minimum variance to show (%)","name":"P_MINPCT","ref_field":"","required":false}],"part_of":[],"performance":"Select EKKO by company code and order date; read MBEW, EINA and EINE for the material list in one go. The previous order price option needs an extra EKPO read; one read sorted by material and vendor is enough for it.","process":"P2P","quote_url":"https://nekuhub.com/en/request-a-quote/?report=mm-purchase-price-variance","related":["co-cost-estimate-comparison","mm-blocked-invoices-variance","mm-contract-utilization"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Shows the order price history of one info record; gives no variance against the valuation price and no vendor totals.","tcode":"ME1P"},{"note":"Lists order prices; does not calculate a comparison price or a variance percentage.","tcode":"ME80FN"}],"summary":"A custom ALV report that compares the unit price on purchase orders with the material's standard or moving average price, the price in the purchasing info record or the price of the previous order from the same vendor. Unit variance, total variance amount and variance percentage are listed with subtotals by vendor and material group.","tables":[{"access":"read","join_on":"","role":"Order header: vendor, order date, currency and exchange rate (driving table)","table":"EKKO","variant":"both"},{"access":"read","join_on":"EKPO-EBELN = EKKO-EBELN","role":"Order item: material, material group, quantity, net price and price unit","table":"EKPO","variant":"both"},{"access":"read","join_on":"MBEW-MATNR = EKPO-MATNR AND MBEW-BWKEY = EKPO-WERKS","role":"Material valuation: standard or moving average price","table":"MBEW","variant":"both"},{"access":"read","join_on":"EINA-MATNR = EKPO-MATNR AND EINA-LIFNR = EKKO-LIFNR","role":"Purchasing info record general data (material and vendor)","table":"EINA","variant":"both"},{"access":"read","join_on":"EINE-INFNR = EINA-INFNR AND EINE-EKORG = EKKO-EKORG AND EINE-WERKS = EKPO-WERKS","role":"Info record purchasing organization data: net price","table":"EINE","variant":"both"},{"access":"read","join_on":"LFA1-LIFNR = EKKO-LIFNR","role":"Vendor name","table":"LFA1","variant":"both"}],"title":"Purchase Price Variance (PPV) Report by Vendor and Material Group","url":"https://nekuhub.com/en/reports/purchase-price-variance-by-vendor-and-material-group-report/","vendor_id":"nekudos"}