{"audience":"Production controllers, cost accountants and production planning managers.","authorization_objects":[{"note":"Production order authorization by plant and order type","object":"C_AFKO_AWK"}],"components":[],"countries":[],"effort_days_max":6,"effort_days_min":4,"effort_size":"M","faq":[{"a":"The report simplifies the target cost as delivered quantity × standard price. The period-end variance calculation uses the target cost version, work in process and variance categories. The report is for early warning; for exact variance categories, the variance calculation results can be added to the report.","q":"Why can the result differ from the period-end variance calculation?"},{"a":"The ratio of delivered to planned quantity can be shown as yield. Confirmed scrap quantities can be read from the operation confirmations and added as a separate column.","q":"Are scrap and yield losses visible?"},{"a":"Yes. AFKO, AFPO and JEST are used the same way; COSP, COSS and MBEW are read as compatibility views and actuals come from ACDOCA.","q":"Does it work on S/4HANA?"}],"features":[{"code":"alv","label":"ALV list (sort, filter, subtotals)","note":""},{"code":"layout","label":"User-specific layout variants","note":"Variants with subtotals by material or MRP controller can be saved."},{"code":"drilldown","label":"Double-click drill-down to the document","note":"Double-clicking the order opens KKBC_ORD; double-clicking the actual cost opens KOB1."},{"code":"excel","label":"Export to Excel","note":""},{"code":"background","label":"Runs as a background job","note":""},{"code":"email","label":"Send the result by email","note":""}],"functions":[],"gap":"KKBC_ORD analyzes costs per order and orders are opened one by one. KOB1 lists actual line items but gives no target cost or variance. The period-end variance calculation results are per order and do not offer a list that ranks all orders of a plant by variance size with material description and yield.","id":"co-production-order-variance","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-17","logic":"1. Production order items matching the plant (PWERK) and material selection are read from AFPO, the MRP controller from AFKO and the object number from AUFK; the system status comes from JEST. With P_ONLYDL only delivered (DLV) or technically complete (TECO) orders are listed.\n2. Actual cost: value type 04 debits in COSP and COSS from the start of the fiscal year up to P_PERIO; goods receipt credits are summed separately by the debit/credit indicator (BEKNZ) and settlement lines are excluded. The report therefore gives the same result before and after settlement.\n3. Target cost (simplified) = delivered quantity (AFPO-WEMNG) × MBEW-STPRS / MBEW-PEINH.\n4. Variance = actual cost − target cost; variance % = variance / target cost × 100. For yield, the delivered quantity is compared with the planned quantity (PSMNG).\n5. Orders above P_TOL are put first and sorted by the absolute variance.","module":"CO","object_type":"alv_report","output_columns":[{"calculated":false,"formula":"","label":"Order","source_field":"AUFNR","source_table":"AFPO"},{"calculated":false,"formula":"","label":"Plant","source_field":"PWERK","source_table":"AFPO"},{"calculated":false,"formula":"","label":"Material","source_field":"MATNR","source_table":"AFPO"},{"calculated":false,"formula":"","label":"Material description","source_field":"MAKTX","source_table":"MAKT"},{"calculated":false,"formula":"","label":"Planned quantity","source_field":"PSMNG","source_table":"AFPO"},{"calculated":false,"formula":"","label":"Delivered quantity","source_field":"WEMNG","source_table":"AFPO"},{"calculated":false,"formula":"","label":"Unit","source_field":"MEINS","source_table":"AFPO"},{"calculated":true,"formula":"AFPO-WEMNG × MBEW-STPRS / MBEW-PEINH","label":"Target cost","source_field":null,"source_table":null},{"calculated":true,"formula":"COSP + COSS value type 04 debits (settlement excluded)","label":"Actual cost","source_field":null,"source_table":null},{"calculated":true,"formula":"COSP + COSS value type 04 credits (BEKNZ = H)","label":"Goods receipt credit","source_field":null,"source_table":null},{"calculated":true,"formula":"Actual cost − target cost","label":"Variance","source_field":null,"source_table":null},{"calculated":true,"formula":"Variance / target cost × 100","label":"Variance (%)","source_field":null,"source_table":null},{"calculated":true,"formula":"Short text of the active system statuses in JEST","label":"System status","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Currency","source_field":"WAERS","source_table":"TKA01"}],"parameters":[{"example":"1000","kind":"select_option","label":"Plant","name":"S_WERKS","ref_field":"AFPO-PWERK","required":true},{"example":"","kind":"select_option","label":"Production order","name":"S_AUFNR","ref_field":"AFPO-AUFNR","required":false},{"example":"300045","kind":"select_option","label":"Material","name":"S_MATNR","ref_field":"AFPO-MATNR","required":false},{"example":"001","kind":"select_option","label":"MRP controller","name":"S_DISPO","ref_field":"AFKO-DISPO","required":false},{"example":"2026","kind":"parameter","label":"Fiscal year","name":"P_GJAHR","ref_field":"COSS-GJAHR","required":true},{"example":"10","kind":"parameter","label":"Up to period","name":"P_PERIO","ref_field":"","required":true},{"example":"X","kind":"checkbox","label":"Only delivered / technically complete orders","name":"P_ONLYDL","ref_field":"","required":false},{"example":"5","kind":"parameter","label":"Variance tolerance (%)","name":"P_TOL","ref_field":"","required":false}],"part_of":["co-product-cost-variance-pack"],"performance":"Select orders from AFPO with plant and a date limit; read COSP/COSS once with the object number list. For high-volume plants, a background run is recommended.","process":"R2R","quote_url":"https://nekuhub.com/en/request-a-quote/?report=co-production-order-variance","related":["co-activity-price-absorption","co-cost-estimate-comparison","co-orders-settlement-check"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Analyzes costs per order; gives no ranking across the plant.","tcode":"KKBC_ORD"},{"note":"Lists the order's actual line items; gives no target cost or variance.","tcode":"KOB1"}],"summary":"A custom ALV report that compares the actual cost of production orders in a plant with the target cost from delivered quantity × standard price, and ranks the variance by amount and percentage. It gives an early warning before the variance calculation and settlement.","tables":[{"access":"read","join_on":"","role":"Production order item: material, plant, planned and delivered quantity (driving table)","table":"AFPO","variant":"both"},{"access":"read","join_on":"AFKO-AUFNR = AFPO-AUFNR","role":"Production order header and MRP controller","table":"AFKO","variant":"both"},{"access":"read","join_on":"AUFK-AUFNR = AFPO-AUFNR","role":"Order object number and controlling area","table":"AUFK","variant":"both"},{"access":"read","join_on":"COSP-OBJNR = AUFK-OBJNR","role":"Primary actual costs and goods receipt credits","table":"COSP","variant":"both"},{"access":"read","join_on":"COSS-OBJNR = AUFK-OBJNR","role":"Secondary actual costs (activities, overhead)","table":"COSS","variant":"both"},{"access":"read","join_on":"MBEW-MATNR = AFPO-MATNR AND MBEW-BWKEY = AFPO-PWERK","role":"Standard price and price unit","table":"MBEW","variant":"both"},{"access":"read","join_on":"MAKT-MATNR = AFPO-MATNR AND MAKT-SPRAS = SY-LANGU","role":"Material description","table":"MAKT","variant":"both"},{"access":"read","join_on":"JEST-OBJNR = AUFK-OBJNR","role":"System status (REL, DLV, TECO)","table":"JEST","variant":"both"},{"access":"read","join_on":"TKA01-KOKRS = AUFK-KOKRS","role":"Controlling area currency","table":"TKA01","variant":"both"}],"title":"Production Order Target vs Actual Cost Variance Report","url":"https://nekuhub.com/en/reports/production-order-cost-variance-report/","vendor_id":"nekudos"}