Skip to Content
Technical Articles
Author's profile photo Ali Malik

Using ABC-XYZ analysis to optimise your forecast in SAP APO


In any organisation, it is vital to maintain the demand and supply equilibrium. This objective drives the planning community to work on producing the right product mix and keeping optimal inventory levels whilst maintaining customer service levels – all of course within financial boundaries! 

Demand Planners are expected to forecast more Product/Location combinations, but it would be unrealistic to expect equal focus and importance to be placed on every item. We therefore need a tool which helps focus their attention and prioritise their work load to add real value to the forecast. Standard Supply Chain practice centres around ABC-XYZ analysis, the ABC part of which is based on the Pareto principle, i.e. a limited number of tasks produce a significant overall effect (explained further later).

The ABC dimension is usually based on value (margin or revenue) or volume of the sales, whereas the XYZ dimension looks at the forecastability of the demand, i.e. how hard is it to predict future sales from the variability previous sales? The use of segmentation allows for different forecasting procedures to be applied to different segments of ABC-XYZ, moving away from the ‘one size fits all’ mentality to forecasting. This can drive better forecast accuracy once the optimal forecast profiles have been assigned based on the segmentation.

In this blog post I am going to explain how ABC-XYZ functionality in the Demand Planning (DP) module of SAP’s Advanced Planning and Optimisation (APO) application would help leverage this.


ABC-XYZ functionality was first introduced in Enhancement Pack (EHP) 2 of SAP SCM 7.0 (note APO sits within the SCM product from SAP) and was included in a suite of tools made available under the forecast accuracy improvements area. This segmentation tool will group forecast combinations (CVCs) together based on their sales/revenue value and the forecastability of sales.

Understanding the mechanism behind the tool

The planning object for ABC-XYZ is setup based on the characteristics within the CVC and needs to be defined with configuration. Note that it is not possible to set up a planning object against a navigational attribute.

The calculation for the ABC dimension is completed using Pareto’s rule on each planning object within a specific time range. Pareto’s rule defines that 80% of the effects come from only 20% of the causes. An example of this may be 80% of sales value coming from only 20% of the product base. Using Pareto’s rule allows demand planners to focus on which products are driving this 80%, with the rest of 20% of focus being managed by exception.
Once the systems runs the ABC analysis, the process assigns each planning objects with one of these indicators:

  • A – the most given number of objects which produce the greatest value (e.g. the 20% of products which produce 80% of the volume)
  • B – lesser value than A (e.g. products which produces 15% of the volume
  • C – the least given number of objects which product the least value – the rest!

The ABC tool has the flexibility to allow user defined splits for the classes and the ability to add extra classes if required, e.g. A, B, C, D. 

The calculation of XYZ is completed by looking at the variance of coefficient of sales in a specified time period. Once the systems runs the XYZ analysis, the process assigns the planning objects with these indicators:

  • X – very small variation (regular pattern of demand that is easy to predict)
  • Y – some variation (neither regular nor irregular demand)
  • Z – the most variation (irregular, sporadic or very difficult to predict demand)

The XYZ tool can also highlight ‘New’ and ‘Obsolete’ planning objects. The chart below shows example forecast behaviours of each ABC-XYZ combination. Note that this 9-box approach of ABC-XYZ could also be a 4-box approach of AB-XY if this helps reduce complexity and drive user understanding. From this, the planner can then decide how the assortments are managed, for example:

  • Objects with AX, AY & AZ are highly managed by the account managers/sales forecast
  • BX, BY & CX would then be managed by statistical forecasting and exceptions
  • Objects with BZ, CY & CZ are of less attention and drives further discussion

The Output

Once the ABC-XYZ tool is ran, the results are available to see in the system which you can see either as a list or graphical representation of the amount of combinations with an ABC class or XYZ value. You can also override the results or can export the results to excel.

List View

Graphic View

Other Uses

You can also bring in the combinations into the planning book by selecting the planning level (set up in the ABC-XYZ configuration).

Once the selections profiles have been setup, these can be used in the background jobs. You can also use the classifications results to fill navigational attributes, export to BW for reporting, and update the SAP APO SNP product/location master data.

Understanding the Forecast Optimisation Tool

ABC-XYZ tool also allows the system to find the most optimised forecast profile to be used based on pre defined forecast profiles.

The forecast profile assigned is a GUID profile – this allows the demand planner to load the profile which has been assigned to the selection and make further changes (example: change the alpha factor) without changing the original forecast profiles setup by the system adminstrator.

The ABC-XYZ forecast optimisation tool is a very handy tool which can be used to go live for statistical forecasting. Within the tool there is an option to run the optimisation for new combinations only. This is very important, as if this option is not selected, the optimisation will run for all combinations and potentially assign new forecast profiles to the selections.

Understanding the Configuration Required

Within the DP worklist, the following needs to be created:

  • ABC Analysis profile

  • XYZ Analysis profile

  • Classification profile

Other Points

  • ABC-XYZ does not currently work with lifecycle planning
  • As ABC-XYZ and Group Seasonality have common setup parameters, these will only work with characteristics and not navigational attributes
  • ABC-XYZ forecast optimisation tool is different from the one mentioned by SAP note 1366618

There are a number of enhancements available which you can use to;

  • Override system determined ABC-XYZ with user defined ABC-XYZ class
  • Change the forecast profile assignment before forecast optimisation
  • Define your own variant coefficient calculation for the XYZ tool

ABC-XYZ segmentation is also available in IBP for Demand. The flexibility offered in this tool includes:

  • Storing the segmentation results as an attribute
  • Running the segmentation at different periodicity levels
  • Use an offset for the calculation horizon


Segmentation is a very powerful and flexible approach to help enhance the approach to planning. Integration teams can worry less about having to pull this information from ECC or other sources and planners can have the confidence that they have a tool available which can be tailored and adjusted to their requirements.

ABC-XYZ forecast optimisation tool brings a welcome addition to an already powerful statistical forecasting tool set available within SAP APO DP. Integrating the ABC-XYZ results within SAP APO master data allows the inventory and supply planners to help optimise their processes too.

The original blog post is posted here:

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.