{"audience":"Material master data teams, S/4HANA migration teams, purchasing and cost accounting.","authorization_objects":[{"note":"Display authorization by material type","object":"M_MATE_MAR"},{"note":"Material authorization by plant","object":"M_MATE_WRK"},{"note":"Authorization by maintenance status (view); checked when jumping to MM01","object":"M_MATE_STA"}],"components":[],"countries":[],"effort_days_max":5,"effort_days_min":3,"effort_size":"M","faq":[{"a":"By default the rule comes from the targets on the selection screen: if a plant, storage location and sales organization are given, the related view is checked. If needed, mandatory views per material type are kept in a maintenance table; for example, no sales view is expected for raw materials.","q":"How is it decided which view is mandatory?"},{"a":"During migrations and new plant go-lives, a missing accounting or MRP view causes errors at the first goods movement and MRP run. The report shows the gaps as numbers before the migration rehearsal and lets the team track cleansing progress.","q":"Why is this check important for an S/4HANA migration?"},{"a":"The report only reads. The missing list can be exported to Excel and completed with the mass material upload program via BAPI_MATERIAL_SAVEDATA; for single fixes there is a jump to MM01.","q":"Can missing views be completed directly from the report?"}],"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 the MM01 extension screen for that plant."},{"code":"excel","label":"Export to Excel","note":"The missing list can be downloaded as Excel in the layout of the mass material upload template."},{"code":"background","label":"Runs as a background job","note":""}],"functions":[],"gap":"MM60 lists the materials that exist in a plant but does not show missing views. MM50 finds extendable materials, but it does not check a mandatory-view rule per material type, several target plants and sales organizations, and gaps in critical fields such as the valuation class in the same list. The custom report gives the view gaps as a material × plant matrix and makes data quality measurable before a migration.","id":"mm-materials-missing-views-by-plant","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-17","logic":"1. MARA is read by material type, material and material group; depending on the selection, materials flagged for deletion (LVORM) are skipped.\n2. Each material is paired with each target plant. If no MARC record exists, \"plant data missing\" is shown.\n3. The maintenance status letters in MARC-PSTAT are checked: without E the purchasing view is missing, without D the MRP view; if D exists but MARC-DISMM is blank, the MRP type is flagged as missing.\n4. MBEW is looked up via T001W-BWKEY; without a record the accounting view is missing, and an empty BKLAS is flagged separately. MARD is checked for the target storage location and MVKE for the target sales organization/distribution channel.\n5. The number of missing views is calculated; with \"missing only\" selected, rows with zero are skipped. The ALV totals the missing count per plant.","module":"MM","object_type":"alv_report","output_columns":[{"calculated":false,"formula":"","label":"Material","source_field":"MATNR","source_table":"MARA"},{"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":"Material group","source_field":"MATKL","source_table":"MARA"},{"calculated":false,"formula":"","label":"Plant","source_field":"WERKS","source_table":"T001W"},{"calculated":false,"formula":"","label":"Plant name","source_field":"NAME1","source_table":"T001W"},{"calculated":false,"formula":"","label":"Overall maint. status","source_field":"PSTAT","source_table":"MARA"},{"calculated":false,"formula":"","label":"Plant maint. status","source_field":"PSTAT","source_table":"MARC"},{"calculated":true,"formula":"✓ if MARC-PSTAT contains 'E', otherwise missing","label":"Purchasing","source_field":null,"source_table":null},{"calculated":true,"formula":"✓ if MARC-PSTAT contains 'D' and MARC-DISMM is filled","label":"MRP","source_field":null,"source_table":null},{"calculated":true,"formula":"✓ if an MBEW record exists and MBEW-BKLAS is filled","label":"Accounting","source_field":null,"source_table":null},{"calculated":true,"formula":"✓ if an MARD record exists for the target storage location","label":"Storage","source_field":null,"source_table":null},{"calculated":true,"formula":"✓ if an MVKE record exists for the target sales organization/channel","label":"Sales","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Valuation class","source_field":"BKLAS","source_table":"MBEW"},{"calculated":true,"formula":"Number of views marked missing","label":"Missing views","source_field":null,"source_table":null}],"parameters":[{"example":"ROH, FERT","kind":"select_option","label":"Material type","name":"S_MTART","ref_field":"MARA-MTART","required":true},{"example":"RM-*","kind":"select_option","label":"Material","name":"S_MATNR","ref_field":"MARA-MATNR","required":false},{"example":"01","kind":"select_option","label":"Material group","name":"S_MATKL","ref_field":"MARA-MATKL","required":false},{"example":"1000, 2000, 3000","kind":"select_option","label":"Target plants","name":"S_WERKS","ref_field":"MARC-WERKS","required":true},{"example":"0001","kind":"parameter","label":"Storage location to check","name":"P_LGORT","ref_field":"MARD-LGORT","required":false},{"example":"1000","kind":"parameter","label":"Sales organization to check","name":"P_VKORG","ref_field":"MVKE-VKORG","required":false},{"example":"10","kind":"parameter","label":"Distribution channel","name":"P_VTWEG","ref_field":"MVKE-VTWEG","required":false},{"example":"X","kind":"checkbox","label":"Exclude materials flagged for deletion","name":"P_NOLVM","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Only rows with a missing view","name":"P_ONLYM","ref_field":"","required":false}],"part_of":["ca-s4hana-conversion-readiness-pack"],"performance":"Restrict MARA by material type. Read MARC, MBEW, MARD and MVKE once each via FOR ALL ENTRIES for the selected materials and match them in sorted internal tables with BINARY SEARCH. With hundreds of thousands of materials, run it in the background.","quote_url":"https://nekuhub.com/en/request-a-quote/?report=mm-materials-missing-views-by-plant","related":["mm-material-master-change-log","mm-material-master-upload"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Lists extendable materials; no mandatory-view rule per material type and no multi-target check.","tcode":"MM50"},{"note":"Lists the materials in a plant; does not show which view is missing.","tcode":"MM60"}],"summary":"A custom ALV report that shows, on one row per material and plant, which of the purchasing, MRP, accounting, storage and sales views are missing for the selected material types and target plants. Master data teams close missing views from a single list when a new plant goes live or before an S/4HANA migration.","tables":[{"access":"read","join_on":"","role":"General material data: type, group, overall maintenance status (driving table)","table":"MARA","variant":"both"},{"access":"read","join_on":"MAKT-MATNR = MARA-MATNR AND MAKT-SPRAS = SY-LANGU","role":"Material description","table":"MAKT","variant":"both"},{"access":"read","join_on":"MARC-MATNR = MARA-MATNR","role":"Plant data: maintenance status, MRP type","table":"MARC","variant":"both"},{"access":"read","join_on":"T001W-WERKS = MARC-WERKS","role":"Target plant name and valuation area","table":"T001W","variant":"both"},{"access":"read","join_on":"MBEW-MATNR = MARA-MATNR AND MBEW-BWKEY = T001W-BWKEY","role":"Accounting view: valuation class and price control","table":"MBEW","variant":"both"},{"access":"read","join_on":"MARD-MATNR = MARA-MATNR AND MARD-WERKS = T001W-WERKS","role":"Storage location view","table":"MARD","variant":"both"},{"access":"read","join_on":"MVKE-MATNR = MARA-MATNR","role":"Sales organization view","table":"MVKE","variant":"both"},{"access":"read","join_on":"Product = MARA-MATNR AND Plant = MARC-WERKS","role":"CDS view that can replace MARC in S/4HANA","table":"I_ProductPlantBasic","variant":"s4"},{"access":"read","join_on":"Product = MARA-MATNR AND ValuationArea = T001W-BWKEY","role":"Can replace MBEW in S/4HANA","table":"I_ProductValuationBasic","variant":"s4"}],"title":"Materials Missing Required Views by Plant Report (S/4HANA Migration Check)","url":"https://nekuhub.com/en/reports/materials-missing-views-by-plant-report/","vendor_id":"nekudos"}