Beyond ABAPdesigned by@Tejoram97
Beyond ABAP / SAP IBP / Capabilities, Processes & Data Model

Capabilities, Processes & Data Model

SAP IBP · Cloud LoB ·

Open the interactive lesson →
  1. The planning model at a glance
  2. Attributes, master data types, time profile and planning levels
  3. Key figures, calculations and disaggregation
  4. Planning operators, versions, scenarios and sample planning areas
  5. The monthly S&OP process
  6. Demand planning and statistical forecasting
  7. Supply planning: time-series and order-based
  8. Inventory optimization and demand-driven replenishment
  9. Response planning
  10. Alerts, control tower and collaboration
  11. Interview questions

Everything in IBP happens inside a planning area: a configurable data model of attributes, master data types, time profile, planning levels and key figures on SAP HANA. This page first explains that model – the part an architect and a technical consultant must be able to draw on a whiteboard – and then the business processes that run on it: the monthly S&OP cycle, demand planning and statistical forecasting, supply planning, inventory optimization, response planning, alerts, the control tower and collaboration. Product overview and architecture: page 01; how data gets in and out: page 03.

Part 1 – The planning model at a glance

The model is built bottom-up in the Fiori configuration apps (Attributes, Master Data Types, Time Profiles, Planning Areas). Each object is reused by the next one, and the planning area ties them together. A planning area must be activated before it can hold data; activation generates the HANA calculation scenarios that compute key figures (page 01 Part 5).

IBP planning model: attributes are grouped into master data types (simple, compound, reference, virtual, external); the planning area combines master data types, a time profile, planning levels, key figures and versions; planning operators and planning views work on the activated planning area

Object

What it is

Example

Attribute

A single field with data type and length

PRDID (product), LOCID (location), CUSTID, PRDFAMILY, CUSTREGION

Master data type (MDT)

A table of master data built from attributes, with key attributes

Product, Location, Customer, Location Product, Customer Product

Time profile

The calendar of the planning area: levels and periods

Day → technical week → week → month → quarter → year

Planning level

A combination of root attributes and a time level at which data is stored or calculated

MTHPRODCUST = month × product × customer

Key figure

A measure over time at a base planning level

Sales History Qty, Statistical Forecast Qty, Consensus Demand, Projected Inventory

Version

A separate copy of selected key figures (and optionally master data) for long-term alternatives

Base version, Upside version, Downside version

Planning area

The container that combines all of the above plus planning operators and settings

SAPIBP1 copy → ZIBP_MAIN

  • Design rule: start from an SAP sample planning area (Part 4.4) and copy it with a customer prefix; building from scratch is rare and loses SAP's sample planning views, alerts and dashboards.
  • Lock Master Data Type Prefix (Planning Areas app, General tab) keeps all MDTs of a planning area on one prefix; it enables copying with dependencies, partial merging, comparing planning areas and binary download / upload.

Part 2 – Attributes, master data types, time profile and planning levels

2.1 Master data types

Type

Definition

Example and rules

Simple

The basic category: one independent master data object with its own key

Product (key PRDID, attributes PRDDESCR, PRDFAMILY, UOM), Location, Customer, Resource

Compound

Combination of two or more MDTs; its key is the keys of its components – no other key attributes

Location Product (LOCID + PRDID): lot size, safety stock, procurement type

Reference

Takes its data from another MDT to give context; data cannot be loaded into it (avoids double maintenance); can have a filter condition

Ship-from Location referring to Location; Currency To referring to Currency

Virtual

A join of simple or compound MDTs, not physically stored

Location Product joined with Product attributes for one view; connects MDTs without a direct relationship

External

Data maintained outside the planning model: the source tables are replicated from SAP ERP into SAP HANA tables inside IBP and read from there

Used in the old SAP7-based order-based planning models for master data that comes from S/4HANA or ECC – outdated: no new external MDTs for OBP since 2305

  • Master data is loaded through data integration (CPI-DS, real-time integration, file upload, OData – page 03) or maintained in the master data apps or the Excel add-in.
  • In order-based planning the master data model is fixed by SAP (materials, plants, sources of supply, production data structures from S/4HANA); time-series planning areas are freely modelled.

