{"audience":"Production and process engineers, quality control teams, shift supervisors and continuous improvement teams.","authorization_objects":[{"note":"Inspection lot authorization by inspection type","object":"Q_INSPTYPE"},{"note":"Production order authorization by plant and order type","object":"C_AFKO_AWK"}],"components":[],"countries":[],"effort_days_max":5,"effort_days_min":3,"effort_size":"M","faq":[{"a":"Yes. Qualitative characteristics have no mean or tolerance; the line shows the valuation and the selected code, and the deviation column stays empty.","q":"Do qualitative (coded) characteristics appear in the report too?"},{"a":"Yes. If single measured values are recorded, an extra view that calculates the standard deviation and Cpk per work center and characteristic can be added; this adds a day or two to the effort.","q":"Can a process capability (Cpk) value be added?"},{"a":"Yes. QALS, QAMR, QAMV, AFVC and CRHD keep the same relationship on S/4HANA; the report runs unchanged.","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":"A view totalled by work center and characteristic can be saved as a user layout."},{"code":"drilldown","label":"Double-click drill-down to the document","note":"Double-clicking the inspection lot opens result display in QE53."},{"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":"A weekly summary can be sent to production and quality managers every Monday."}],"functions":[],"gap":"QE51N records and shows results for the selected inspection lot; it does not rank the rejected characteristics of many orders by work center. QA33 lists inspection lots but does not show characteristic values and tolerance limits. Seeing in-process quality problems by machine and dimension needs a report that combines results, plan and work center data.","id":"qm-in-process-out-of-tolerance-by-work-center","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-17","logic":"1. Inspection lots with origin 03 (in-process inspection) in the selected plant are read from QALS.\n2. The characteristic results of the lot are taken from QAMR with the result date range (PRUEFDATUV); by default only those valued as rejected (MBEWERTG = R) are listed.\n3. The characteristic description, master characteristic, target value and lower/upper tolerance limits are read from QAMV. The deviation is the difference between the mean value and the limit that was exceeded.\n4. The operation is found in AFVC with QAMV-VORGLFNR (AUFPL = QALS-AUFPL, APLZL = VORGLFNR); the work center of the operation is read from CRHD with AFVC-ARBID.\n5. The ALV gives subtotals and rejection counts per work center and characteristic; when all results are selected, the rejection rate per work center (rejected results ÷ all results) is calculated.","module":"QM","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":"QALS"},{"calculated":false,"formula":"","label":"Operation","source_field":"VORNR","source_table":"AFVC"},{"calculated":false,"formula":"","label":"Inspection lot","source_field":"PRUEFLOS","source_table":"QALS"},{"calculated":false,"formula":"","label":"Material","source_field":"MATNR","source_table":"QALS"},{"calculated":false,"formula":"","label":"Master characteristic","source_field":"VERWMERKM","source_table":"QAMV"},{"calculated":false,"formula":"","label":"Characteristic text","source_field":"KURZTEXT","source_table":"QAMV"},{"calculated":false,"formula":"","label":"Lower limit","source_field":"TOLERANZUN","source_table":"QAMV"},{"calculated":false,"formula":"","label":"Upper limit","source_field":"TOLERANZOB","source_table":"QAMV"},{"calculated":false,"formula":"","label":"Mean value","source_field":"MITTELWERT","source_table":"QAMR"},{"calculated":false,"formula":"","label":"Unit","source_field":"MASSEINHSW","source_table":"QAMV"},{"calculated":true,"formula":"Mean − upper limit when the mean is above it, mean − lower limit when it is below","label":"Deviation","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Valuation","source_field":"MBEWERTG","source_table":"QAMR"},{"calculated":false,"formula":"","label":"Result date","source_field":"PRUEFDATUV","source_table":"QAMR"},{"calculated":false,"formula":"","label":"Inspector","source_field":"PRUEFER","source_table":"QAMR"}],"parameters":[{"example":"1000","kind":"select_option","label":"Plant","name":"S_WERK","ref_field":"QALS-WERK","required":true},{"example":"09.11.2026 – 15.11.2026","kind":"select_option","label":"Result date range","name":"S_DATE","ref_field":"QAMR-PRUEFDATUV","required":true},{"example":"CNC-03","kind":"select_option","label":"Work center","name":"S_ARBPL","ref_field":"CRHD-ARBPL","required":false},{"example":"FG-7300","kind":"select_option","label":"Material","name":"S_MATNR","ref_field":"QALS-MATNR","required":false},{"example":"1000452","kind":"select_option","label":"Production order","name":"S_AUFNR","ref_field":"QALS-AUFNR","required":false},{"example":"CAP-DIS","kind":"select_option","label":"Master characteristic","name":"S_MERKM","ref_field":"QAMV-VERWMERKM","required":false},{"example":"","kind":"checkbox","label":"Also read accepted results (for rejection rate)","name":"P_ALL","ref_field":"","required":false}],"part_of":[],"performance":"Read QAMR with the result date range and the lot list; restrict QALS with HERKUNFT = 03 and the plant. Selecting all results increases the data volume; run long periods in the background.","quote_url":"https://nekuhub.com/en/request-a-quote/?report=qm-in-process-out-of-tolerance-by-work-center","related":["pp-scrap-yield-by-work-center","qm-ud-with-missing-results"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Records and shows results for selected lots; does not rank by work center.","tcode":"QE51N"},{"note":"Lists inspection lots; does not show characteristic values and limits.","tcode":"QA33"}],"summary":"A custom ALV report that lists in-process inspection results of production orders that fell outside tolerance, by work center, operation and characteristic. At the end of a shift or week you see in one list which machine produces the most rejections on which dimension.","tables":[{"access":"read","join_on":"","role":"In-process inspection lots, order and routing number (driving table)","table":"QALS","variant":"both"},{"access":"read","join_on":"QAMR-PRUEFLOS = QALS-PRUEFLOS","role":"Characteristic results: mean, valuation, date and inspector","table":"QAMR","variant":"both"},{"access":"read","join_on":"QAMV-PRUEFLOS = QAMR-PRUEFLOS AND QAMV-VORGLFNR = QAMR-VORGLFNR AND QAMV-MERKNR = QAMR-MERKNR","role":"Characteristic description, target value and tolerance limits","table":"QAMV","variant":"both"},{"access":"read","join_on":"AFVC-AUFPL = QALS-AUFPL AND AFVC-APLZL = QAMV-VORGLFNR","role":"Order operation and work center link","table":"AFVC","variant":"both"},{"access":"read","join_on":"CRHD-OBJTY = 'A' AND CRHD-OBJID = AFVC-ARBID","role":"Work center code","table":"CRHD","variant":"both"}],"title":"In-Process Inspection Results Out of Tolerance by Work Center Report","url":"https://nekuhub.com/en/reports/in-process-inspection-results-out-of-tolerance-by-work-center-report/","vendor_id":"nekudos"}