{"audience":"Production managers, shift supervisors, quality engineers and controllers who follow production cost.","authorization_objects":[{"note":"Display confirmations by plant and order type","object":"C_AFRU_AWK"},{"note":"Display production orders by plant and order type","object":"C_AFKO_AWK"}],"components":[],"countries":[],"effort_days_max":6,"effort_days_min":4,"effort_size":"M","faq":[{"a":"It depends on the standard value key; in many setups 1 is setup, 2 machine and 3 labor time. That is why the number on the selection screen is a parameter, and its default is set during installation from the company's standard value key.","q":"Which standard value is the machine time?"},{"a":"No. Cancelled confirmations (AFRU-STOKZ) and reversal records (AFRU-STZHL) are excluded, so only valid confirmations are counted.","q":"Do cancelled confirmations distort the totals?"},{"a":"Yes. AFRU, AFVC, AFVV and CRHD keep the same structure in S/4HANA. For a clean core approach, the I_MfgOrderConfirmation CDS view can be used.","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":""},{"code":"drilldown","label":"Double-click drill-down to the document","note":"Double-clicking a line lists the operation's confirmations, from where CO14 opens."},{"code":"excel","label":"Export to Excel","note":""},{"code":"background","label":"Runs as a background job","note":""}],"functions":[],"gap":"The COOIS operation view and the CO14 confirmation list show yield and scrap one confirmation line at a time. The actual scrap percentage, the comparison with planned operation scrap, the distribution of variance reasons and the comparison of standard and actual time need a separate layout, unit conversion and an Excel calculation. Weekly scrap meetings usually rely on this hand-made table.","id":"pp-scrap-yield-by-work-center","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-17","logic":"1. Confirmations of the selected plant and posting date range are read from AFRU; cancelled confirmations (STOKZ set) and reversal records (STZHL set) are skipped.\n2. Confirmations are totalled per order and operation (AUFPL + APLZL): yield LMNGA, scrap XMNGA, rework RMNGA and the actual activity (ISM01–ISM06) that matches the selected standard value.\n3. Operation text (LTXA1) and the work center object ID (ARBID) come from AFVC; the work center code comes from CRHD (OBJTY = A, OBJID = ARBID). Operation quantity (MGVRG), planned operation scrap (ASVRG), base quantity (BMSCH) and standard values (VGW01–VGW06, units VGE01–VGE06) come from AFVV. The header material (PLNBEZ) comes from AFKO.\n4. Actual scrap % = scrap ÷ (yield + scrap) × 100. Planned scrap % = ASVRG ÷ MGVRG × 100. Variance = actual − planned (percentage points).\n5. Standard time = VGWnn × (yield + scrap) ÷ BMSCH, converted to hours. Time variance % = (actual − standard) ÷ standard × 100.\n6. The variance reason (GRUND) shown is the reason with the largest scrap quantity. ALV shows subtotals per work center; lines with scrap above plan are highlighted.","module":"PP","object_type":"alv_report","output_columns":[{"calculated":false,"formula":"","label":"Work center","source_field":"ARBPL","source_table":"CRHD"},{"calculated":false,"formula":"","label":"Production order","source_field":"AUFNR","source_table":"AFRU"},{"calculated":false,"formula":"","label":"Operation","source_field":"VORNR","source_table":"AFRU"},{"calculated":false,"formula":"","label":"Operation text","source_field":"LTXA1","source_table":"AFVC"},{"calculated":false,"formula":"","label":"Material","source_field":"PLNBEZ","source_table":"AFKO"},{"calculated":true,"formula":"Σ AFRU-LMNGA","label":"Yield","source_field":null,"source_table":null},{"calculated":true,"formula":"Σ AFRU-XMNGA","label":"Scrap","source_field":null,"source_table":null},{"calculated":true,"formula":"Σ AFRU-RMNGA","label":"Rework","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Unit","source_field":"MEINH","source_table":"AFRU"},{"calculated":true,"formula":"Scrap ÷ (yield + scrap) × 100","label":"Actual scrap %","source_field":null,"source_table":null},{"calculated":true,"formula":"AFVV-ASVRG ÷ AFVV-MGVRG × 100","label":"Planned scrap %","source_field":null,"source_table":null},{"calculated":true,"formula":"Actual scrap % − planned scrap %","label":"Scrap variance (pts)","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Variance reason (top)","source_field":"GRUND","source_table":"AFRU"},{"calculated":true,"formula":"AFVV-VGWnn × (yield + scrap) ÷ AFVV-BMSCH, converted to hours","label":"Standard time (h)","source_field":null,"source_table":null},{"calculated":true,"formula":"Σ AFRU-ISMnn, converted to hours","label":"Actual time (h)","source_field":null,"source_table":null},{"calculated":true,"formula":"(Actual time − standard time) ÷ standard time × 100","label":"Time variance %","source_field":null,"source_table":null}],"parameters":[{"example":"1000","kind":"select_option","label":"Plant","name":"S_WERKS","ref_field":"AFRU-WERKS","required":true},{"example":"01.11.2026 – 15.11.2026","kind":"select_option","label":"Confirmation posting date","name":"S_BUDAT","ref_field":"AFRU-BUDAT","required":true},{"example":"PRES-01","kind":"select_option","label":"Work center","name":"S_ARBPL","ref_field":"CRHD-ARBPL","required":false},{"example":"1000431","kind":"select_option","label":"Production order","name":"S_AUFNR","ref_field":"AFRU-AUFNR","required":false},{"example":"FG-5003","kind":"select_option","label":"Material","name":"S_MATNR","ref_field":"AFKO-PLNBEZ","required":false},{"example":"0002","kind":"select_option","label":"Variance reason","name":"S_GRUND","ref_field":"AFRU-GRUND","required":false},{"example":"2","kind":"parameter","label":"Standard value number for time comparison (1–6)","name":"P_VGWNR","ref_field":"","required":true},{"example":"","kind":"checkbox","label":"Scrap above plan only","name":"P_EXCESS","ref_field":"","required":false}],"part_of":["co-product-cost-variance-pack"],"performance":"Narrow AFRU by plant and posting date. Read AFVC, AFVV and CRHD with FOR ALL ENTRIES only for the selected operations. For a full-year analysis run the report in the background or run months separately and combine them.","quote_url":"https://nekuhub.com/en/request-a-quote/?report=pp-scrap-yield-by-work-center","related":["pp-confirmation-upload","pp-overdue-production-orders"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Shows yield and scrap per operation; no comparison with planned scrap and no time variance.","tcode":"COOIS"},{"note":"Shows individual confirmations; no totals or ratios per work center.","tcode":"CO14"}],"summary":"A custom ALV report that totals yield, scrap and rework from production confirmations per work center and operation, and compares the actual scrap percentage with the planned operation scrap and the actual time with the standard time. Quality and production teams see the operations above plan and the most frequent variance reason in one list.","tables":[{"access":"read","join_on":"","role":"Confirmations: yield, scrap, rework, variance reason and actual activities (driving table)","table":"AFRU","variant":"both"},{"access":"read","join_on":"AFVC-AUFPL = AFRU-AUFPL AND AFVC-APLZL = AFRU-APLZL","role":"Operation text and work center object ID","table":"AFVC","variant":"both"},{"access":"read","join_on":"AFVV-AUFPL = AFRU-AUFPL AND AFVV-APLZL = AFRU-APLZL","role":"Operation quantity, planned operation scrap, base quantity and standard values","table":"AFVV","variant":"both"},{"access":"read","join_on":"CRHD-OBJTY = 'A' AND CRHD-OBJID = AFVC-ARBID","role":"Work center code","table":"CRHD","variant":"both"},{"access":"read","join_on":"AFKO-AUFNR = AFRU-AUFNR","role":"Header material of the order","table":"AFKO","variant":"both"}],"title":"Scrap and Yield Analysis by Work Center Report","url":"https://nekuhub.com/en/reports/scrap-and-yield-by-work-center-report/","vendor_id":"nekudos"}