2.2 Time profile

  • A time profile has an ID, a start and end date and a hierarchy of time profile levels – typically day, technical week, week, month, quarter, year. The planning area uses exactly one time profile.
  • A technical week splits a calendar week that crosses a month boundary into two parts, so weekly data aggregates exactly into months.
  • Planning horizons per planning area: how many periods into the past (history) and future (plan) are displayed and planned.

2.3 Planning levels

A planning level is a set of root attributes plus a time level. Root attributes are the keys that identify a data record; non-root attributes (e.g. product family) are used to aggregate and filter. Every stored key figure has a base planning level – the lowest level where its values are stored.

Planning level

Root attributes

Typical key figures

WKPRODLOCCUST

Week, product, location, customer

Sales history, statistical forecast, consensus demand

MTHPRODCUST

Month, product, customer

Sales plan, marketing forecast, price

WKPRODLOC

Week, product, location

Supply, projected inventory, safety stock

WKRESLOC

Week, location, resource

Capacity supply, capacity usage

  • Names follow SAP sample conventions (time level + attribute abbreviations); the exact levels depend on the planning area.
  • When a user views data at a higher level (product family × month), IBP aggregates on the fly; when he edits there, IBP disaggregates down to the base planning level (Part 3.3).

Part 3 – Key figures, calculations and disaggregation

3.1 Key figure types

Type

How the value is produced

Notes

Stored

Saved at its base planning level; loaded (e.g. sales history), entered by a planner or written by a planning operator

Only stored key figures can be editable

Calculated

Computed by a formula from other key figures and attributes each time it is read

