MLOps for SAP Analytics
As of 2026-11-08
Most ML projects fail after the model already works: a churn model that reaches 85% AUC in a notebook against ACDOCA data represents only about 20% of the engineering needed to run it safely in production. The other 80% — CI/CD for model code, a HANA-based feature store, and drift monitoring — is what separates a model that decays silently within months from one that survives contact with real SAP data. This module is the architecture-level playbook: wire SAP AI Core's Applications, Configurations, Executions, and Deployments to a HANA or Datasphere feature store, catch schema-specific failures (blank BUKRS, hierarchy # values) before they reach production, and instrument the three drift types that decide when to retrain. Consultants who can do all four — ML engineering, SAP data architecture, monitoring, and SAC or S/4HANA delivery — work at architecture and technical-leadership level rather than as data scientists.
What you will learn
- Architect a complete model lifecycle on SAP AI Core using Applications, Configurations, Executions, and Deployments — packaging training and serving code in Docker containers with hana-ml feature extraction, model artefact storage in BTP Object Store, and endpoint registration in SAP AI Launchpad.
- Design a training-serving skew prevention strategy using HANA Calculation Views or Datasphere persistent views as the feature computation layer, and hana-ml ModelStorage for versioned model persistence, so that inference features are byte-equivalent to training features.
- Implement a production ML monitoring pipeline that distinguishes data drift, concept drift, and label drift — using statistical tests on feature distributions written back to HANA, joined to ground-truth outcome tables, and surfaced as a SAC operational dashboard with SAP Alert Notification Service triggers.
- Build a CI/CD pipeline for ML model code that includes SAP-data-schema-specific unit tests (covering HANA field edge cases such as blank BUKRS, hierarchy # values, and missing fiscal periods), Docker image build and push, and automated Execution creation in SAP AI Core via the ai_core_sdk.
The Gap Between a Working Notebook and a Production ML System
The most expensive mistake in ML projects is treating the model training phase as most of the work. Training a gradient-boosted churn model in a Jupyter notebook against a snapshot of ACDOCA data and achieving 85% AUC is perhaps 20% of the engineering required to make that model reliable in production. The remaining 80% is what MLOps addresses: reproducible pipelines, continuous integration for model code, deployment infrastructure, monitoring, retraining triggers, and rollback procedures. For SAP analytics consultants, the specific challenge is that this 80% must integrate with SAP AI Core and SAP AI Launchpad on BTP, with HANA or Datasphere as the feature store, and with SAC or custom UIs as the consumption layer. (Illustrative example; the percentages are the author's rough estimate, not a measured share.)
Prerequisites
- Intermediate hands-on experience on SAP analytics projects
- Review core concepts first: C363, C364, C032
Outcomes
- Work through a realistic scenario: A European industrial distributor runs finance and sales operations on S/4HANA and BW/4HANA. A churn-risk model built in a notebook against ACDOCA and CRM data reached 85% AUC six months ago and has never been retrained; nobody can say with confidence whether it still works.
- Recognize and avoid the anti-pattern: Calling a notebook with a good AUC 'production-ready' — The model ships without a feature store, CI, monitoring, or rollback path, and degrades silently within months — exactly the failure an MLOps-literate consultant is hired to prevent.
- Apply the module's core decision: Feature computation: HANA/Datasphere view vs Python preprocessing — choose: Push every feature transformation into a HANA Calculation View or a Datasphere persistent view, and read it identically from training and serving code via hana-ml; avoid: Writing feature logic once in a training notebook's pandas code and re-implementing it 'similarly' in the serving container — training-serving skew is rarely caught until model quality has already degraded.
- Track mastery with the KPI: Training-serving feature parity (target: 0 feature-value mismatches on a shared validation batch; red flag: Any systematic mismatch — most often a rolling-window boundary or NULL-handling difference — must block deployment, not just get logged).
Full module with the Consultant plan — €19.90/month. The full module adds: the decision framework · the end-to-end scenario walkthrough · the KPI scorecard · the anti-patterns · the code blocks · the knowledge check · the diagrams.