Unit 4: Forecast
The material forecast turns historical consumption into expected future demand. This unit explains forecast prerequisites and models, how the first forecast initializes and optimizes a model, how to run and check forecasts, and how three planning procedures use the results: forecast-based planning, time-phased planning and automatic reorder point planning.
Lesson 1 · Explaining Basics of the Forecast
After this lesson you can
- State the prerequisites for a material forecast
- Recognise the forecast models
- Choose a model selection option
Prerequisites
- Forecast parameters in the material master (Forecasting view) – forecast model, period indicator, number of periods, etc.
- Historical consumption values. They are updated automatically by goods issues; you can check and correct them before forecasting and enter history manually for a first forecast.
- Whether a movement type updates planned, unplanned or no consumption is defined in movement type Customizing (OMJJ). E.g. a goods issue to a cost center (
201) updates unplanned consumption if it was not reserved. - Without history, use a reference material (another material, or the same/another material in another plant) for consumption values.
- The period indicator sets the forecast period: monthly, weekly, daily or per fiscal year variant (posting periods).
- Forecast results only affect MRP if the forecast indicator of the MRP type is set (OMDQ).
Forecast models
| Model | Consumption pattern |
|---|---|
| Constant | Values fluctuate only slightly around a stable mean |
| Trend | Mean rises or falls steadily over a long period, with small fluctuations |
| Seasonal | Recurring peaks and troughs around a constant mean |
| Seasonal trend | Recurring peaks and troughs around a rising or falling mean |
| (Irregular) | No recognizable pattern |
Model selection
| Option | How it works |
|---|---|
| Manual | You analyse history yourself and enter the model |
| Manual with additional system check | You enter a model, and the system also tests the history for trend and/or seasonality |
| Automatic | The system tests history for trend, seasonal or seasonal trend patterns; if none found, it uses the constant model |
- Trend model = continual increase or decrease of the mean.
- No history → reference material; period indicator controls the forecast period.
- Consumption update (planned/unplanned/none) is a movement type setting.
- Forecast indicator in the MRP type decides if results are used in planning.
Lesson 2 · Executing and Postprocessing the Forecast
After this lesson you can
- Explain model initialization, ex-post forecast and parameter optimization
- Execute individual and total forecasts
- Check, correct and monitor forecast results
First forecast
Model initialization
Determines model parameters (basic value, trend value, seasonal indices). It happens automatically in the first forecast and must be repeated after a structural break when the previous model no longer fits. The number of initialization periods can be entered in the Forecasting view.
| Model | Parameters | Minimum historical values |
|---|---|---|
| Constant | Basic value | 1 |
| Trend | Basic value, trend value | 3 |
| Seasonal | Basic value, seasonal indices | 13 |
| Seasonal trend | Basic value, trend value, seasonal indices | 15 |
Ex-post forecast
A forecast for past periods. If more history exists than initialization needs, the history is split: the older part initializes the model, the newer part is "forecast" in parallel with actual consumption, and the comparison tunes the parameters to recent behaviour. It is also used when skipping periods, evaluating forecast quality and optimizing parameters. Only possible with exponential smoothing models.
Exponential smoothing
The constant model uses first-order exponential smoothing: the newer a value, the more weight it gets. The new basic value is computed from the previous basic value, the latest consumption value and the smoothing factor alpha: new basic value = previous basic value + α × (latest consumption − previous basic value). With α = 0.5 the most recent value weighs 50 %, the one before 25 %, then 12.5 % and so on. The forecast value equals the basic value of the last ex-post period.
Parameter optimization
If set in the material master, the system simulates ex-post forecasts with gradually increasing smoothing factors (step size = optimization level). A second pass refines the area with the lowest mean absolute deviation; the combination with the lowest MAD wins. Only for exponential smoothing.
Executing the forecast
| Method | Scope | T-code |
|---|---|---|
| Individual forecast | One material in one plant; interactive, can be repeated with changed settings; results saved with the material master | MP30, or from the Forecasting view in MM02 |
| Total forecast online | All materials of a plant or all plants | MP38 |
| Total forecast in background | Same, recommended to avoid system load; log list if "Log record" set | MPBT |
Postprocessing
- Online check: errors/exceptions in the total forecast are logged as exception messages assigned to error classes; faulty materials are marked for postprocessing and can be selected by error class.
- List check: print the forecast results online (MP39) or in background (MPDR); select "Log" to include procedural and exception messages.
- Example exceptions: no history; safety stock not calculated because service level is 0; consumption pattern changed.
SPRO › Materials Management › Consumption-Based Planning › Forecast › Assign Forecast Errors to Error Classes (OMDK)
Influencing the result
- Correction values adjust historical values (e.g. outliers) or forecast values; corrected forecast values are firmed automatically and not overwritten by later runs. Forecast values can also be fixed manually.
- Number of historical periods: default and maximum 60; fewer periods limit the history considered.
Error measurement
| Measure | Meaning |
|---|---|
| Error total | Sum of signed differences forecast − actual; for a valid model roughly normally distributed around zero |
| Mean absolute deviation (MAD) | Average of the absolute errors – measures accuracy; also input for safety stock calculation |
| Tracking signal | Error total ÷ MAD; if it exceeds the tracking limit (default 4, changeable in the material master) the controller gets an exception suggesting the model be checked |
- Minimum history: constant 1, trend 3, seasonal 13, seasonal trend 15.
- Exponential smoothing inputs: previous basic value, latest consumption, alpha – not MAD.
- Forecast options: individual (incl. from material master), total online, total background. No "interim forecast".
- Tracking signal = error total / MAD; default tracking limit 4; max 60 historical periods.
Lesson 3 · Performing Forecast-Based Planning
After this lesson you can
- Explain how forecast requirements drive MRP
- Use the splitting indicator and safety stock settings
- Perform backward scheduling
Key concepts
In forecast-based planning (standard MRP type VV) the forecast values become requirements for MRP. Proposals are created when cumulative forecast demand up to a date exceeds cumulative firmed receipts (stock, production orders, POs, firmed planned orders and requisitions) up to that date. No planned independent requirements need to be maintained. Forecasts are re-run regularly, so demand follows actual behaviour; every goods withdrawal reduces the forecast requirement so the consumed part is not planned twice. Make sure all past consumption is posted before forecasting new periods.
Forecast requirements in MRP
- Each period's forecast requirement is dated on the first working day of the period.
- The splitting indicator breaks coarse forecast periods into a finer MRP pattern (e.g. monthly into weekly) and defines how many forecast periods are included in MRP. Reductions are spread proportionally. Defined per plant and periodicity in OMDG and assigned in the material master.
- Only forecast requirements count as issues; sales orders and reservations are displayed but not netted.
- The share of safety stock available for netting is set in the MRP group (OPPZ).
- Dynamic safety stock via a range of coverage profile in the material master.
- MRP Live hands
VVmaterials to classic MRP. Forecast demand is semantically close to planned independent requirements, which can be created from it.
SPRO › Materials Management › Consumption-Based Planning › Forecast › Define Splitting of Forecast Requirements for MRP (OMDG)
SPRO › Materials Management › Consumption-Based Planning › Planning › MRP Calculation › Define Range of Coverage Profiles (Dynamic Safety Stock)
Backward scheduling
If backward scheduling yields a start date in the past, the system switches to forward scheduling, unless the plant parameters allow start dates in the past. As an alternative to safety stock, a safety time (MRP 2: safety time indicator + days) brings requirement dates forward.
VV: only forecast requirements are netted; external requirements are not.- Splitting indicator defines the number of forecast periods considered in MRP and the finer split.
- Backward scheduling: release date determined backwards from requirements date; opening period counted back from start date; switch to forward scheduling if start in the past. Purchasing time is subtracted, not added.
Lesson 4 · Performing Time-Phased Planning
After this lesson you can
- Set up time-phased planning with a planning cycle
- Explain the interval used in the net requirements calculation
Key concepts
Time-phased planning plans a material only on fixed days – ideal when a supplier delivers on, say, every Tuesday. In the material master you enter a time-phased MRP type and a planning cycle (a planning calendar defining planning days). Planning calendars are maintained with MD25 and can also be used for scheduling (lot-size PK).
The planning file holds a planning date for each such material, set when the material is created and after each run, calculated from the planning cycle. The run plans the material only on that date. You can also enter a planning date in the run to plan earlier (e.g. Friday instead of Monday).
Net requirements interval
Planning date + planning cycle + purchasing processing time + planned delivery time + GR processing time
Forecast requirements in this interval are compared with stock plus fixed and firm receipts, and the order quantity is calculated. Lot-for-lot is the usual lot size; optimizing procedures are also possible. Because fixed receipts are assumed somewhere within the interval, temporary shortages can occur.
Combined with a reorder point
The material is planned on its planning date or when a goods issue drops stock below the reorder point. In the latter case the interval runs from the shortage to the availability date of the next regular planning date; afterwards regular cycles resume.
- Interval: MRP/planning date + cycle + purchasing time + planned delivery time + GR time (all four lead-time parts!).
- Planning cycle = planning calendar (MD25) in the material master.
- Time-phased planning can include external requirements and can be combined with a reorder point; not supported by MRP Live.
Lesson 5 · Performing Automatic Reorder Point Planning
After this lesson you can
- Explain how the forecast calculates reorder point and safety stock
- Choose a service level
Key concepts
In manual reorder point planning (VB) you enter reorder point and safety stock yourself; in automatic reorder point planning (VM) the forecast run calculates both and writes them into the material master. Because the forecast runs regularly, both values adapt to current consumption and delivery behaviour – which tends to reduce stock.
Reorder point = safety stock + average daily requirement × RLT
Safety stock is calculated from the RLT, the service level (converted into a factor of the normal distribution) and the mean absolute deviation. The service level is the share of demand that stock should be able to cover; the higher it is, the larger the safety stock. Allowed range 60 %–99.9 %; 90–95 % is a good starting point to experiment with.
A minimum safety stock in MRP 2 sets a floor: if the calculation results in less, the minimum is used.
A service level of 0 means no safety stock is calculated – and the forecast logs an exception for it.
VM= automatic ROP; MRP type must allow automatic calculation of reorder point/safety stock.- Safety stock inputs: RLT, service level, MAD.
- Service level 60–99.9 %; minimum safety stock in MRP 2.
Unit summary & exam focus
Forecasts need parameters and history; models (constant, trend, seasonal, seasonal trend) are chosen manually or automatically, initialized, tuned by ex-post forecast and optimization, and monitored with error total, MAD and tracking signal. Forecast-based planning nets forecast requirements with backward scheduling; time-phased planning plans on calendar days over a defined interval; automatic ROP planning lets the forecast compute safety stock and reorder point.
T-codes in this unit
| T-code | Purpose |
|---|---|
| OMJJ | Movement types (consumption update) |
| OMDQ | MRP types (forecast indicator) |
| MP30 | Individual forecast |
| MM02 | Change material (Forecasting view) |
| MP38 | Total forecast online |
| MPBT | Total forecast in background |
| MP39 | Print total forecast |
| MPDR | Print total forecast in background |
| OMDK | Assign forecast errors to error classes |
| OMDG | Splitting of forecast requirements for MRP |
| OPPZ | MRP groups (safety stock share) |
| MD25 | Create planning calendar periods |
Self-check questions
- How many historical values does the seasonal model need at least?
Answer
13 (seasonal trend: 15). - What is an ex-post forecast?
Answer
A forecast for past periods based on older history, compared with actual consumption to tune model parameters; only for exponential smoothing. - How is the tracking signal calculated and what is the default tracking limit?
Answer
Error total divided by mean absolute deviation; default limit 4. - Which indicator defines how many forecast periods enter MRP in forecast-based planning?
Answer
The splitting indicator (OMDG). - In forecast-based planning, are sales orders netted?
Answer
No; they are displayed but only forecast requirements are considered as issues. - Give the interval formula for time-phased planning.
Answer
Planning date + planning cycle + purchasing processing time + planned delivery time + GR processing time. - Which data does the system need to calculate safety stock in automatic ROP planning?
Answer
Replenishment lead time, service level and mean absolute deviation.