Explain Exception Aggregation and Aggregation?

Please search forums
Hi eXPERTS,
While creating Keyfigure infoobject  there is an additional option called
Aggregation and it has Exception Aggregation plz explain abt this topics briefly.
Thank u,
Edited by: Pravender on May 21, 2010 1:19 PM

Hi,
there is a slight difference in between them.
When you select the Aggregation as Minimum then it will pass only the minimum values into the target.
Where as Exception Aggregation will be always based on some ref Characteristic, in this if you select the option as Minimum based on 0CALDAY Characteristic then it will show you the minimum values in the report but not in the target based upon the 0CALDAY Characteristic..
Aggregation will fetches the data into cube from PSA and exception aggr will fetches the data into report from cube.
just go through the example which was explained by some of our techie..
For Ex in PSA u have data like dis.
01.01.2007 1000
01.01.2007 2000 it will take only the minimum value into cube
In case if you have many records based on that particular date then it wont do the aggregation. Since you have chosen the ref char as 0CALDAY, there might be lot of records which have generated on the same day, so when you select this option then it wont do the aggregation and further it will place X in that area.
assign points if it helps..
regards,
ashok

Similar Messages

  • Formula Variable and Exception Aggregation

    Hello
    Please can you explain me how this works.
    There is formula variable created on a change date.(Replacement Path) with replace with Key.
    Then this formula variable is put in a formula as NODIM(Formula Var) and the exception aggregation is set as Total with Ref Char selected on the same date(Change Date).
    Now this is coming up with values like 2202374. If i remove the exception aggregation then i get an X in the values. If i then include the change date in the rows i get the date.
    Please can anyone let me know how this would be working. Effort Appreciated.
    Thanks

    Here is a scenario that might fit:
    Formula is trying to show the latest change date without adding it as a drill down. The only discrepancy is that the exception aggregation would need to be set to maximum value instead of Total.

  • 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.

  • First and last exception aggregation

    From one of the doc, I got the below info:
    For FIR, LAS Exception Aggregation,
    If being used for cumulative key figures:  Completeness of values with respect to reference characteristic necessary.
    If the reference charac being used is non time char.  then Sorting is done ascending according to key (internal presentation)
    Whatdo the above two points mean?
    Thanks
    Simmi

    hi Simmi,
    can please point the doc ?
    1st point, with respect to reference characteristic, i think it means which characteristic to be used for reference, normally date (time characteristic);
    date----
    key figure
    01.01.2007---- 10
    02.01.2007-----20
    10.01.2007-----30
    then FIR/first will be 10; and LAS/last = 30
    2nd point
    if reference characteristic is non time characteristic, e.g zcustomer, then sort is done ascending according to key, e.g
    zcustomer-key---description
    001----
    Simmi
    002----
    Linggam
    003----
    Prakash
    and we have data
    zcustomer------key figure
    003----
    10
    001----
    25
    002----
    70
    then consider to FIR/LAS, this will be sorted as
    zcustomer------key figure
    001----
    25
    002----
    70
    003----
    10
    then FIR is 25 and LAS = 10
    hope it's clear for you and help.

  • Zero-Elimination And Exception Aggregation

    Hi experts,
    I'd like to compress a cube with the option of zero-elimination. Online help says: "Zero-elimination is only allowed for InfoCubes that contain key figures with aggregation behavior u2018SUMu2019 exclusively." (http://help.sap.com/saphelp_nw70/helpdata/en/ca/aa6437e7a4080ee10000009b38f842/frameset.htm)
    The key figures of the cube I like to compress all have aggregation = SUM but some of the key figures have exception aggregation <> SUM. Will the data of a cube still be fine after that compression?
    Thank you for your ideas!
    Volker

    Dear Andrei Bushkevich and Swapnil Dharia,
    thank you for your response! In my question there is a double ** wich originally stands for the sign of "NOT EQUAL".
    So the sentence is:
    "The key figures of the cube I like to compress all have aggregation = SUM but some of the key figures have exception aggregation NOT EQUAL SUM."
    @Andrei Bushkevich
    No that I've corrected the text - are you still sure that I can do the compression with zero-elimination?
    Best Regards,
    Volker

  • Exception aggregation and Aggregates

    Hello,
    I have a Query (Material Stocks movements) with one key figure with exception aggregation by 0material. I build an aggregate to run this query faster, but I notice that with exception aggregation the query doesn't read the aggregate. When I run this query without exception aggregation, my query read the aggregate.
    Is it possible to run this query with exception aggregation on aggregates?
    Thanks,
    Fabio.

    Hi Brian,
    I already checked in RSRT + Debug, When you run RSRT + Debug appears both, the aggregate and Infocube, but if you see in SM50 the process read just the Infocube. My aggregate has all characteristcs from my query, including the characteristic that I'm using like exception aggregation.
    Thanks
    Fabio.

  • 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

  • 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 ?
    Claudio

    Hi,
    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

  • Exception Aggregation help in Bex !

    Hi Experts
        Iam creating a query with date calculations. I have the following calculations in my qry...
    1 . Cycle Time      :  ( Doc Date - Quote sent date) ....I created two replacement path variables and use them in formula.
    2 . Nr of Quotes    :  ( Count of all sales orders with Block L1 & L2) ...I created a CKF for counting the nr of docs then used that CKF in an RKF to filter by block. 
    3 . Avg Tender Time :  ( Nr of Quotes / Doc date - Quote rec Dt) .........Created a formula same as 1 with Quote rec dt instead of Quote sent then created another formula to make 2/3.
        Now when I execute the query Iam getting numbers but
        Cycle Time I took Exception Aggregation as Counter for all detailed values and ref char as Doc Date....Its giving some nr as output...but my question is if I take doc date as Ref char how it gets the calculation from replacement
        Does any one have worked on date calculations as the above situation / any one have any how to's which explaines how to find date calculations with exception aggregations?
    Thanks in advance...

    fixed

  • 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 BW

    Hi 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 - Last Value

    Hi,
    We are having requirement where we have a table in non R/3 system for SKU - Customer level closing stocks on particular day are maintained. We want to create a cube for the table in BI. This table contains entries for SKU + Customer for diff days. We want to show the closing stock of last(/latest) day for which Customer+ SKU record exists. To achieve this we have used Calculated Key figure on Closing stock with Exception Aggregation - Last value with ref to Calendar Day.
    It woks fine only if I have Customer & SKU both used in query. But we have to show these stocks aggregated on Plant level. (Customer are linked to Plants and it is directly avbl in our cube). In this case aggregation does'nt work.
    Lets say following are the closing stocks for SKU- M1 & 3 customers from Plant = 1101
              date-> 1/1/2007  2/1/2007  3/1/2007
    Cust1             10                           15
    Cust2                            20
    Cust3             25            
    In above case if i have to see closing stock on 3/1/2007 for SKU-M1 @plant 1101 (sum of latest closing stock @ all customer sites under plant 1101), i should get = 60 (152025). But it gives me 15 only.
    Could anyone explain how to design a query for this? Or in cube design/uploads it can be managed.
    Regards,
    Vikram.

    Hello Vikram
    One possible solution I can think of is to use an extra ODS in order to hold your data in an aggregated form that suits you. Unfortunately the exceptional aggregation behaviour does not work outside reporting thus in the transfer rules from your data provider to this new ODS you should add a formula checking whether the new record to be transfered to the ODS has a date newer than the ones already transfered in the ODS. Else it should skip the current record and proceed to the next one.
    Another possible solution would be to use the APD and transfer the results of the query you are already playing in an ODS (this way you take advantage of the exceptional aggregation behavior) and by transfering your records to a second ODS you can achieve the aggregation you need.
    Assign points if any of the above helped

  • Misuse of the exception aggregation

    Hi Expert
    I have a little particular need which I have of the evil to carry out. I explain you, you certainly already had it.
    In my cube I have collect, sold to, orders attached to contracts and a surface of contract like this:
                        Surface
    R1     Soldto1     Cmd1     Ctr1     10
    R1     Soldto1      Cmd2     Ctr1     10
    R1     Soldto1     Cmd3     Ctr1     10
    R1     Soldto2     Cmd1     Ctr2     20
    In my request, I would wish to have:
    R1     Soldto1     10
                         Soldto2     20
    R1 (next level aggregation) 30
    I use the exception aggregation on the contract (exception average by contract) but I don't succed to have the results expected.
    My query sends me the result below:
    R1     Soldto1     30
                         Soldto2     20
    R1 (next level aggregation) 50
    How then I to solve this problem? Please help
    Best regrads
    Eric

    Hi Eric,
    For your expected result, I think you should use exception aggregation Average with reference characteristic Cmd
    as it is the one which differs for the three 10 values.
    With this setting, R1 level should also be 30 as you expect. 
    If you use  "Ctr" as reference characteristic, then the three Cmds get aggregated (summation) for Ctr1, that's why you get 30
    like "R1 Soldto1 30".
    Hope this helps.
    Regards,
    Patricia

  • 'Average Weighted with Calendar Days' in Exception Aggregation

    Dear specialists,
    I have created a query with a lot of calculated keyfigures.
    One of my calculated keyfigures shows percentage values.
    When I select a calendar day, my report shows correct results
    for the percentage values.
    But when I execute the report without selecting a calendar day,
    I get strange results like 3,21 % instead of 97,49 %.
    There is a new functionality with version 7.0, where we can set
    Aggregation properties like 'Average Weighted with Calendar Days' .
    But when I select this with Ref. characteristic 'calendar day',
    my report does not show any value or any result.
    Are there any other properties to set in Aggregation or Calculations.
    Please give me more information about this issue
    regards Osman Akuzun

    Hi,
           When you define an Exception aggregation on number of work days. There might be some reference characteristic defined in your Bex.
    For exmaple, take a scenario like below. Your BW data is like below
    0Employee           StockIssued
    XXX                            50                                
    XXX                            10              
    YYY                           20              
    YYY                            30             
    YYY                            40             
    ZZZ                            50              
    ZZZ                            100            
    ZZZ                            30              
    Suppose the first row which has values like XXX and 50 is not a working day and remaining all are working days then the exception aggregation applied using AV2 on the characteristic  0Employee will be caluclated in your Report as below
    For XXX, it will       10/1 = 10 (because only 1 working day for the employee XXX)
    For YYY, it will       90/3 = 30 (because all  3  are working days for the employee YYY)
    For ZZZ, it will       180/3 = 60 (because  all  3  are working days for the employee ZZZ)
    This is how the exception aggregation works. Try to see the similar kind of example in your system and try to relate in the same lines explained by me. You can understand.
    Regards
    Sunil

  • 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.

  • 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,
    Attila

    Hi 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

