Académique Documents
Professionnel Documents
Culture Documents
HowtoutilizeExceptionAggregationusingBEx...|SCN
GettingStarted Newsletters
Hi,Guest
LogOn
JoinUs
Store
SearchtheCommunity
Activity
Communications
Actions
Browse
SAPBusinessExplorer(SAPBEx)
HowtoutilizeExceptionAggregationusingBExQuery
Designer.
PostedbyMudashiruEkundayoinSAPBusinessExplorer(SAPBEx)on16Feb201406:55:03
Share
Tweet Like
HowtoutilizeExceptionAggregationusingBExQueryDesigner.
ExceptionaggregationcanbeusedtoderiveadditionalinformationoutofalimitednumberofKeyFiguresprovidedin
theInfoCubethatistobeanalyzed.
Thereby,youcancreateCalculatedKeyFiguresbyusingaformulathatusesexceptionaggregationitself(thisisa
nestedexceptionaggregation).Furthermore,itispossibletouseCalculatedKeyFigurescreatedoncelllevel(using
thecelleditor)withthenewfunctionsofexceptionaggregation.
Example:Ifasalesmanagerwantstoanalyzethenumberofmaterialssoldandtheaveragenumberofdifferent
materialssoldtodifferentcustomersforeachsalesmonth.InthesalesInfoCube,onlyaKeyFigureoftheSales
VolumeinEURforthedifferentsoldmaterialsisprovided.Usingthefunctionsforexceptionaggregation,hecan
derivetheadditionallyrequiredtwoKeyFiguresjustfromthesalesvolumeinEURforsoldmaterials.
Procedure:Todefineanexceptionaggregationfortheexampleabove,thefollowingstepsareperformed
1.YoucreateaQuerythatcontainstheCharacteristics"SoldtoParty"(Customer)and"Material"inthefree
Characteristics,thecharacteristics
"Cal.year/month"intherowsandtheKeyFigure"SalesVolumeEUR"
2.Inthenextstep,youdefineanewformula("Differentmaterials"),whichsimplyincludestheQueryKeyFigure"Sales
VolumeinEUR"(nooperatorrequiredinthisexample).
Thenyouaccessthepropertiesofthisformulaandchoosetheexceptionaggregationsetting"countallvalues<>0"for
thereferenceCharacteristic"Material".Inthisway,youhavedefinedacounterforyoursoldmaterialsderivedfromthe
KeyFigure"SalesVolumeinEUR".Youhavesimplycounted
thenumberofoccurrencesof"SalesVolumeinEUR"togiveyouthenewKeyFigure'DifferentMaterials'.
3.Nowyouwillnesttheexceptions:Youarenowabletocountthenumberofmaterialssoldineachmonthforall
customersusingthestepabove,butyouwanttoknowwhattheaveragenumberofmaterialsthecustomersboughtin
eachmonth.Toachievethis,youmustdefineanotherformula("Avg.soldmaterials/customers"),whichsimplyrefers
tothefirstformula.Againnootheroperatorsarerequired.Youaccessthepropertiesofthesecondformulaand
choosetheexceptionaggregation"AverageofallValues"forthereferenceCharacteristic"SoldtoParty".TheKey
pointhereisthattheresultsofthefirstaggregationarefurtherprocessedbythesecondaggregation.
http://scn.sap.com/community/businessexplorer/blog/2014/02/16/howtoutilizeexceptionaggregationusingbexquerydesigner
1/2
26/03/2016
HowtoutilizeExceptionAggregationusingBEx...|SCN
4.Checkyourquerybyperformingavaliditychecktoknowifyourqueryiscorrectornot.
5.SaveyourQuerywithadescriptionandatechnicalnameandthenclickonexecutetoseehowexception
aggregationworks.
6523Views
AverageUserRating
(1rating)
Share
Tweet Like
3Comments
MaxF16Feb201412:47
Simpleandclearexplanationofusefulfunctionality,whichsometimesfrightensnewcomers.Keepit
up!
Like(0)
MudashiruEkundayo16Feb201414:12(inresponsetoMaxF)
ThanksMax
Like(0)
VijayKN24Dec201407:33
Informativepostandithelpsmetounderstandtheconceptofexceptionaggregation.Thankyou.
Like(0)
SiteIndex
Privacy
ContactUs
TermsofUse
SAPHelpPortal
LegalDisclosure
Copyright
http://scn.sap.com/community/businessexplorer/blog/2014/02/16/howtoutilizeexceptionaggregationusingbexquerydesigner
FollowSCN
2/2