Exception Aggregation in BPS Layout

Hi
I am not able to get the exception aggregation settings of Key Figure in BPS layout. Below is summary of my problem.
BW Headcount cube is loaded every week and headcount keyfigure is having exception aggregation to pick up the latest value in the BEx reports. But when I use this keyfigure to get monthly headcount in BPS layout, I am getting wrong headcount number as it is aggregating the headcount values for all the loads of data in the month.
Lets say we have 5 loads in the month, the headcount of the particular employee is being shown as  5 instead of 1.
Please let me know how can I get latest headcount value in Layout instead of aggregated value.
Thanks,
Raj.

Hi Raj,
Yes - the exception aggregation will not work in the BPS. If I remember it correctly you can write the data to an ODS that does an "overwrite" (before and after image) and then load into the BPS InfoCube. Thus you will get only one record at a time (for a given char./key figure combination) and you do not need the exception aggregation.
Best regards,
Gerd Schoeffl

Similar Messages

  • How to determine the "Last Value" in exception aggregation

    Hi gurus,
    I have a KeyFigure with an exception aggregation -Last value- by time.
    I report on a multiprovider ("containing" a infocube and a realtime infocube with BPS-InputLayout). I can correct separate Items with this BPS-Layout. So, at the end I have 2 values for one item.
    So, by these facts, my report shows the the last value for the specific KeyFigure, but I expected that both values (the value in the infocube and the correction via BPS)are sumed up.
    As this is due to the exception aggregation not the case, I could "overwrite" the normal value in the infocube with the BPS.
    But SAP determines the normal value in the Infocube as "Last Value", not the one in the correction cube, which is entered via BPS.
    How does SAP determine the "last value" as I can´t see any date...
    Thanks in advance!

    Thank you for your answer...
    I got the soltion by myself.
    I thought, Last Value means the last Value, depending on the time, but in my opinion the function last value should be called "Greatest Value".
    All figures with the same value for the reference characteristc are aggregated anyway.

  • Printing Document and Comments of a BPS layout

    Do you know how i can take print out of all the comments that i have in a BPS layout. Where does all these comments and documents are stored and how can i retrieve them. If it is same a Documents tab under BW, how can i get those documents for a particular layout, as i do not see the options of a Layout except to go with Queries and Info Cube.
    What is the alternative solution  to achieve this. All my Users want to see the comments of other users and then plan on it..
    Thanks and appreciate your ideas.
    Veeru

    Hi Marc,
    I have a requirement to print the comments entered in the planning layout to be printed in a Bex Web report.
    I implemented your 'How To' paper but I still have to produce a web report to show all the comments from the planning layout.
    I found on the forum about reading the DMS through a FM and writing into a table and uploading into a cube as a charcteristic.
    Are there any better alternatives?
    Thanks,
    Jay

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

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

  • CRM fields not populating in BPS layout for opportunity Planning 0crm_order

    Hello Support,                                                                               
    We are using SAP CRM 5.0 SP09 with BW 7.0 SP 09.                                                                               
    When creating an opportunity in CRM, the product data ( quantity ,
    values) are not appearing in Planning tab( SEM-BPS Layout) .                                                                               
    Kindly let us know what needs to be done to resolve this issue.    
    Thanks and regards,                                                
    Rajiv Jain

    In your CRM system, check your mapping from CRM to BW are correct.
    You can do this in transaction SPRO. Menu path 'SAP Implementation Guide --> Integration with other mySAP components --> SEM --> Change mapping between CRM fields and InfoObjects'. Select planning application 'OPP' and click on 'Mapping table - system entries' on the left.
    In here you should see the mapping from the InfoObject to the CRM field (eg. Infoobject 0CRM_EXPREV uses structure CRM_BW_OPPT_H and field name EXP_REVENUE).
    In order for the value to be passed to planning you must tick the 'Empty' checkbox on.
    Regards,
    Adrian

  • 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

  • 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

  • How to find the list of Queries/Reports which are using Exceptional Aggregation in SAP BI?

    Hi All,
    We are interested to know how to find the list of Queries/ Reports which are using Exceptional aggregation in SAP BI.
    Please let us know is there any table's to check the list of reports using Exceptional Aggregation in SAP BI.

    Hi,
    Here you go..
    1) Go to table RSZCALC and get list of ELTUID where AGGREXC is not INITIAL and AGGRCHA is not initial; now you get only exception aggregation set based on some chars. Also you can further add STEPNR = 1 since your intention is just to get query name , not the calculation details; this will reduce number of entries to lookup and save DB time for next steps.
    Here you will get list of exception aggregation UUID numbers from which you can get properties from RSZELTDIR.
    2) Pass list of RSZCALC-ELTUID to table RSZELTXREF - TELTUID and get list of RSZELTXREF -SELTUID - this table stores query to it's elements maping kind.
    3) Now again pass RSZELTXREF - SELTUID into same table but into different field RSZELTZREF - TELTUID and get RSZELTXREF - SELTUID
    This step you get query reference sheet or column or query general UUID for next step.
    4) Pass list of RSZELTXREF - SELTUID into RSZELTDIR - ELTUID with DEFTP as 'REP'. Now you get list of query names in RSZELTDIR - MAPNAME and description in TXTLG.
    Note: you can also get the reference chars used for exception aggregation from RSZCALC - AGGRCHA field.
    Hope this helps.
    Please keep in mind, it might take more time depends on how many query elements you have in the system...
    Comments added for better DB performance by: Arun Thangaraj

  • Navigate from WebDynpro Application to BPS Layout and vice versa

    Hi,
    Please see the following Problem Statement:
    We have WebDynpro applications and BPS applications in our project. All the applications are published via SAP Portal. Both areas (WebDynpro and BPS) have same selection screen (Selection fields are common). Is it possible to call
    WebDynpro application from BPS layout (on click of button)and also passing the selection parameters to the WebDynpro application and vice-versa.
    - Sujal Shah

    Hi,
    You can you free tool from Oracle called OMWB (Oracle Migration Workbench) for SQL Server to Oracle.
    For more details, visit http://www.oracle.com/technology//tech/migration/workbench/index.html
    From Oracle to SQL Server, there are third party tools available.
    Cheers,
    Harshw
    Message was edited by:
    [email protected]

  • Variable Range not working in BPS-Layout.

    Hi BI Guru's,
    I am facing Problem in BPS - Layout.
    My requirement is to get YTD Budget Quantity in Single Coulumn. For Example, I need Quantiy for the Period 001.2009 to 12.2009 in single Column as Budget YTD 2009.
    For this I defined a variable on the Planning area, with the characteristics "fiscper" and in the selection condition i entered the range 001.2009 to 012.2009, but when i executed the layout it is showing the quantity for the perios 001.2009 only and not for the entire range.
    I tried with the User Exit also, where i copied the standard function module "UPF_VARIABLE_USER_EXIT"  to 'Z' function and modified to my requirement.
    Following is my Code for the Function Module
    clear eto_charsel.
    data ls_charsel type upc_ys_charsel.
    clear ls_charsel.
      i_area = 'ZUCOPA'.
      I_CHANM = 'FISCPER'.
      i_variable = 'ZACTDYTD1'.
      ls_charsel-chanm = i_chanm.
      ls_charsel-seqno = '1'.
      ls_charsel-sign  = 'I'.
      ls_charsel-opt   = 'BT'.
      ls_charsel-low   =  '2009001'.
      ls_charsel-HIGH   = '2009012'.
      insert ls_charsel into table eto_charsel.
    But the after using the Function Module in the User Exit area of Variable also, I am getting the Quantity for the Period 001.2009 only and not for the entire range ( 001.2009 to 012.2009 ).
    Please suggest some solution ASAP.
    Thanks in advance.
    Regards,
    VD.

    Hi Marc,
    Thanks For your Reply,
    I changed the Layout as suggested by you, where i have now 12 columns for Budget Quantity and a Total column( C1C2....C12).
    I do not want to show this 12 column and instead want to show only the total column, so I hide this columnn's in the change layout but after saving the layout these columns again appear in the layout.
    How do i hide these columns in the layout????
    Thanks
    VD

  • BW authorizations in BPS layout

    Dear all,
    My question may seem basic, but I don't have any experience with authorizations.
    I need to use already existing BW authorizations in my BPS layouts, so well, I created auth. variables on the needed characteristics and assigned it to my layout.
    ==> nothing changes when I'm launching the layout.
    I wonder if I need to ask the modification of the already existing BW roles in order to add field ACTVT? Will this have an impact on already existing BW reports for the users?
    Also, does something need to be done in RSSM (or other T-code) in order to activate the auth. for my planning cubes?
    Thank you in advance for your help!!

    Ravi,
    The objects you mentionned talk about area, planning, etc,... so they are usefull when a user wants to launch a layout in order to let him launch/plan it or not, etc... . That's the first step, and that doesn't interest me.
    Second step is that when launching, the user will get his layout. This layout will be generated regarding the design I made in BPS0 and then also the variables I've used.
    If I've restricted my planning level by using variables of type authorization on an char. that is in the lead column of my planning layout, it should restrict the diplayed/available rows regarding that authorization (ex : only company code 1000 for user A; company code 2000 for user B ; company code 1000 and 2000 for user C ==> coming from reporting authorizations in BW)
    So I really think we don't speak about the same thing... or it's me that doesn't understand! (that's also possible )

  • 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

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

    I 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

  • Problem with exception aggregation

    Hi forums,
      Can any one help in this issue?
    We checked the data in the ECOM cube for the order 63349312 where it is giving 6 records eventhough we are deleting the adjacent duplicates of the order number in the start routine. (Is it like the deletion of adjacent duplicates happen in data packet level instead of happening in the entire cube level? B'cos the same order might present in the different packets.)
        Hence the data is aggregating for the key figure, 'Number of Days' in the ECOM report. But if we check the keyfigure properties in the RSA1, there we selected the Exception Aggregation as 'First Value' and aggregation reference char as 'ZN_CORD' (Order number). Still it is aggregating the number of days value in the report.
    Regards,
    Charan.

    Hi Rohit,
             We are doing same procedure as you mentioned. We assigned order number as refer characteristic to keyfigure No. of days in infi object level. But this operation is not working in report level
          Order number     ZCUDATE                  ZN_GSTRP            ZN_CORDKF     ZN_DAYSKF
            63349312     18.01.2009     01.10.2008     1,000     109
            63349312     18.01.2009     01.10.2008     1,000     109
            63349312     18.01.2009     01.10.2008     1,000     109
            63349312     18.01.2009     01.10.2008     1,000     109
            63349312     18.01.2009     01.10.2008     1,000     109
            63349312     18.01.2009     01.10.2008     1,000     109
    I want o/p as
    Order number     ZCUDATE                   ZN_GSTRP               ZN_CORDKF     ZN_DAYSKF
            63349312     18.01.2009     01.10.2008     1,000     109
    but it is showing as
    Order number     ZCUDATE                      ZN_GSTRP     ZN_CORDKF  ZN_DAYSKF
            63349312     18.01.2009     01.10.2008     1,000            676

  • Loading data from excel to BPS layout

    Hi,
    I have BPS layouts in place and also excel sheets which are exact replica of those layouts.
    I know 2 options to load excel data into the BPS. These are:
    1) Copy and paste the data from excel to BPS layout.
    2) Create a flat file in line format from excel and then use method explained in document "How to Load a Flat File into BW-BPS Using SAPGUI.pdf".
    Is there any other way I can upload the same?
    Any help in this regard will be highly appreciated.
    thanks in advance.
    regards,
    Pankaj

    Thanks to Vlad, Laurent & Srini for prompt replies.
    But here the user needs to load data directly to the transactional cube.
    So it is a case of "instead of keying in values" on to the BPS planning layout, user wants to upload the data from excel into the BPS layout.
    Planning is done on SAP GUI and not web browser.
    I am able to do the same using the document "How to Load a Flat File into BW-BPS Using SAPGUI".
    But in this case the data needs to be converted into a simple csv file in line item format before it can be uploaded.
    Is there any way, where we can upload from excel file without having it to change to csv format as required in "How to Load a Flat File into BW-BPS Using SAPGUI"?
    thanks in advance.
    regards,
    Pankaj

