You are on page 1of 4

31/08/2016

Howtodisplaytheerrormeasure(e.g.MAPE)fr...|SCN

GettingStarted Newsletters

Hi,Guest

LogOn

JoinUs

Store

SearchtheCommunity

Products

Services&Support

AboutSCN

Downloads

Industries

Training&Education

Partnership

DeveloperCenter

Activity

LinesofBusiness

UniversityAlliances

Events&Webinars

Innovation

Browse

Communications

Actions

SAPIntegratedBusinessPlanning

Howtodisplaytheerrormeasure(e.g.MAPE)from
StatisticalForecastingmessageintostoredkeyfigure
inPlanningView
PostedbyIrmhildKuntzeinSAPIntegratedBusinessPlanningon18May201622:56:01
Share

Tweet

Like 0

Hiall

DemandManagementprovidesthepossibilityinthepostprocessingstepstocalculateandstoreaforecasterrorina
keyfigure,whichisusedasdecisioncriteriaforbestfitmodels.

Youmayhaveseen,thatonlykeyfigureswithouttimedimensionareallowedtobeusedtostoretheerrorvalue.
Thiserrorvalueisusedinthemessagesonlyandcannotbeusedinplanningviewdisplay,notsoeasytofinde.g.the
lastMAPEifyouoptimizedbyMASE:

HereishowyoucanmakeitvisibleintheExcelplanningviewsorAnalyticswithsomeextraconfigurationina
calculatedkeyfigure:

http://scn.sap.com/community/scm/ibp/blog/2016/05/18/howtodisplaytheerrormeasureegmapefromstatisticalforecastingmessageintostoredkeyfigu

1/4

31/08/2016

Howtodisplaytheerrormeasure(e.g.MAPE)fr...|SCN

ThedefaulterrorsintheUnifiedPlanningarea(UPA)areFORECASTMAPE"ModelFiterror:MAPE"(FCSTMAPEin
SAP6)andFORECASTMASE"ModelFiterror:MASE"(FCSTMASEinSAP6)arestoredonlevelPRODCUSTLOC.

Soassumingweruntheforecastweeklyandwanttostorethee.g.MAPEeveryweekintothecurrentweek.
ThanIcreatestoredkeyfigureWKFCSTMAPEandcalculatedkeyfigureWKFCSTMAPEConlevel
ZWKPRODLOCCUST.
ViacopyoperatorIcopyfromthecalculatedtothestoredkeyfigureafterasuccessfulstatisticalforecastrunfrom
whichIwanttokeeptheMAP.
ViathecalculatedkeyfigureIcanalreadydirectlyandontheflyseetheMAPEvaluefromcurrentforecastrun.

IworkinUPA,solowestgranularityisdays,andmyweeksarePERIODID4.

Asneitheraveragingnorsummingupanerrormeasuremakesanysense,IputaMAXonRequestlevelforthetwo
newkeyfigures.However,thisKFisonlyusefulonBPL(baseplanninglevel)

CalculationonBPLcanthanbe:
WKFCSTMAPEC@WKPRODLOCCUST=IF("PERIODID4"="$$PERIODID4CU$$",
"WKFCSTMAPEC1@WKPRODLOCCUST","WKFCSTMAPE@WKPRODLOCCUST"):

withhelper
KFCSTMAPEC1@WKPRODLOCCUST="FORECASTMAPE@PRODCUSTLOC"*
"ZCOUNTERWKPRODLOCCUSTC2@WKPRODLOCCUST"

WKFCSTMAPEissimplestoredKF,noformula,filledbycopyoperatorfromWKFCSTMAPECfortheonecurrentweek

http://scn.sap.com/community/scm/ibp/blog/2016/05/18/howtodisplaytheerrormeasureegmapefromstatisticalforecastingmessageintostoredkeyfigu

2/4

31/08/2016

Howtodisplaytheerrormeasure(e.g.MAPE)fr...|SCN

ThecounterZCOUNTERWKPRODLOCCUSTC2alwayshasvalue1onlevelWKPRODLOCCUSTandisonlyusedto
breakdowntoweeks

That'sit!

Yours,Irmi

P.S.:Asthisrequiresthattheerrormeasureisstoredonthedatabase,itwillNOTworkifyourunstatisticalForecastin
simulationmode.

312Views

Categories:IBPfordemand

Tags:ibp_for_demand,ibp_featured

AverageUserRating
(1rating)

Share

Tweet

Like 0

http://scn.sap.com/community/scm/ibp/blog/2016/05/18/howtodisplaytheerrormeasureegmapefromstatisticalforecastingmessageintostoredkeyfigu

3/4

31/08/2016

Howtodisplaytheerrormeasure(e.g.MAPE)fr...|SCN

0Comments
Therearenocommentsonthispost

SiteIndex
Privacy

ContactUs
TermsofUse

SAPHelpPortal
LegalDisclosure

Copyright

FollowSCN

http://scn.sap.com/community/scm/ibp/blog/2016/05/18/howtodisplaytheerrormeasureegmapefromstatisticalforecastingmessageintostoredkeyfigu

4/4

You might also like