{"audience":"Product cost controllers, teams running the material ledger close and managers tracking purchase price variance.","authorization_objects":[{"note":"Material ledger authorization by valuation area","object":"K_ML_VA"},{"note":"Authorization to display product costing data","object":"K_KEKO"}],"components":[],"countries":[],"effort_days_max":6,"effort_days_min":4,"effort_size":"M","faq":[{"a":"The material ledger can keep values in several currencies: 10 for company code currency, 30 for group currency and so on. The report shows the values of the selected type.","q":"What does the currency type mean?"},{"a":"The receipt price differences accumulated during the period are visible; the periodic unit price is final after the closing run. The pre-close list helps find problem materials early.","q":"What is visible before the close?"},{"a":"Differences rolled up from consumption (fields such as VNPRD_EA) can be added as a separate column. The default layout focuses on receipt and exchange rate differences.","q":"Are multilevel price determination differences 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":"Double-clicking the material opens CKM3N for that period."},{"code":"excel","label":"Export to Excel","note":""},{"code":"background","label":"Runs as a background job","note":"Can be scheduled before and after the closing run for comparison."}],"functions":[],"gap":"CKM3N opens the material price analysis for one material and one plant; at period end it is run one by one to scan hundreds of materials. CKMLCP manages the closing steps but gives no per-material variance ranking. Seeing which materials have high price differences before the close needs a collective list.","id":"co-material-ledger-price-differences","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-17","logic":"1. Cost estimate numbers (KALNR) are taken from CKMLHD by valuation area (BWKEY) and material selection; the valuation class is added from MBEW and filtered by S_BKLAS.\n2. Quantities and period status for the selected year and period are read from CKMLPP: receipts (ZUKUMO), consumption (VNKUMO), stock (LBKUM), STATUS.\n3. Values for the same period and the selected currency type (CURTP) are read from CKMLCR: standard price (STPRS), periodic unit price (PVPRS), stock value (SALK3), receipt price differences (ZUPRD_O), consumption price differences (VNPRD_EA) and exchange rate differences (ZUKDM_O).\n4. Total price difference = ZUPRD_O + ZUKDM_O; difference ratio = total price difference / (stock value + consumption value) × 100.\n5. The plant name is added from T001W (by BWKEY) and the text from MAKT; rows above P_MINPD are highlighted and the list is sorted by ratio.","module":"CO","object_type":"alv_report","output_columns":[{"calculated":false,"formula":"","label":"Plant","source_field":"WERKS","source_table":"T001W"},{"calculated":false,"formula":"","label":"Material","source_field":"MATNR","source_table":"CKMLHD"},{"calculated":false,"formula":"","label":"Material description","source_field":"MAKTX","source_table":"MAKT"},{"calculated":false,"formula":"","label":"Valuation class","source_field":"BKLAS","source_table":"MBEW"},{"calculated":false,"formula":"","label":"Price control","source_field":"VPRSV","source_table":"CKMLCR"},{"calculated":false,"formula":"","label":"Standard price","source_field":"STPRS","source_table":"CKMLCR"},{"calculated":false,"formula":"","label":"Periodic unit price","source_field":"PVPRS","source_table":"CKMLCR"},{"calculated":false,"formula":"","label":"Price unit","source_field":"PEINH","source_table":"CKMLCR"},{"calculated":false,"formula":"","label":"Receipt quantity","source_field":"ZUKUMO","source_table":"CKMLPP"},{"calculated":false,"formula":"","label":"Receipt price difference","source_field":"ZUPRD_O","source_table":"CKMLCR"},{"calculated":false,"formula":"","label":"Exchange rate difference","source_field":"ZUKDM_O","source_table":"CKMLCR"},{"calculated":true,"formula":"CKMLCR-ZUPRD_O + CKMLCR-ZUKDM_O","label":"Total price difference","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Stock value","source_field":"SALK3","source_table":"CKMLCR"},{"calculated":true,"formula":"Total price difference / (stock value + consumption value) × 100","label":"Difference ratio %","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Period status","source_field":"STATUS","source_table":"CKMLPP"},{"calculated":false,"formula":"","label":"Currency","source_field":"WAERS","source_table":"CKMLCR"}],"parameters":[{"example":"1000","kind":"select_option","label":"Valuation area (plant)","name":"S_BWKEY","ref_field":"CKMLHD-BWKEY","required":true},{"example":"RM-2051","kind":"select_option","label":"Material","name":"S_MATNR","ref_field":"CKMLHD-MATNR","required":false},{"example":"3000","kind":"select_option","label":"Valuation class","name":"S_BKLAS","ref_field":"MBEW-BKLAS","required":false},{"example":"2026","kind":"parameter","label":"Year","name":"P_BDATJ","ref_field":"CKMLCR-BDATJ","required":true},{"example":"010","kind":"parameter","label":"Period","name":"P_POPER","ref_field":"CKMLCR-POPER","required":true},{"example":"10","kind":"parameter","label":"Currency type","name":"P_CURTP","ref_field":"CKMLCR-CURTP","required":true},{"example":"5","kind":"parameter","label":"Minimum difference ratio to highlight (%)","name":"P_MINPD","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Only materials with price differences","name":"P_DIFF","ref_field":"","required":false}],"part_of":[],"performance":"Read CKMLCR and CKMLPP by KALNR, year, period and currency type; build the KALNR list from CKMLHD first. For sub-periods (UNTPER) take only 000. On S/4HANA material ledger values come from ACDOCA and the related CDS views; the logic stays the same.","process":"INV","quote_url":"https://nekuhub.com/en/request-a-quote/?report=co-material-ledger-price-differences","related":["co-cost-estimate-comparison","co-production-order-variance"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Shows the price analysis for one material and plant; gives no collective list.","tcode":"CKM3N"},{"note":"Manages the actual costing close; offers no per-material variance ranking.","tcode":"CKMLCP"}],"summary":"A custom ALV report that shows the standard price, periodic unit price and price differences from the material ledger for all materials and plants in one list. The ratio of price differences to stock value is calculated, and materials above a threshold stand out.","tables":[{"access":"read","join_on":"","role":"Material ledger header: KALNR, material, valuation area (driving table)","table":"CKMLHD","variant":"both"},{"access":"read","join_on":"CKMLPP-KALNR = CKMLHD-KALNR AND CKMLPP-BDATJ = P_BDATJ AND CKMLPP-POPER = P_POPER AND CKMLPP-UNTPER = '000'","role":"Period quantities and period status","table":"CKMLPP","variant":"both"},{"access":"read","join_on":"CKMLCR-KALNR = CKMLPP-KALNR AND CKMLCR-BDATJ = CKMLPP-BDATJ AND CKMLCR-POPER = CKMLPP-POPER AND CKMLCR-UNTPER = CKMLPP-UNTPER AND CKMLCR-CURTP = P_CURTP","role":"Prices, stock value and price differences per currency type","table":"CKMLCR","variant":"both"},{"access":"read","join_on":"MBEW-MATNR = CKMLHD-MATNR AND MBEW-BWKEY = CKMLHD-BWKEY AND MBEW-BWTAR = CKMLHD-BWTAR","role":"Valuation class","table":"MBEW","variant":"both"},{"access":"read","join_on":"MAKT-MATNR = CKMLHD-MATNR AND MAKT-SPRAS = SY-LANGU","role":"Material description","table":"MAKT","variant":"both"},{"access":"read","join_on":"T001W-BWKEY = CKMLHD-BWKEY","role":"Plant and name","table":"T001W","variant":"both"}],"title":"Material Ledger Price Differences by Plant Report","url":"https://nekuhub.com/en/reports/material-ledger-price-differences-by-plant-report/","vendor_id":"nekudos"}