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.

Similar Messages

  • 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

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

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

  • 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

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

  • 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

  • Exception aggregation

    Hello all,
    I have a problem with my query, i don't want to aggregate on a characteristic, i've tested many options by creating a formula with my characteritic and tried with several possibilities on exception aggregation but none is working.
    If someone can help me.
    Thank you by advance.

    hello, here my report result:
    Division     Material     Qty mouvement        mouvement value     Coût matière standard lot     
    1000        HB9754      2                               250 EUR                     200EUR
    and i would like to obtain :
    Division     Material     Qty mouvement        mouvement value     Coût matière standard lot     
    1000        HB9754      1                              150 EUR                     100EUR
    1000        HB9754      1                              100 EUR                     100EUR
    If you have more questions don't hesitate.
    thanks by advance.

  • Exception Aggregation LAST

    Hi all!
    We use BCS and in my cube 0FISYEAR, 0FISPER3.
    So i need to create KF like       amount in the end of the period
    I need to create Exception aggregate for my KF ?
    Exception Aggregation LAST and Referen. char. 0FISPER3
    Right?
    Thanks!

    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

  • Exception aggregation for calculated key figure

    Is it possible to have exception aggregation for calculated key figure in BW 3.5? As per Note 1151857, it is possible, however this note applies to BI 7.0.
    As per note 152638, it is possible in older version only simple ckfs like 'CKF = Base key figure'.
    Is there any workaround to define exception aggregation for complex CKFs in BW 3.5?
    My requirement is like this -
    CKF = (sales quantity - forecast) %share (sales quantity).
    Aggregation for CKF over time should be sum whereas, for all other characteristics calculation of CKF should be done after aggregation(normal scenario).
    So, defining exception aggregation of CKF as 'Summation' over time should fulfil my requirement.
    I can not use calculate result as 'summation' setting for CKF because of following design of report.
    Report contains structure(characteristic)
    Elements of structure are -
    Last 3 months(April - June)
    Last 3 months - 1 (Mar - May)
    Last 3 months - 2 (Feb - Apr)
    and so on...
    When data is aggregated for each element of structure, base KFs will be aggregated and calculations will be done on that.
    Changes in the backend are also not possible because, normal aggregation of CKF-alike in backend will be summation for all characteristics.
    Is there any way in BW 3.5 to model such a scenario?
    Thanks and Regards,
    Anup Kulkarni

    Sum of individual values of CKFs is not same as the Calculation on 'sum of basic key figures(result of basic key figures)'.  - Yes, you are right.
    I need to aggregate CKF over time as SUM. However, calculation for result of all other characteristics should be based on results of basic key figures and not the 'Sum of individual values of CKF'.  -
    What i understood is that whenever the time char is in row, then result should be simple on the sum what ur getting but when other char are there then it should go for calculation based on the sum of key figure.
    If im not wrong in getting ur point.
    How can two differenct activites be perofrmed on same key figure depending on the characteristic .....!. For this u have to think some other possibility or let somebody else update the thread.

  • Confused about Exception Aggregation

    Gurus-
    I'm rather confused about exception aggregation. I've reviewed[ Himanshu Mahajan's document in SDN|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0b8ed5b-1025-2d10-b193-839cfdf7362a?QuickLink=index&overridelayout=true], and I'm still confused.
    Can someone offer some suggestions ?
    Specifically, here's what I've got (by example):
    Infocube Contents:
    Record 1 - Vendor A, Material B, Value $100
    Record 2- Vendor A, Material C, Value $200
    I need to return
    Vendor   Material   Value  Sum of All Vendor's Records
    My query results should look like this:
    Row 1, Vendor A, Material B, Value $100, Sum $300
    Row 2, Vendor A, Material C, Value $200, Sum $300
    How can I accomplish this in a Bex 7 Query ? I'm fiddling with Exception Aggregates (Total) on Vendor but don't get what I need. I've played with a Calculated Key Figure with an Exception Aggregate (Total) on Vendor, but again, no joy.
    Many thanks, o Gurus !

    Hi,
    As i can see from your report output you need a seperate column with the sum of values against vendor.
    If that is your requirement then first apply exception aggregation as TOTAL with refernce characterstic as material.Now in the result you will get the total sum
    According to your requirement now you need this in seperate column so make a new formula and use Sumct(value).
    This will give you the desired ouput.
    For more information on the same read the below links.
    http://help.sap.com/saphelp_nw70/helpdata/en/45/6148bab9ac1deee10000000a155369/content.htm
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/007ba7a0-bcea-2b10-7e89-cbcb9db98a28
    Hope it helps.
    Regards,
    AL
    Edited by: AL1112 on Dec 30, 2011 5:38 AM

  • 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

  • Iphone will not sync with windows 8

    I synced my Iphone 5C one on my new PC with Windows 8 but know itunes will not recognize the device so I can add and update music on it.  Help???

  • Unable to run Servlet program using J2EE SDK

    Hello, i am a newbie to all this j2ee stuff and servlets even.so the problem that i have maybe a very common one and i hope that most of you may have a fix to it... i use J2EE SDK to compile and run Servlet programs.I have a Servlet program with the

  • Trouble exporting as swf

    So I went to Photoshop World in Boston and learned how with CS4, I can export our magazine as a flash file with interactive page curl, et al... This was HUGE. It helped more than anything else to sell the upgrade from CS3 to CS4. I even downloaded th

  • Measured data frm labview to be saved in a databank

    Hello again.. I hope I am in the right forum to be asking this.. Im working with another project which requires me to use LabView software (apart from the other project about welding process).. This project is a bout solar cell which will give me cer

  • Jquery ui widgets

    Where can I find some videos on using the jquery widgets that are in dreamweaver.  I want to see what the possibilities are.  I am not sure if I can download more plugins to give me more options within dreamweaver or if i need to download stuff that