Hi all

Demand Management provides the possibility in the post processing steps to calculate and store a forecast error in a key figure, which is used as decision criteria for best fit models.

You may have seen, that only key figures without time dimension are allowed to be used to store the error value.

This error value is used in the messages only and cannot be used in planning view display, not so easy to find e.g. the last MAPE if you optimized by MASE:

/wp-content/uploads/2016/05/20_955679.jpg

Here is how you can make it visible in the Excel planning views or Analytics with some extra configuration in a calculated key figure:

/wp-content/uploads/2016/05/21_955680.jpg

The default errors in the Unified Plannin g area (UPA) are FORECASTMAPE “Model Fit error: MAPE” (FCSTMAPE in SAP6) and FORECASTMASE “Model Fit error: MASE” (FCSTMASE in SAP6) are stored on level PRODCUSTLOC.

So assuming we run the forecast weekly and want to store the e.g. MAPE every week into the current week.

Than I create stored  keyfigure WKFCSTMAPE and calculated key figure WKFCSTMAPEC on level ZWKPRODLOCCUST.

Via copy operator I copy from the calculated to the stored key figure after a successful statistical forecast run from which I want to keep the MAP.

Via the calculated key figure I can already directly and on the fly see the MAPE value from current forecast run.

I work in UPA, so lowest granularity is days, and my weeks are PERIODID4.

As neither averaging nor summing up an error measure makes any sense, I put a MAX on Request level for the two new key figures. However, this KF is only useful on BPL (base planning level)

Calculation on BPL can than be:

WKFCSTMAPEC@WKPRODLOCCUST = IF(  “PERIODID4”  =  “$$PERIODID4CU$$”  ,  “WKFCSTMAPEC1@WKPRODLOCCUST”  ,  “WKFCSTMAPE@WKPRODLOCCUST” ) :

/wp-content/uploads/2016/05/23_955692.jpg

with helper

KFCSTMAPEC1@WKPRODLOCCUST = “FORECASTMAPE@PRODCUSTLOC”  * “ZCOUNTERWKPRODLOCCUSTC2@WKPRODLOCCUST”

/wp-content/uploads/2016/05/22_955691.jpg

WKFCSTMAPE is simple stored KF, no formula, filled by copy operator from WKFCSTMAPEC for the one current week

/wp-content/uploads/2016/05/24_955693.jpg

/wp-content/uploads/2016/05/26_955694.jpg

The counter ZCOUNTERWKPRODLOCCUSTC2 always has value 1 on level WKPRODLOCCUST and is only used to break down to weeks

/wp-content/uploads/2016/05/25_955695.jpg

That’s it!

Yours, Irmi

P.S.: As this requires that the error measure is stored on the data base, it will NOT work if you run statistical Forecast in simulation mode.

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

Leave a Reply