Exploring SAP Business AI
Exploring Key Components and Applications of SAP Business AI
Introducing the Generative AI Copilot Joule
Introducing Agentic AI and Joule Agents
Introducing Business AI in SAP IBP
Leveraging Joule for Enhanced Planning
Applying AI in Demand and Inventory Planning
Enhancing Supply Planning and Exception Management with AI
The Future of AI in SAP IBP Intelligent Agents

Understanding AI in Demand Planning Preprocessing

Objective

After completing this lesson, you will be able to understand how SAP IBP uses AI and machine learning to improve forecast accuracy through automated data preprocessing.

Demand Planning Processing

SAP IBP's demand module incorporates advanced AI and classical machine learning features to enhance forecasting accuracy. Machine learning applications are used in pre-processing steps and within the statistical forecasting algorithm library.

This image explains how embedded machine learning supports business planning by segmenting data using unsupervised learning and detecting change points in historical trends to improve forecasting accuracy.

Your product's sales behavior isn't static. How do you ensure you're using the right forecasting model when underlying trends or demand patterns shift unexpectedly?

Segmentation and Time Series Analysis:

  • Processes such as ABC/XYZ segmentation group products by their properties, allowing for the selection of the most suitable forecasting method.

  • K-means clustering algorithms define segments automatically after the user selects the segmentation measure and desired number of segments. Segment thresholds are dynamically adjusted as data changes.

Change Point Detection:

  • Time series analysis detects whether data is continuous, intermittent, or has special trends/seasonality. Classical statistical methods are applied, with machine learning-based change point detection identifying significant shifts or structural breaks, such as level or trend changes from new sales or market shifts.

  • Detected change points can inform forecasting models, including multiple linear regression, ARIMAX/SARIMAX, and gradient boosting decision trees. This results in more stable forecasts and reduces manual intervention.

Diagram of automatic outlier correction using majority voting among MAD (probabilistic), DBSCAN (proximity), and Isolation Forest (ensemble). A balance metaphor shows decisions tipping to “outlier” or “not outlier.” Goal: combine methods to reduce false positives/negatives.

A single data anomaly, like a one-time bulk order, can throw off your entire forecast. How can you confidently and automatically clean your historical data without tedious manual intervention?

Automatic Outlier Correction with Voting Mechanism:

Outlier detection corrects anomalies in transactional data, combining multiple algorithms (variance, interquartile range, machine learning methods like MED, DBSCAN, and isolation forest). A data point is marked as an outlier only if the majority of methods agree, increasing robustness and automation.

Lesson Summary

  • Intelligent Data Segmentation uses K-means clustering to automatically group products by their properties (ABC/XYZ segmentation), allowing selection of the most suitable forecasting method while dynamically adjusting segment thresholds as data changes.
  • Change Point Detection applies machine learning to time series analysis to identify significant shifts or structural breaks in demand patterns, informing forecasting models like ARIMAX/SARIMAX and gradient boosting to produce more stable forecasts with reduced manual intervention.
  • Automatic Outlier Correction combines multiple outlier detection algorithms (MAD, DBSCAN, Isolation Forest) using majority voting to identify data anomalies with greater robustness, reducing false positives and negatives without tedious manual data cleaning.