What is Exception Aggregation?
Hi,
What is the use of Exception Aggregation? In which scenarios it is used?
Regards,
Rajesh
Hi......
Exception Aggregation is mainly use for non cumulative keyfigure......
Suppose in a report u want to see total sales and also Product wise sell............
Then u will put Product as Aggregation Reference Characteristic......And in Exception Aggregation u put Summation............Then in the Report it will show u Product wise sell.........u can also make this settings in query designer.......
Check this...........
https://www.sdn.sap.com/irj/scn/wiki?path=/display/bi/exception%252baggregation%252bin%252bqueries
Search in Forum and help.sap.com.........u will get lots of answers.........
Regards,
Debjani.....
Similar Messages
-
Constant Selections and Exception Aggregation
Hi,
Can You please tell me
1) what is constant selections?
2) what is Exception Aggregations?
Thanks and Regards.
Naresh.Hi,
example for the use of standard aggregation and exception aggregation for a key figure is a key figure for the non-cumulative value
with non-cumulative values such as warehouse stock, you want to total up the warehouse stock for various articles and warehouses (standard aggregation), but for the month you want to determine the ending inventory (LAST aggregation) (exception aggregation in regard to the time characteristic Calendar Month)
for more info go through the below link
http://help.sap.com/saphelp_nw04/helpdata/EN/d2/e0173f5ff48443e10000000a114084/content.htm
For constant selection go through the belwo link
http://help.sap.com/saphelp_nw70/helpdata/EN/46/91f0f090ea13e8e10000000a155369/content.htm
Regards,
Marasa. -
Exception Aggregation & Cell Definition
Hi All,
Can someone please explain me what are Exception Aggregation and Cell Definition with some real time examples?
Many thanx in advance...
Best Regards,
Nene.
Message was edited by: Nene BWHi Nene,
Check out the below links
Exception Aggregation
http://help.sap.com/saphelp_nw04/helpdata/en/d2/e0173f5ff48443e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/8e/08ab3d81534c64e10000000a114084/frameset.htm
hope it helps
Regards
Sajeed -
Exception aggregation 'Average of all values'
Hi,
What is Exception aggregation 'Average of all values' wrt a reference characteristic. an how do I use it in Bex?
-Simmihi,
it determines how the key figure is aggregated in the BEx in relation to the exception characteristic, in your case it's averaged for all values.
another case sample maybe you need to report stock, which should not accumulated, but the last value, then you can choose 'last value', with reference chacarteristic to certain time characteristic.
you may also use it for 'calculated key figure' in BEx to get average value.
http://help.sap.com/saphelp_nw04s/helpdata/en/82/f2dc37f0f12313e10000009b38f8cf/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/6f/56853c08c7aa11e10000000a11405a/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/9d/76563cc368b60fe10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/d2/e0173f5ff48443e10000000a114084/content.htm -
What is standard and exception aggregation?
What is standard and exception aggregation?
hi there ,
check out this link for scenarios of exception aggregation :
http://help.sap.com/saphelp_nw04/helpdata/EN/d2/e0173f5ff48443e10000000a114084/content.htm
regards,
Supriya -
What is the default exception aggregation for the NCKF IO STOCK
Hi all of you,
What is the default exception aggregation for the Non Cumulative Key Figure info object Stock?
When I am selecting Maximum, or minimum or Avereage (all values) its not selecting any of these values but only Average (weighted with the number of days) is getting selected.
Please explain.
Thank you.
TR.Hi Vinod,
Thank you for your reply.
I had selected Last value as exception aggregation and activated it. But again when I double click on the IO STock, in the aggregation tab besides exception aggregation I find the option Average (Weighted with the number of days).
Is it getting selected by default when I check the radio button Ncum. value with in- and out-flow?
Please explain.
Thank you.
TR. -
What is an Exception Aggregation?Give an example?
What is an Exception Aggregation?Give an example?
Hi,
Examples of Exception Aggregation: Last Value and Average
http://help.sap.com/saphelp_nw04s/helpdata/en/d2/e0173f5ff48443e10000000a114084/frameset.htm
Scenarios for the Use of an Exception Aggregation
http://help.sap.com/saphelp_nw04/helpdata/en/d2/e0173f5ff48443e10000000a114084/frameset.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0b8dfe6-fe1c-2a10-e8bd-c7acc921f366
Exception aggregation ?
Hope this helps............
Rgs,
I.R.K -
FBL5 FIAR - exception aggregation - count customers with open items at key
Hello gurus,
I have read the information about counting all values in reference to a characteristic. I manage to count how many customers have a FIAR open item 'billing status' = Open in my FIAR cube.
Now I am asked to replicate transaction FBL5 of R3. This transaction will give you open items at a given key date by adding
the items with
A) Item status = 'O' and posting date <= key date
and the items with
B) Item status = 'C' and posting date < =key date and clearing date > key date.
I calculate the net value by creating 2 restricted key figures and then adding them in a CKF.
But for counting I have a problem. I can count how many customer make up the open items (case A)
and how many customers makeup items that where cleared between key date and today.(case B).
But I cannot sum the two numbers as there might be customers that are counted in both cases.
For example I have 4 customers that correspond to case A : 1000 1011, 1012 and 1014
And I have 3 customers that correspond to case B 1000 , 1011 and 1013
I would like to get 5 as the number of customers that verify either case A or case B (or both).
Is there a way to do this with the exception 'aggregation 'and 'count all values' property of CKF ?
ClaudioHi,
The logic given in the above post may be a bit confusing to you. Check out this explanation and try to understand what I mean.
Posting Date - PD
Key Date - KD
Clearing Date - CD
PD--KD--
CD
-O(Status)-C--O-----C
-5107-----8
Let me explain the above table.
Between PD & KD there are 5 count with status'O' and 10 counts with status 'C'.
Between KD & CD there are c counts with status 'O' & 8 counts with status 'C'.
This means 5 with status 'C' becomes 7 between KD & CD.
Similarly, 10 status with 'O' becomes 8.
The logic I am trying to say is..
If you don't want to get counts with status 'C'(repeated) as I understood) 7-5 = 2. Show this 2 as count for status 'C' between KD & CD.
So the table will become like this now.
PD--KD--
CD
-O(Status)-C--O-----C
-5102(7)---2(8).
In braces shown are the total with status 'O'/'C' for the dates.
I hope this will solve your problem.
Message was edited by: AVR - IGA -
How to find the value of date char used as exception aggregation reference
Hi BI Gurus,
On a BEx report I need to list three things by material:
1) the open (not yet delivered) Purchase Order quantities
2) the PO quantity to be delivered next and
3) the date that belongs to the next delivery
The model supports these data i.e. for each material I can list all open quantities by Purchase Order / Item / Schedule line and the scheduled delivery dates are also available as a characteristic.
Determining 1) is easy as the drilldown is fixed (materials only) the open quantities get summarized for all PO-s belonging to the materials.
To determine 2) I used a Calculated KF simply including KF 1) =Open PO Qty in the definition and setting Exception Aggregation (first value) with a reference char of the delivery date. This gives back the Open PO Quantity to be delivered first.
My question is about how to determine the 3rd value (actually this is not a KPI but a characteristic value). In other words, for each materials I would need to determine the first among all of the possible delivery date char values of the open PO Items / schedule lines. This is the date the quantity shown in the 2nd KPI will be delivered on.
Does anybody have an idea how to approach this issue?
Thanks for you help in advance,
AttilaHi Olivier,
Thanks for your suggestion. I got a bit closer with the replacement path formula variable and the CKF. I tried to apply the same logic of KPI 2) but for some reason it did not work. Actually, it delivers the right value but only when 0SCL_DELDAT (Scheduled delivery date) is in the drilldown But what I need is the first delivery date by Material only, and without this 0SCL_DELDAT drilldown.
Any other ideas?
Thanks and bye,
Attila -
Bex Exception Aggregation in 3.5 equivalent to 'TOTAL'
Hi All,
Can anyone help me in getting a functionality equivalent to exception aggregation 'TOTAL' in BW 3.5.
I have a requirement which can only be fixed using the exception aggregation 'TOTAL', my bad in my current client they dont have BI 7.0. So can anyone tell me what is the equivalent function of 'TOTAL' in BW 3.5.
Regards,
AnandI need to develop a report which will show Org unit & degree (education data) wise head count and annual salary.
As the education records for an employee will be more than one, the annual salary will be doubled or tripled in the DSO or cube.
If I do an average of annual salary based on employee the overall result goes wrong.
Say for example, empl 20045789 as three record with KF value 10,000, the result in the report I see as 30,000.
SAY in the backend
EMPLOYEE | Degree | Annual Salary
20045788 | A | 50,000
20045788 | B | 50,000
20045789 | A |10,000
20045789 | B |10,000
20045789 | C |10,000
In the query I get it as
Org Unit | Employee | Annual Salary | Average(Annual salary/ Number of employee)
100001 | 20045788 | 100,000 | 50,000
100001 | 20045789 | 30,000 | 10,000
overall result 130,000 | 26,000 (130,000/5)
The expected result is 50,000 + 10,000 = 60,000 / 2 = 30,000.
Pls provide me solution.
Regards,
Anand
Edited by: araj123 on Jun 3, 2011 3:45 AM
Edited by: araj123 on Jun 3, 2011 3:46 AM
Edited by: araj123 on Jun 3, 2011 3:47 AM
Edited by: araj123 on Jun 3, 2011 3:48 AM
Edited by: araj123 on Jun 3, 2011 3:50 AM
Edited by: araj123 on Jun 3, 2011 2:25 PM -
Non Cumulative KF VS Normal KF with exception aggregation
What is the purpose that is served by "non-cumulative key figures" and is not served by "normal key figures with exception aggregation"?
Inflow and Outflow can also be mapped into a single key figure at update rules level.
Why un-necessary complications like two additional KFs and marker update etc?
Why can't we store actual inventory value on daily basis in a NORMAL key figure with exception aggregation on time?
Also, I heard that data amount will be huge if you don't use non-cumulative key figure. I am not able to understand why?
I HAVE ALREADY GONE THROUGH ALL THE HELP DOCUMENTATION AND ALL THE PREVIOUS THREADS. I DID NOT GET ANSWER TO THESE QUESTIONS.
THANKS IN ADVANCE,
AnupAnup,
Q1: Why can we not store the actual inventory against the person -
In this case you will end up storing day wise information of stock for the person / material - this will lead to increase of your data volumes depending on the scenario.
Example :
Day Level stock only
Record Structure :
Material | End of day snapshot Stock| date
pipe | 100|20.2.2008
pipe|100|21.02.2008
pipe|100|22.02.2008
pipe|80|23.02.2008
Here you can notice that the material pipe has been sold on 23.03.3008 and no sale has happened previously - however since your extractor will give you end of day stock for all materials you will get 2 additional records
In an opening and closing stock scenario
Opening stock
Marker|
pipe|100|20.02.2008
opening stock|closing stock
pipe|100|100
pipe|100|100
pipe|100|80
Here the values will get overwritten and compared with the marker and calculate that the stock is 80 or 100 depending on the date. I am not able to give a proper example but hope I have addressed it in part.
Also it is a Non *** KF because if you look at stock for pipe over 3 days you will get 300 in the first scenario - this is wrong
and for the next scenario with opening and closing stock
it will ideally be
100 ( your marker) -100100-100100-100+80 = 80
this calculation is done at runtime and gives the right output.
In the other case you can check stock only on a date basis and with the assumption that the stock data is current for that day.
Hope it addresses youor question.
Arun
Day 1: -
Problem in Nested Exception Aggregation
Hi Experts,
Can you please give me an idea of how & Steps to do the nested exception aggregation based on the 3 to 4 characteristic and agregate the volume for 1 key figure,
Thanks Regards
Dolly.Hi AL,
here is my requirement what i have been asked to get this output result.
i have keyfigures KF1, KF2 and total KF.
three characteristics dist,inch,load.
dist-inch-load--KF1-KF2-Total KF
5---A--010-0-----10=10
5---A--120-20----20+10=30
10--B---050-0-----50
12--C---160-60----60
13--D---270-70----70
14--E---080-0-----80
15--E---120-20----20+80=100
15--E---230-30----302080=130
KF1 is the initial volume coming from the file directily.based on this keyfigure i have to calculate KF2,Total KF.
In order to calcuate KF2 and Total KF i have some conditions.which are mentioned below;
KF2---> if load=0 then KF2=0 elseif load>0 then KF2=KF1 ;
Total KF--->if load=0 then Total KF=KF2KF1 elseif load>0 then KF2=KF2KF1
How to achieve this dynamic summation.Do i have to do nested exception aggregation based on the above three characteristics. what would be the open options.please do help me. -
Exception (Aggregation) in Hierarchy nodes results
Hi All,
We have a requirement to sum all values (as results in hierarchy levels) based on the value of a specific characteristics. example as below is what we want to achieve. Country, Product group, materials are all characteristics and this is viewed as hierarchy in the query. In each material there is a calculation components that will shown the value of Sales Qty, Price/unit and Amount. What we want is to sum up ONLY the Amount value and presented in the hierarchy nodes so that we can see how much sales we did by product group and subsequently by country as whole. If we drill across we will be able to achieve this but we want to drill down as we have the time characteristics and variances at the columns. and no, we do not want user to drill across the calculation components. This query is used in Integrated Planning for planning purposes integrated with BO and that is the structure of the planning layout we want. "Calculation component" is a infoobject that contains 'sales qty', 'price/unit' and 'sales amount' as master data values.
I have tried exception aggregation on calc component infoobject for 'LAST VALUE'. and it did capture only the Sales Amount value as result for node Calc Components. But the other results node State, country and Region also takes LAST VALUE.. which is not what i want. what i want is esseentially summation of all Sales amount for each calculation components by state, country and region.
Last Year | Variance | Current Year | Jan | Feb | Mar |......
Region X 200 (sum of all country's sales amount)
->Country A 200 (sum of all states' sales amount)
-> State Y1 80 (sum of all components's sales amount)
->Calc Components Z1 30
- Sales Qty 10
- Price/Unit 3
- Sales Amount 30
->Calc Components Z2 50
- Sales Qty 5
- Price/Unit 10
- Sales Amount 50
-> State Y2 120
->Calc Components Z1 40
- Sales Qty 10
- Price/Unit 4
- Sales Amount 40
->Calc Components Z2 80
- Sales Qty 10
- Price/Unit 8
- Sales Amount 80
any help would be appreciated...
eddiePlease try the below steps and I hope it should work for you.
Instead of calculated keyfigures,try to use local formula .Because i think sometimes CKF will not give the expected result if you use exception aggregation (not sure though,but i used only local formulas)
1. Create a first local keyfigure (Say F1)for the calculation and use exception aggreagation as 'Average' and reference characteristics as 'PDU'.
2. Create a second keyfigure ( Say F2) using the first keyfigure(F1) and use exception aggregation as 'Average' and reference characteristics as 'Sales Document', if you need the values based on average of the sales documents and hide the first keyfigure(F1)
I consider Sales document is the first level and PDU is the second level ( i mean lowest level) . Because you need to consider these sequencens as well when you design the exception aggregation.
Likewise you can create nested aggregations based on your requirements.
Please do let me know if it works.
Thanks. -
Exceptional Aggregation in Query Designer
Hello Gurus,
we have an existing Report at the Material Level on the InfoCube.
Each Material may have multiple POs and we are having multiple
records for each PO varying the date. Now the user want to view
only the record latest changed Record at the PO level
and Sum of all the records at the Material Level.
For this i have created a CKF using the Exception Aggregation
as Maximum for the 0calday. But client want the Report at Material Level
he dont want the PO's details. When i remove the PO from the report
it gives the result for only the latest PO not all the PO for that Material.
For Example we are having below records in the cube.
PO Material Calday Qty Price
101 ABC 1/12 100 10
101 ABC 2/12 100 10
101 ABC 3/12 100 11
102 ABC 4/12 100 10
104 ABC 5/12 100 10
103 ABC 7/12 100 11
I am getting the result with PO in Rows as Below
PO Material Calday Qty Price
101 ABC 3/12 100 11
102 ABC 4/12 100 10
104 ABC 5/12 100 10
103 ABC 7/12 100 11
When I remove the PO's From the Rows then it will display
as below i am placing the calday for under standing the
question actually it is not present in the output of the below report only.
Material Calday Qty Price
ABC 7/12 100 11
Which is not currect I have to get the Result as
Material Qty Price
ABC 500 42
My Concerns:
!. Kindly let me know if it is possible and what are the
other things that i need to consider.
2. Did it will impact the performance.
Waiting for your quick replies
Thanks & Regards
KK
Edited by: KK on Dec 23, 2009 11:08 AM
Edited by: KK on Dec 23, 2009 11:15 AM
Edited by: KK on Dec 23, 2009 11:22 AMHi KK
Confirmation:
First I need to confirm one thing,
as you mentioned expected output is,
Material Qty Price
ABC 500 42
But I think, it should be
Material Qty Price
ABC 400 42
right?
Answer:
Can you please try below steps and let me know whether it is working as expected or not
Create a basic Key figure for calday and include it in your InfoCube. In the transformation, assign it to same fileld which is a source of calday.
In query, Create a calculated key figure based on calday key figure with exception aggr as last value and reference characteristics as PO.
Regards
Rohit -
Exception aggregation doesn't work correctly
Hi,
Here we have a problem about exception aggregation, we created two queries. One is based on the
InfoCube, another is based on the DSO.
Both queries have the same definiation. And the data of the InfoCube is from the DSO.
In the query definition we created a formula and in this formula we used a exception aggregation.
For example, we used count all value <> 0 and reference to city in exception aggregation to count
all city which sales value above certain value.
We got the different result from these two queries.
The result in the DSO is what we neend.
Can you tell me why I got the different result?
Our system information is:
SAP NetWeaver 2004s
SAP_ABA 700 0009 SAPKA70009 Cross-Application Component
SAP_BASIS 700 0009 SAPKB70009 SAP Basis Component
PI_BASIS 2005_1_700 0009 SAPKIPYJ79 PI_BASIS 2005_1_700
SAP_BW 700 0009 SAPKW70009 SAP NetWeaver BI 7.0
BI_CONT 703 0000 - Business Intelligence Content
ThanksJin,
Ideally one way to find out if exception aggregation is working fine is to drill down based on the exception aggregation characteristic and see if the formula is being calculated right...
Arun
Maybe you are looking for
-
Miro's power button stopped working
Suddenly my phone's power button stopped working. I can't lock/unlock the phone nor turn it off :/ Tried to take a screen shot, to restart the device but nothing happened. I dropped the phone only once or twice before months, it hasn't been in touch
-
Twinkle libccext error after latest pacman -Syu
twinkle: error while loading shared libraries: libccext2-1.5.so.0: cannot open shared object file: No such file or directory After receiving this message with 1.0.1-2 from Extra, I gave 1.0.1-3 from Testing a go, but I'm still seeing this messa
-
Can't connect to server on certain web pages
I can only open certain web pages for some reason. The ones I can't open says can't connect to server. Don't get it. Help please
-
How do I make front and rear outputs on my Audigy sound the same. Rear is dull and quie
Hi?My subject line says it all really, I have installed an Audigy Platinum and have a two chanel amp and speakers connected to one port and my headset + mic connected to the other. I've swapped the headphones around to isolate the problem and its qui
-
I do not have the on and off slide for FaceTime in my settings,,,just a sign on screen that is not activating,,,,my password and user are all accepted everywhere else ,,,,help,,,nothing is working ,,,Ty diane