{"audience":"PP consultants in an S/4HANA conversion project, master data teams and production planning leads.","authorization_objects":[{"note":"Display material data by plant","object":"M_MATE_WRK"},{"note":"Display BOMs by plant","object":"C_STUE_WRK"},{"note":"Display routings","object":"C_ROUT"}],"components":[],"countries":[],"effort_days_max":6,"effort_days_min":4,"effort_size":"M","faq":[{"a":"In S/4HANA, MRP cannot create planned orders for materials without a production version, or selects the wrong BOM. Cleaning versions that point to deleted routings or have expired in ECC before the conversion prevents the conversion tool from creating wrong versions.","q":"Why run it before S/4HANA?"},{"a":"The report only writes a proposal. After the proposals are exported to Excel and checked, they can be created with a separate upload program or standard tools; for materials with several alternatives the decision is left to the planner.","q":"Are the proposed versions created automatically?"},{"a":"Yes. Rate routings (PLNTY = 'R') are counted separately and versions needed for repetitive manufacturing are checked with the same rules; for repetitive manufacturing versions the finding line shows the related flag.","q":"Are rate routings and repetitive manufacturing considered?"}],"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":"The material opens C223 production version maintenance, the routing group opens CA03."},{"code":"excel","label":"Export to Excel","note":"Proposed versions can be exported in the layout of a mass upload template."},{"code":"background","label":"Runs as a background job","note":""}],"functions":[],"gap":"In S/4HANA, MRP and production orders select the BOM and routing only through the production version; in ECC many materials work with a selection method and have no version. C223 shows versions for maintenance per material, but does not answer 'BOM exists, routing exists, no valid version' or 'version points to a deleted routing' across a plant. The conversion tool SAP provides on the S/4HANA side creates missing versions, but does not give a finding list of the inconsistencies that should be cleaned in ECC before the conversion. The custom report performs this pre-check.","id":"pp-production-version-readiness-s4","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-17","logic":"1. In-house produced materials (BESKZ = 'E' or 'X') without a deletion flag are read from MARC for the selected plants; MARA-MTART filters the material type.\n2. MAST and STKO give the BOM alternatives for the selected usage (STLAN); alternatives with STKO-LOEKZ set are kept as 'deleted', and the number of active alternatives is counted.\n3. Routing (PLNTY = 'N') and rate routing (PLNTY = 'R') groups are read from MAPL and PLKO; routings with PLKO-LOEKZ set or a PLKO-STATU that is not released are flagged.\n4. The production versions of the material are read from MKAL; versions that are not locked (MKSP blank) and have ADATU ≤ key date ≤ BDATU count as valid.\n5. Finding rules are applied: V01 no version, V02 only expired versions, V03 BOM alternative of the version missing or deleted, V04 routing of the version missing or deleted, V05 an active BOM alternative is not used by any version, V06 version without routing.\n6. With exactly one active alternative and one valid routing, the proposed version (0001, alternative, routing group and counter) is written on the line; when 'only findings' is selected, materials without issues are hidden.","module":"PP","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":"Description","source_field":"MAKTX","source_table":"MAKT"},{"calculated":false,"formula":"","label":"Material type","source_field":"MTART","source_table":"MARA"},{"calculated":false,"formula":"","label":"MRP controller","source_field":"DISPO","source_table":"MARC"},{"calculated":true,"formula":"Number of MAST lines with STKO-LOEKZ blank","label":"Active BOM alternatives","source_field":null,"source_table":null},{"calculated":true,"formula":"Number of routing group/counters with PLKO-LOEKZ blank and released status","label":"Valid routings","source_field":null,"source_table":null},{"calculated":true,"formula":"Number of MKAL lines with MKSP blank and ADATU ≤ key date ≤ BDATU","label":"Valid versions","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Version","source_field":"VERID","source_table":"MKAL"},{"calculated":false,"formula":"","label":"Version valid to","source_field":"BDATU","source_table":"MKAL"},{"calculated":false,"formula":"","label":"BOM alternative in version","source_field":"STLAL","source_table":"MKAL"},{"calculated":false,"formula":"","label":"Routing group in version","source_field":"PLNNR","source_table":"MKAL"},{"calculated":true,"formula":"Finding code V01–V06 with a short description","label":"Finding","source_field":null,"source_table":null},{"calculated":true,"formula":"'0001 / alternative / routing group-counter' when there is one active alternative and one valid routing","label":"Proposed version","source_field":null,"source_table":null}],"parameters":[{"example":"1000","kind":"select_option","label":"Plant","name":"S_WERKS","ref_field":"MARC-WERKS","required":true},{"example":"FG-*","kind":"select_option","label":"Material","name":"S_MATNR","ref_field":"MARC-MATNR","required":false},{"example":"FERT, HALB","kind":"select_option","label":"Material type","name":"S_MTART","ref_field":"MARA-MTART","required":false},{"example":"001","kind":"select_option","label":"MRP controller","name":"S_DISPO","ref_field":"MARC-DISPO","required":false},{"example":"1","kind":"parameter","label":"BOM usage","name":"P_STLAN","ref_field":"MAST-STLAN","required":true},{"example":"17.11.2026","kind":"parameter","label":"Key date","name":"P_DATE","ref_field":"MKAL-ADATU","required":true},{"example":"X","kind":"checkbox","label":"Only materials with findings","name":"P_GAPS","ref_field":"","required":false}],"part_of":["ca-s4hana-conversion-readiness-pack","pp-production-master-data-pack"],"performance":"Read each table once with the plant and material list and match in internal tables; do not run a MAST/MAPL SELECT per material. For plants with tens of thousands of materials, run the report in the background and export the result as an upload template.","quote_url":"https://nekuhub.com/en/request-a-quote/?report=pp-production-version-readiness-s4","related":["pp-bom-where-used-open-orders","pp-expired-production-version-orders"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Maintains production versions per material; does not list inconsistencies with BOMs and routings across a plant.","tcode":"C223"},{"note":"Shows one routing; does not show whether a production version uses it.","tcode":"CA03"}],"summary":"A custom ALV report that compares BOM alternatives, routings and production versions of in-house produced materials and lists, with a finding code, materials that have no version, only expired versions, versions pointing to a deleted BOM or routing, or alternatives that no version covers. For materials with one BOM and one routing the proposed version is shown on the line; the result can be downloaded as a mass upload template.","tables":[{"access":"read","join_on":"","role":"In-house produced materials, MRP controller (driving table)","table":"MARC","variant":"both"},{"access":"read","join_on":"MARA-MATNR = MARC-MATNR","role":"Material type and general deletion flag","table":"MARA","variant":"both"},{"access":"read","join_on":"MAST-MATNR = MARC-MATNR AND MAST-WERKS = MARC-WERKS","role":"Material – BOM link and alternatives","table":"MAST","variant":"both"},{"access":"read","join_on":"STKO-STLTY = 'M' AND STKO-STLNR = MAST-STLNR AND STKO-STLAL = MAST-STLAL","role":"BOM header: status and deletion indicator","table":"STKO","variant":"both"},{"access":"read","join_on":"MAPL-MATNR = MARC-MATNR AND MAPL-WERKS = MARC-WERKS","role":"Material – routing link","table":"MAPL","variant":"both"},{"access":"read","join_on":"PLKO-PLNTY = MAPL-PLNTY AND PLKO-PLNNR = MAPL-PLNNR AND PLKO-PLNAL = MAPL-PLNAL","role":"Routing header: usage, status, deletion indicator","table":"PLKO","variant":"both"},{"access":"read","join_on":"MKAL-MATNR = MARC-MATNR AND MKAL-WERKS = MARC-WERKS","role":"Production versions: validity, lock, BOM and routing","table":"MKAL","variant":"both"},{"access":"read","join_on":"MAKT-MATNR = MARC-MATNR AND MAKT-SPRAS = SY-LANGU","role":"Material description","table":"MAKT","variant":"both"}],"title":"Missing Production Versions Check Report for S/4HANA Migration","url":"https://nekuhub.com/en/reports/missing-production-versions-s4hana-migration-check-report/","vendor_id":"nekudos"}