{"audience":"QM consultants, master data teams, quality assurance managers and project teams.","authorization_objects":[{"note":"Material display authorization by plant","object":"M_MATE_WRK"},{"note":"Authorization by inspection type","object":"Q_INSPTYPE"}],"components":[],"countries":[],"effort_days_max":3,"effort_days_min":2,"effort_size":"S","faq":[{"a":"Yes. The expected inspection types can be kept in a settings table by material type and plant (e.g. 01 for raw materials, 04 for finished goods, 09 for batch-managed materials with shelf life). Each additional rule is a short development.","q":"Can the rules be adjusted per company?"},{"a":"The report is run before the conversion and the findings are cleaned up; it is run again after the conversion to confirm the settings were kept. The same check is also used when a new plant is opened and after mass material uploads.","q":"How is it used in an S/4HANA conversion?"},{"a":"Yes. MARC, MARA, QMAT and MAPL also exist in S/4HANA. For a clean core approach, the I_ProductInspTypeSetting CDS view can replace QMAT.","q":"Does the report 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 material opens the quality management view in MM03."},{"code":"excel","label":"Export to Excel","note":"The findings can be handed to the master data team in Excel as a correction list."},{"code":"background","label":"Runs as a background job","note":""}],"functions":[],"gap":"QA08 activates or changes inspection setups in bulk, but it does not report by rule which materials have a missing or inconsistent setup. MM03 shows one material at a time. A missing setup is only noticed when no inspection lot is created at goods receipt or when results cannot be recorded for a lot without a plan. The custom report scans the whole plant and states the action for each finding.","id":"qm-material-inspection-setup-check","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-17","logic":"1. MARC and MARA are read by plant and material type; if selected, materials blocked at plant level (MARC-MMSTA) are skipped.\n2. For each material/plant, the QMAT inspection types are read with the active flag (AKTIV) and the flags for inspection with task list (PPL), inspection with material specification (MPB) and posting to inspection stock (INSMK).\n3. Rules: (a) the expected inspection type from the selection screen is missing or inactive; (b) MARC-QMATV is inconsistent with the active QMAT records; (c) a QM control key in procurement (MARC-SSQSS) is set but inspection type 01 is not active; (d) PPL is set but there is no undeleted inspection plan assignment (PLNTY = Q) in MAPL; (e) a batch-managed material (MARC-XCHPF) with shelf life (MARA-MHDHB) has no recurring inspection type 09 or no inspection interval (MARC-PRFRQ).\n4. Each finding is listed as a separate line with the problem text and the suggested action (QA08, QP01 or MM02).\n5. If \"Problem materials only\" is not selected, materials that pass all rules are also shown as \"OK\".","module":"QM","object_type":"alv_report","output_columns":[{"calculated":false,"formula":"","label":"Plant","source_field":"WERKS","source_table":"MARC"},{"calculated":false,"formula":"","label":"Material","source_field":"MATNR","source_table":"MARC"},{"calculated":false,"formula":"","label":"Material description","source_field":"MAKTX","source_table":"MAKT"},{"calculated":false,"formula":"","label":"Material type","source_field":"MTART","source_table":"MARA"},{"calculated":false,"formula":"","label":"Inspection setup exists","source_field":"QMATV","source_table":"MARC"},{"calculated":false,"formula":"","label":"QM control key","source_field":"SSQSS","source_table":"MARC"},{"calculated":false,"formula":"","label":"Inspection type","source_field":"ART","source_table":"QMAT"},{"calculated":false,"formula":"","label":"Active","source_field":"AKTIV","source_table":"QMAT"},{"calculated":false,"formula":"","label":"With task list","source_field":"PPL","source_table":"QMAT"},{"calculated":true,"formula":"Yes if MAPL has a record with PLNTY = Q and LOEKZ empty","label":"Plan assigned","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Batch-managed","source_field":"XCHPF","source_table":"MARC"},{"calculated":true,"formula":"Text of the rule that is violated","label":"Issue","source_field":null,"source_table":null},{"calculated":true,"formula":"Correction to make with QA08, QP01 or MM02, depending on the rule","label":"Suggested action","source_field":null,"source_table":null}],"parameters":[{"example":"1000","kind":"select_option","label":"Plant","name":"S_WERKS","ref_field":"MARC-WERKS","required":true},{"example":"ROH","kind":"select_option","label":"Material type","name":"S_MTART","ref_field":"MARA-MTART","required":false},{"example":"RM-1001","kind":"select_option","label":"Material","name":"S_MATNR","ref_field":"MARC-MATNR","required":false},{"example":"01","kind":"select_option","label":"Expected inspection types","name":"S_ART","ref_field":"QMAT-ART","required":false},{"example":"X","kind":"checkbox","label":"Check task list assignment","name":"P_PLAN","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Problem materials only","name":"P_ONLYER","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Exclude materials blocked at plant level","name":"P_MMSTA","ref_field":"","required":false}],"part_of":[],"performance":"Narrow the MARC selection by plant and material type; read QMAT and MAPL once for these materials with FOR ALL ENTRIES. The report runs in a few minutes for a whole plant and can be repeated in every test cycle before go-live.","process":"INV","quote_url":"https://nekuhub.com/en/request-a-quote/?report=qm-material-inspection-setup-check","related":["qm-batch-retest-shelf-life-due","qm-inspection-lots-pending-ud-aging","qm-master-inspection-characteristic-upload"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Activates and changes inspection setups in bulk; does not report missing or inconsistent setups by rule.","tcode":"QA08"},{"note":"Shows the quality management view one material at a time.","tcode":"MM03"}],"summary":"A custom ALV report that checks the QM settings in the material master against rules and lists each finding with a suggested action: expected inspection type missing or inactive, inspection with task list set but no plan assigned, control key requires QM but no inspection type, batch-managed material with shelf life but no recurring inspection. It is used to clean up quality master data after a go-live, an S/4HANA conversion or a mass material creation.","tables":[{"access":"read","join_on":"","role":"Plant data: inspection setup flag, QM control key, batch management, inspection interval (driving table)","table":"MARC","variant":"both"},{"access":"read","join_on":"MARA-MATNR = MARC-MATNR","role":"Material type and shelf life","table":"MARA","variant":"both"},{"access":"read","join_on":"MAKT-MATNR = MARC-MATNR AND MAKT-SPRAS = SY-LANGU","role":"Material description","table":"MAKT","variant":"both"},{"access":"read","join_on":"QMAT-MATNR = MARC-MATNR AND QMAT-WERKS = MARC-WERKS","role":"Inspection types per material and inspection setup flags","table":"QMAT","variant":"both"},{"access":"read","join_on":"MAPL-MATNR = MARC-MATNR AND MAPL-WERKS = MARC-WERKS","role":"Inspection plan assigned to the material (PLNTY = Q)","table":"MAPL","variant":"both"},{"access":"read","join_on":"Product = MARC-MATNR","role":"In S/4HANA it can replace QMAT with a clean core approach","table":"I_ProductInspTypeSetting","variant":"s4"}],"title":"Materials with Missing or Inconsistent QM Inspection Setup Report","url":"https://nekuhub.com/en/reports/materials-missing-qm-inspection-setup-check-report/","vendor_id":"nekudos"}