Maybe you are looking for

  • ITunes Library to External Hard Drive...and iTunes Match???

    So, my iTunes library is getting too large for my computer's storage capacity. I'm thinking of moving some of my library to an external, USB hard drive. However, I've never done iTunes through an external hard drive before and I have some questions.

  • Unable to install Camera Raw 6.3

    Recently upgraded from PSE7 to 9 however found that my raw files from my camera were not supported (canon 550d). Downloaded camera raw 6.3, however I cannot install/run the program. In the Adobe Application Manager (Updates) I get the following: Some

  • When I excute rsplan ,but the application is not displayed correctly  why?

    when I excute rsplan ,but the application is not displayed correctly  in our explore ,who can tell me what reason? 3ks very much

  • DVI and HDMI

    Hi..   I bought a new 24" 1080p HD LCD Monitor which has both DVI and HDMI inputs.. but my VGA Card is NX7600GS-T2D256EH which has 2 DVI out puts... Do I need to buy a VGA card with HDMI output to get 1080p HD resoulution or can I get 1080p output us

  • ABAP - Dynamic Table in Smart Form

    Dear All,              Can i assign a table at run time mens table rows and column will depend on user selection and no. of records fetched by query.  Is there any utility. Plz let me know ASAP if there is any. Looking forward to your co-operation. T