Calculated at one or more planning levels, up to the REQUEST level (the level of the user's query)

Helper

Intermediate calculated key figure used by other calculations; not shown to users in planning views

Typical for ratios, last-period aggregation, cost calculations; normally no base planning level

Attribute as key figure

An attribute value (e.g. price, lot size from a master data type) used in calculations as if it were a key figure

Avoids storing the same value in every period

  • Key figures also have properties: aggregation mode (sum, average, minimum, maximum), disaggregation mode, decimal places, unit of measure / currency conversion, and whether they are visible and editable.
  • Key figures that drive the engines (e.g. sales history for forecasting, demand for the supply heuristic) have fixed technical roles in the operators; renaming or bypassing them breaks the operator.

3.2 Calculations

Calculations are written in the Planning Areas app as KEYFIGURE@PLANNINGLEVEL = expression. They support arithmetic, IF and ISNULL logic, references to other planning levels and to attributes. The two lines below are typical patterns (key figure names follow SAP sample content):

CONSENSUSDEMANDREV@MTHPRODCUST = CONSENSUSDEMAND@MTHPRODCUST * SALESFCSTPRICE@MTHPRODCUST
ZCAPAUTILPCT@REQUEST     = PCAPADEMAND@REQUEST / CAPASUPPLY@REQUEST * 100
  • The first line computes revenue at the base level; the second computes a utilization percentage at REQUEST level from a helper key figure, so that it is correct at every aggregation level (a ratio must not be summed).
  • Activation checks the calculation graph: cycles, mismatched input / output attributes and calculations not allowed for the aggregation mode are typical activation errors.

3.3 Disaggregation

Mode

Behaviour when a planner changes an aggregated value

Proportional (by itself or by another key figure)

Spreads the change in proportion to the existing values or to a basis key figure – e.g. a product-family forecast split by last year's sales history

Equal split

Divides the value equally across all members

Copy value

Copies the same value to every member (used for prices, percentages)

  • Choosing the right disaggregation basis is a key design decision: a poor basis (e.g. zero history for new products) produces unrealistic detailed plans.

Part 4 – Planning operators, versions, scenarios and sample planning areas

4.1 Planning operators

A planning operator is a batch function on the planning area. Operators are configured in the Planning Operators app, linked to the planning area, and run from the Excel add-in, from the Application Jobs app (job templates, scheduling, job chains) or after a data load.

Operator type

What it does

Statistical forecasting

Runs a forecast model on sales history (Part 6)

Supply planning (S&OP / time-series)

Runs the time-series supply heuristic or optimizer (Part 7)

Inventory optimization

Calculates recommended safety stock and inventory targets (Part 8)

Order-based planning runs

Constrained forecast, supply planning, deployment, order confirmation (Part 7, Part 9)

Copy

Copies key figure values (e.g. statistical forecast → consensus demand, or between versions)

Disaggregation

Disaggregates a key figure in batch with a defined basis

Snapshot / redo snapshot

Freezes key figure values at a point in time – e.g. lag-based snapshots for forecast accuracy by lag

Purge

Deletes key figure data for a selection (housekeeping)

Advanced simulation / scenario operators

Copy and promote data between scenarios and versions

4.2 Versions

  • Each planning area has a base version; additional versions are defined in the planning area with the key figures (and optionally version-specific master data) they contain.
  • Versions are long-living alternatives – e.g. budget vs latest estimate, or upside / downside demand cases reviewed in executive S&OP.

4.3 Scenarios

  • A scenario is a what-if copy that a planner creates from a version in the Excel add-in. Changes and simulations stay in the scenario until it is promoted to its version, or it is deleted.
  • Scenarios can be shared with other users (e.g. supply planners review a demand scenario before the S&OP meeting).
  • Simulation in Excel (simulate a change and recalculate without saving) is the lightest form of what-if; scenarios persist it; versions make it official.

4.4 Sample planning areas

Sample

Purpose

Status

SAPIBP1

Unified time-series sample: S&OP, demand, inventory, time-series supply, control tower content in one planning area; included in every tenant

Main time-series template for years

SAP7 / SAP7F

Order-based planning (response and supply); SAP7F is the flexible variant

As of 2408, new order-based planning areas are based on SAP7F and set up with the Application Mappings app

SAP74

Intended to combine time-series and order-based supply in one area

Older sample – no longer listed in the current sample planning areas (2611); TS + OBP so far = combination of SAP7 and SAP4

I_SAPIBP2 – Harmonized Planning Area (HPA)

One planning area for demand (incl. demand sensing), inventory (multi-stage), time-series supply (optimizer, infinite heuristic) and order-based planning (supply, response, deployment)

First shipped with 2508; SAP's direction for new implementations

  • Each sample comes with its planning views, alerts, dashboards and sample data – a strong reason to stay close to the sample.
  • Older application-specific samples have been deprecated over the releases; development focus is on the Harmonized Planning Area (template choice: page 05).

Part 5 – The monthly S&OP process

Sales and operations planning is a monthly management process that balances demand and supply and ties the operational plan to the financial plan. IBP supports it with planning views per step, versions and scenarios for alternatives, dashboards for the meetings and process management (process templates with steps, owners, due dates and tasks).

Monthly S&OP cycle in IBP: product and portfolio review, demand review, supply review, pre-S&OP (financial reconciliation), executive S&OP; the approved consensus plan goes to S/4HANA and the next cycle starts with actuals

Step (typical week)

Who

What happens in IBP

Output

1. Product and portfolio review

Product management

New and phased-out products, life-cycle planning, product substitution

Updated portfolio and NPI assumptions

2. Demand review

Demand planning, sales, marketing

Statistical forecast, sales and marketing input, promotions, forecast error review

Consensus demand (units and value)

3. Supply review

Supply planning, operations, procurement

Supply heuristic / optimizer on consensus demand, capacity check, inventory targets

Constrained supply plan, capacity issues, scenarios

4. Pre-S&OP (reconciliation)

S&OP owner, finance

Compare plan in value with budget, prepare decisions and scenarios

Recommendations and open decisions

5. Executive S&OP

Management

Dashboards, scenario comparison, decisions

Approved operating plan

  • After approval the plan is released to execution: the consensus demand (or the constrained demand) is sent to S/4HANA as planned independent requirements, inventory targets as safety stock (page 03).
  • Horizon typically 18–36 months in monthly buckets; S&OP looks at product families and regions, not individual SKUs – aggregation and disaggregation (Part 3) make this possible on one model.
  • Process management tracks the cycle: each step has tasks that can be synchronised to a collaboration tool (Part 10).

Part 6 – Demand planning and statistical forecasting

Demand planning flow: sales history is cleansed in preprocessing (missing values, outliers, promotion lift), forecast algorithms produce statistical forecast, postprocessing computes ex-post forecast and error measures; planners and sales add input to reach consensus demand; demand sensing refines the short term

6.1 Forecast models

A forecast model (Manage Forecast Models app) defines the input key figures (e.g. sales history, independent variables), the periods used, and three groups of steps. It is assigned to a statistical forecasting operator and can be run for different product / customer segments.

Step

Options (examples)

Purpose

Preprocessing

Substitute missing values, outlier correction, promotion sales lift elimination

Clean the history so the algorithm learns the baseline

Forecasting algorithms

Simple / weighted moving average, single, double and triple exponential smoothing, automated exponential smoothing, Croston (sporadic demand), multiple linear regression, auto-ARIMA / SARIMAX, gradient boosting of decision trees (machine learning with independent variables)

Produce the statistical forecast; several algorithms can run in one model

Postprocessing

Ex-post forecast, error measures (MAPE, MAD, RMSE and others), selection of the best algorithm or a weighted combination

Measure accuracy and choose the best result

  • Ex-post forecast: the model forecasts past periods with the data available before them; comparing it with actual history gives the forecast error. It is saved in its own key figure (e.g. Ex-Post Forecast Qty).
  • Croston uses the gaps between demands, so in its preprocessing missing values must be substituted with zero and outlier correction should be avoided.
  • Forecast accuracy over time is measured with lag-based snapshots: the forecast made N periods before is compared with the actual sales.

6.2 From statistical forecast to consensus demand

  • Statistical forecast (engine) → demand planner adjustments → sales forecast and marketing forecast (events, promotions) → consensus demand, often as a weighted or rule-based combination in a calculated key figure, then approved in the demand review.
  • Demand sensing uses very recent signals (open sales orders, shipments, short-term patterns) to correct the near-term forecast daily or weekly, typically for the next few weeks; a variant combines demand sensing with gradient boosting.
  • New products and phase-in / phase-out are handled by life-cycle planning (reference products, phase-in / phase-out profiles).

Part 7 – Supply planning: time-series and order-based

Supply planning answers how the network can meet demand: from which location, produced on which resource, bought from which supplier, transported on which lane. IBP has two technical flavours.

Supply planning engines: time-series planning with infinite heuristic, priority-based finite heuristic and cost-based optimizer on aggregated buckets; order-based planning with S/4HANA orders, heuristics, optimizer and deployment; results go back as planned orders, purchase and stock transport requisitions

7.1 Time-series supply planning

  • Network model: customer sourcing (which location ships to which customer), location sourcing (transport lanes between locations), production sourcing (components, resources, yields) and external procurement – modelled as master data types in the planning area.

Engine

Logic

Use

Infinite heuristic

Plans all demand without capacity limits, backwards through the network with lead times

Shows unconstrained requirements and capacity overloads – the first S&OP view

Finite heuristic

Plans demand by priority and respects capacities

When business priorities matter more than costs

Optimizer

Finds a cost-minimal feasible plan (mathematical optimization over costs of production, transport, storage, non-delivery, capacity)

Constrained network plans, make-or-buy, sourcing decisions

  • Outputs are key figures: supply quantities per source, projected inventory, capacity utilization, constrained demand and unmet demand.

7.2 Order-based planning (OBP)

  • Works on individual orders and S/4HANA master data replicated by real-time integration (page 03): sales orders, stock, planned and production orders, purchase requisitions and orders, stock transport orders, with materials, plants, sources of supply and production data structures.
  • Planning runs create order proposals (planned orders, purchase requisitions, stock transport requisitions) that can be sent back to S/4HANA.
  • Deployment distributes available supply (stock, receipts) to demand when supply is short, with a priority-based deployment heuristic or a cost-based deployment optimizer.
  • Results are shown in planning views as key figures derived from the orders, and in order-level apps.

Aspect

Time-series

Order-based

Data

Quantities per bucket and attribute combination

Individual orders with dates

Model

Freely configurable planning area

SAP-defined order model + flexible key figures

Horizon

Mid- to long-term (S&OP, tactical)

Short- to mid-term (operational, response)

Integration

Batch (SAP Cloud Integration or CPI-DS)

Near real time (real-time integration with S/4HANA)

Result to ERP

Aggregated plan (e.g. PIRs, safety stock)

Order proposals, confirmations

Part 8 – Inventory optimization and demand-driven replenishment

8.1 Inventory optimization

Inventory optimization calculates how much safety stock each location-product needs to reach a target service level at minimal inventory cost. Uncertainty comes from forecast error, lead-time variability and supply variability.

Topic

Content

Inputs

Demand forecast and forecast error (from IBP for demand), lead times and their variability, lot sizes and review periods, network structure, target service level per customer-facing location

Service level

Type 1 (probability of no stock-out per replenishment cycle) or type 2 (fill rate – share of demand served from stock)

Single-stage

Each location optimized independently

Multi-stage (MEIO)

Optimizes the whole network together: where to hold buffer stock (e.g. more at the central DC, less at regional DCs) for the same end-customer service level

Outputs

Recommended safety stock, cycle stock, pipeline stock, target inventory position – written to key figures, reviewed by the inventory planner

To execution

Approved safety stock goes to S/4HANA (material master or time-dependent safety stock) and to the supply heuristic / optimizer in IBP

8.2 Demand-driven replenishment (DDMRP)

  • Strategic buffer positioning: decide at which bill-of-material and network levels to place decoupling points that absorb variability.
  • Buffer sizing: red, yellow and green zones from average daily usage, decoupled lead time and variability factors; buffer proposals adjusted over time.
  • Execution in S/4HANA: the buffers are transferred to S/4HANA, where demand-driven MRP replenishes against the net flow position. IBP designs the buffers; S/4HANA executes them.

Part 9 – Response planning

Response planning (part of IBP for response and supply, order-based) answers "what do we do now?" when demand or supply changes in the short term – a supplier delay, a machine breakdown, a large new order.

Function

What it does

Constrained forecast run

Plans the forecast against supply constraints and shows which demand can be met

Demand prioritization

Rules rank demands (customer segment, order type, due date) so that scarce supply goes to the most important demand

Allocations

Plans product allocations per customer or channel from the constrained plan

Order confirmation

Plans sales orders against supply and allocations and returns confirmed quantities and dates to S/4HANA

Supply planning run and deployment

Creates order proposals and distributes supply (Part 7.2)

Gating factor analysis

Explains why a demand is late or short: which component, capacity or lead time is the bottleneck

Scenarios

Simulate a change (delay a receipt, add capacity), compare with the baseline, then promote and send the result to S/4HANA

  • Response planning depends on accurate, near-real-time order data – real-time integration and master data quality are the critical success factors (page 03, page 05).
  • Boundary with S/4HANA: aATP still checks availability at order entry in S/4HANA; IBP response re-plans the network and can update confirmations in batch. Who confirms what must be designed explicitly.

Part 10 – Alerts, control tower and collaboration

10.1 Custom alerts and cases

  • Alert definitions are rules on key figures (e.g. projected inventory below safety stock in the next 4 weeks, forecast error above 40 %, capacity utilization above 100 %), with severity, planning level and filters.
  • Users subscribe to alerts; the alert overview and planning views show them; alerts can be calculated by a scheduled job.
  • Case management turns an alert into a case with owner, status and tasks, so exceptions are worked off and documented.

10.2 SAP Supply Chain Control Tower

  • End-to-end visibility across the network: KPIs, dashboards and analytics on planning and actual data from IBP and connected systems.
  • Exception management with custom alerts and cases, drill-down into the planning views to resolve them.
  • Dashboards can be filtered by version or scenario – the same dashboards are used in the S&OP meetings.

10.3 Collaboration

  • Process management: process templates with steps (Part 5), owners and due dates; tasks of a step can be synchronised to SAP Build Work Zone or Microsoft Teams (task plans and buckets), with SAP Jam used in older setups. Recent releases also post S&OP step updates to Teams channels.
  • Comments and notes on planning views document why numbers were changed.
  • Suppliers and customers: external collaboration (forecast / commit, purchase order confirmations) runs through SAP Business Network, not inside IBP (page 01 Part 2).

Part 11 – Interview questions

Q1. What is a planning area and what does it contain?

The IBP data model: attributes grouped into master data types, a time profile, planning levels, key figures with their calculations, versions and the assigned planning operators. It is usually copied from an SAP sample with a customer prefix and must be activated, which generates the HANA calculation scenarios.

Q2. Explain the master data types in IBP.

Simple (one independent object, e.g. Product), compound (combination of MDTs, key = component keys, e.g. Location Product), reference (takes data from another MDT, no own data load), virtual (join of simple or compound MDTs, not stored) and external (data replicated from ERP tables into HANA tables in IBP, used in the old SAP7-based order-based planning; no new external MDTs for OBP since 2305).

Q3. What is the difference between stored, calculated and helper key figures?

Stored key figures keep values at a base planning level and are the only editable ones. Calculated key figures are computed from formulas whenever they are read. Helper key figures are intermediate calculations used by other key figures and not shown in planning views.

Q4. What is a planning level and the base planning level?

A planning level is a combination of root attributes and a time level, e.g. week × product × location. The base planning level of a key figure is the lowest level at which it is stored; higher levels are aggregated on the fly and edits there are disaggregated down.

Q5. Why are some calculations done at REQUEST level?

Ratios and percentages must be calculated after aggregation: utilization = capacity demand / capacity supply at the level the user queries. Summing percentages calculated at the base level would be wrong.

Q6. What is the difference between a version and a scenario?

A version is a configured, long-living alternative plan (e.g. budget, upside) with its own key figure data. A scenario is a user-created what-if copy of a version in Excel; its changes stay separate until the scenario is promoted to the version or deleted.

Q7. Walk me through the monthly S&OP process in IBP.

Product review, demand review (statistical forecast + sales and marketing input → consensus demand), supply review (heuristic or optimizer, capacity check), pre-S&OP (financial reconciliation, scenarios) and executive S&OP (decision on the operating plan). Process management tracks the steps; the approved plan goes to S/4HANA as PIRs and safety stock.

Q8. How does statistical forecasting work in IBP?

A forecast model has preprocessing (missing values, outliers, promotion lift), one or more algorithms (moving averages, exponential smoothing, Croston, regression, ARIMA, gradient boosting) and postprocessing (ex-post forecast, MAPE and other error measures, best-fit selection). It runs as a planning operator; demand sensing refines the short term.

Q9. What is an ex-post forecast?

A forecast for past periods made as if those periods were unknown. Comparing it with actual history gives the forecast error used to choose and tune algorithms; it is stored in its own key figure.

Q10. Infinite heuristic, finite heuristic or optimizer – when do you use which?

Infinite heuristic for unconstrained requirements and to see overloads; finite heuristic when demand priorities must be respected under capacity limits; optimizer for a cost-minimal constrained plan with sourcing and make-or-buy decisions.

Q11. What is the difference between time-series and order-based supply planning?

Time-series plans quantities per bucket in a freely modelled planning area, loaded in batch, for tactical planning. Order-based planning works on individual S/4HANA orders and master data replicated in near real time, creates order proposals and confirmations, and supports deployment and response.

Q12. What does multi-stage inventory optimization add over single-stage?

It optimizes safety stock across all network stages together, deciding where buffers are cheapest for the same end-customer service level (e.g. more at a central DC, less at regional DCs). Single-stage treats each location independently and usually holds more total stock.

🏠 Start Here · ◀ 01 · Overview & Architecture · 03 · Integration ▶ · Sections: CORE ABAP | OOPS ABAP | ABAP on HANA | Clean Core | RAP | ABAP Points | SAP Fiori | SAPUI5 | Mobile Development (MDK) | BTP Foundations | BTP Development | CAP | SAP Build | ABAP on BTP | Integration Suite | SAP Business AI | SAP BASIS | Security | SAP SDLC

Functional: FICO ABAP | TRM ABAP | VIM | SAP BIS | SD ABAP | MM ABAP | PP ABAP | QM ABAP | PM ABAP | PS ABAP | EWM | TM ABAP | GTM ABAP | EHS ABAP | HR ABAP | BW | SAP Datasphere | SAP Business Data Cloud | SAP MDG | SAP Analytics Cloud | SAP Ariba | SAP CX | SAP IBP