ChallengeA Munich-headquartered automotive Tier-1 supplier (EUR 3.8B revenue, manufacturing braking systems, steering components, and chassis electronics, 16,000 employees, operating 8 production plants across Germany, Czech Republic, China, and Mexico) needed to modernize their legacy technology estate to support electrification transition and Industry 4.0 implementation. The company's technology stack reflected 25 years of growth through acquisition and organic expansion. Legacy SAP R/3 (deployed 1999): SAP ECC 6.0 with 4,200 custom ABAP programmes (Z-programmes), 380 custom transactions, 240 user exits, and 85 BAdI implementations. The customisations covered: German production planning (PP) modifications for automotive JIT/JIS (just-in-time/just-in-sequence) delivery to BMW, Audi, and Mercedes assembly lines, quality management (QM) customisations implementing automotive IATF 16949 requirements with customer-specific quality gates, financial accounting customised for German HGB, IFRS parallel accounting, and transfer pricing across 4 countries, and human resources (HR) with German payroll (Lohnbuchhaltung) customisations including Kurzarbeit, church tax, and Berufsgenossenschaft contributions. SAP had announced end of mainstream maintenance for ECC 6.0 by 2027 — the company needed to either migrate to S/4HANA (addressing all 4,200 customisations) or replace SAP entirely. Legacy MES (deployed 2003-2008): three different MES platforms across 8 plants — the German plants running a customised Siemens SIMATIC IT installation, Czech plant on Wonderware (now AVEVA), and Chinese/Mexican plants on locally developed MES solutions. These MES systems could not: provide cross-plant production visibility (no unified view of production across 8 plants), support real-time quality analytics (quality data batch-processed nightly), integrate with OEM digital platforms (BMW's Catena-X supply chain data exchange requiring modern API connectivity that legacy MES lacked), or support electric vehicle component production (EV braking and steering systems requiring different manufacturing processes, tolerances, and testing protocols that legacy MES configurations could not accommodate). Core challenges: (1) SAP 2027 deadline — with 4,200 custom programmes, migration to S/4HANA was not a simple upgrade. Analysis showed: 1,800 Z-programmes required complete rewriting (using deprecated features, incompatible data types, or obsolete interfaces), 1,400 Z-programmes could be adapted (logic preserved, interfaces updated), 600 Z-programmes were replaceable by standard S/4HANA functionality (customisations that had been needed in R/3 but were now standard), and 400 Z-programmes were dead code (never executed in production — built for projects that were abandoned or superseded). The complexity of German payroll customisation alone represented 6 months of migration effort — Kurzarbeit calculations, Berufsgenossenschaft (BG) industry-specific contribution rates, and Arbeitnehmer-Sparzulage (employee savings bonuses) all requiring careful reimplementation. (2) OEM connectivity — BMW and other OEM customers were implementing Catena-X (the automotive industry data exchange standard). The company needed to: share quality data in real-time with OEM assembly plants (currently batch-reported 24 hours after production), provide supply chain visibility (current stock, production schedule, delivery forecast accessible through API), and support digital product passport (EU regulation requiring traceability data for each component — legacy systems could not provide component-level traceability across the full value chain). Without Catena-X connectivity, the company risked losing OEM nominations — BMW had indicated that Catena-X participation would become a supplier requirement. (3) EV transition — the company was transitioning 40 percent of production capacity from ICE (internal combustion engine) to EV components within 5 years. EV braking systems, electronic power steering, and battery disconnect units required different: manufacturing processes (clean room assembly for electronic components versus traditional machining), quality requirements (electronic testing protocols versus mechanical testing), and traceability requirements (complete component genealogy for safety-critical electronic systems — IATF 16949 plus ISO 26262 functional safety). Legacy MES could not support these new manufacturing paradigms without extensive modification. (4) Betriebsrat requirements — the company's German works council (Betriebsrat) required formal consultation on the modernization programme, particularly regarding: SAP HR module changes (affecting payroll processing and employee data handling), MES changes (affecting production worker interfaces and performance monitoring), Industry 4.0 data collection (concerns about employee monitoring through increased sensor data), and potential skill changes (production workers needing training for new MES interfaces). The Betriebsrat had negotiated a Betriebsvereinbarung (works agreement) on technology changes, requiring 3-month consultation periods for significant system replacements.
SolutionWe delivered a comprehensive SAP and MES modernization over 44 weeks — migrating SAP R/3 to S/4HANA, unifying MES across 8 plants, and enabling Catena-X connectivity. (1) SAP S/4HANA migration with custom code remediation. Custom code analysis: all 4,200 Z-programmes analysed using SAP's Custom Code Migration Worklist and our proprietary analysis tooling. Classification: 1,800 rewrite, 1,400 adapt, 600 replace with standard, 400 decommission. Rewrite priority: German payroll (Lohnbuchhaltung) customisations migrated first — the most complex and highest-risk area. Each payroll calculation validated against the Lohnsteuer-Handbuch (wage tax handbook) and BG contribution tables. Production planning customisations reimplemented for S/4HANA's embedded PP/DS (Production Planning and Detailed Scheduling) — automotive JIT/JIS delivery sequences preserved and enhanced. Quality management migrated to S/4HANA embedded QM with IATF 16949 compliance maintained — customer-specific quality gates reconfigured rather than custom-coded. Financial accounting: HGB/IFRS parallel accounting leveraging S/4HANA's universal journal — replacing custom parallel ledger implementations that were the source of quarter-end closing delays. Custom code reduction: 4,200 Z-programmes reduced to 1,400 in S/4HANA — a 67 percent reduction in custom code. Standard S/4HANA functionality replacing custom solutions wherever possible, reducing future upgrade complexity. (2) Unified MES: one platform across 8 plants. Modern MES: replacing 3 legacy MES platforms with a single cloud-native MES built on: containerised microservices (Kubernetes on Azure Germany — meeting German data sovereignty requirements), real-time production data streaming (Apache Kafka processing sensor data from all 8 plants), unified quality management (real-time SPC — Statistical Process Control — replacing nightly batch analysis), and cross-plant production visibility (a single dashboard showing production status, quality metrics, and OEE across all 8 plants for the first time). EV manufacturing support: the new MES designed for both ICE and EV component production — clean room manufacturing protocols, electronic testing integration, and ISO 26262 functional safety traceability built into the platform architecture rather than retrofitted onto legacy. Plant-specific migration: each plant migrated individually over 6-week cycles — German plants first (highest volume, highest complexity), then Czech, then Chinese and Mexican. (3) Catena-X integration: automotive supply chain connectivity. API-based data exchange: implementing Catena-X connectors enabling: real-time quality data sharing with BMW, Audi, and Mercedes assembly plants (quality measurements transmitted within minutes of production versus 24-hour batch reporting), supply chain visibility (current inventory, production schedule, and delivery forecast accessible through standardised Catena-X APIs), digital product passport (component-level traceability from raw material to finished part — meeting upcoming EU regulation requirements), and demand-capacity coordination (OEM demand signals triggering automatic production scheduling adjustments). The company becoming one of the first Tier-1 suppliers to achieve full Catena-X operational integration — creating competitive advantage in OEM nomination discussions. (4) Betriebsrat-aligned implementation. Works council engagement: formal Betriebsrat consultation initiated at programme start, including: detailed impact assessment for each employee group, training programme for production workers (new MES interfaces) and office workers (S/4HANA), data protection assessment (Datenschutzfolgenabschaetzung) for new sensor data collection, and explicit commitment that Industry 4.0 sensor data would not be used for individual employee performance monitoring. The Betriebsvereinbarung was amended to include specific provisions for the modernization programme — Betriebsrat approval secured through transparent engagement and genuine commitment to employee protection. Training: 1,200 employees trained on new systems — S/4HANA training for 400 office workers, MES training for 800 production workers. Training conducted during paid working hours per Betriebsrat agreement.
OutcomeResults over 12 months post-modernization. SAP S/4HANA: 4,200 custom programmes reduced to 1,400 (67 percent custom code reduction). Quarter-end financial close: from 12 days to 5 days (58 percent reduction through universal journal and eliminated reconciliation between parallel ledgers). German payroll: processing time from 5 days to 1 day (all customisations validated against Lohnsteuer-Handbuch). Production planning: JIT/JIS delivery compliance maintained at 99.7 percent through migration (no degradation). S/4HANA positioned the company for future upgrades without the custom code burden that had made R/3 upgrades impossible. Manufacturing (MES): cross-plant visibility achieved for the first time — production, quality, and OEE visible across all 8 plants on a single dashboard. Real-time quality: SPC replacing nightly batch analysis — quality deviations detected and addressed during production shift rather than next-day. OEE improvement: 4.2 percent average across plants (from 78.4 percent to 82.6 percent — representing EUR 16M in additional production capacity at current margins). EV production: new MES supporting clean room assembly, electronic testing, and ISO 26262 traceability for EV component manufacturing lines launched successfully. Catena-X: first Tier-1 supplier in company's peer group to achieve full Catena-X operational integration. Quality data transmission: from 24-hour batch to real-time (BMW receiving quality measurements within minutes of production). Supply chain visibility: OEMs accessing real-time inventory and production schedule. Competitive impact: Catena-X readiness cited as a factor in winning 2 new BMW nominations (estimated EUR 180M lifecycle revenue). Cost: legacy elimination: SAP R/3 licence and maintenance EUR 2.8M annually, legacy MES maintenance EUR 1.4M annually — EUR 4.2M total eliminated. Modern platform: S/4HANA cloud EUR 1.8M annually, MES platform EUR 600K annually — EUR 2.4M total. Annual infrastructure saving: EUR 1.8M. OEE improvement value: EUR 16M additional production capacity annually. Total modernization investment: EUR 6.4M over 44 weeks. Annual value (infrastructure saving + OEE improvement): EUR 17.8M. Payback: 5 months (driven primarily by OEE improvement). 5-year TCO: modern platform saving EUR 9M versus continued legacy operation, before OEE value.