Maybe you are looking for

  • Error while Executing Unix Shell Commands Using Runtime clas

    I am trying to run the following code in java on unix machine to execute cat command. Runtime runtime = Runtime.getRuntime();           try {                System.out.println("before catexecute");                Process process = runtime.exec("cat /

  • Problem in activation of ODS 0SD_O06 due to Archiving request.

    Hi Experts, I am having a problem in activating ODS 0SD_O06, it is giving below error message 1. 550 of 1.476.126 data records are in a locked area 2. 550 data records locked by archiving request 1.048.978 3. Error when checking data to be activated

  • IPhone trying to mate with Microsoft wireless mouse.

    I know this is hard to believe, but when my iPhone is within 2 feet of my Dell PC, I can move the cursor on the computer. But once the iPhone realizes that it has a captive audience it starts moving through menus, clicking, moving to new items. I tho

  • [SOLVED] KDE 4.10 freezes constantly

    Hello Since the 4.10 update, i've been experiencing some issues wich render my dayly use of the desktop unusable. Every now and then, dolphin, gweenview, kdialog, and pretty much every kde app (okular seems an exception, but i'm not entirly sure abou

  • Can't restore my iPhone

    I downloaded that GM release that was posted here this morning but want to revert back to 2.2.1 so I can get the official release when it hits. But when I go to restore is won't let me. I followed all instructions on apple.com but to nothing. I even