Interactive restriction on key figures in BPS layout

Hi Experts
I know you can define planning level/packages/layout header with variables to define selection criteria of characteristics for layout, but is it possible to define selection criteria on key figures? e.g. only show the data in layout with amount larger than a user input value (100 or any other amount you may input) when executing the layout?
Or I can define "condition" in BW query, and use this query for input layout for BPS? Because I know in NW04s BPS can use BW query as input layout.
any idea?
Thanks Patrick
Message was edited by: Patrick Yan

Hi,
In BW-BPS, i don't think it is possible to achieve this as there is no option to define conditions.
thanks

Similar Messages

  • Subject: Restricted/Calculated Key Figure

    I am writing a query on 0TCT_C21.  In my Characteristic restriction, I am restricting Process Type to u201CCHAINu201D. Now I want to setup a key figure (it can be calculated or total) which will sum process chain duration (i.e. run time) for all the process types except CHAIN, so it will give total process chain run time. How can I do that?
    I setup a Restricted Key Figure, which restricts Duration to all Process Types except CHAIN, but since filtering on PROCESS TYPE CHAIN has already been done, it is showing me process chain run time as 0. Is there a way to do total of all process types even though I have placed a filter?
    Thanks a lot,

    hi,
    Your query seams to have contradictory restrictions.
    Your Statement: "In my Characteristic restriction, I am restricting Process Type to u201CCHAINu201D".
    You have already restricted teh query with the Process type "CHAIN" and OLAP will take this as Global filter.
    But your next statement:
    "Now I want to setup a key figure (it can be calculated or total) which will sum process chain duration (i.e. run time) for all the process types except CHAIN,"
    By this you want to have key figure with Process Type " Chain".
    This CKF/RKF will be considered a Local filter.
    The global filter will take preference and The report will fetch the data with Process type " CHAIN " Only .
    So after that when your local filter applied on RKF this will 0 as an output.
    My suggestion is:
    Restrict the Key Figures with the process types as and when required.
    Means the key figure value you want to show only for CHAIn and NOT for chain needs to be identified and developed.
    Please modfy the requirement to avoid contracdiction of filters.
    Thanks
    Mukesh

  • How to Get Value from a Variable to restrict a Key Figure ?

    I am trying to make a query in Query designer, we are running BI7.
    I have a user entry veriable on the Fiscal year period, the user will need to enter a period they want the report for, i.e. 07.2008 for July 2008 report and 04.2008 for April 2008 report.
    Based on what the user entered as the starting period (in the variable entry), I have to then use that initial value and show the Year to date value (of sales etc) in the next column.
    To Clarify, if user entered 07.2008 then all the data from 01.2008 to 07.2008 needs to be in the next column.   if user entered 04.2008 then all the data from 01.2008 to 04.2008 should be in the next column.
    So to summarise according to my understanding, I want to get the value from a variable and pass it onto another variable to restrict a key firgure (sales amount)...
    Can someone please clarify what i need to do here?  
    Many thanks in advance, points will be awarded accordingly.

    hi,
    please follow the below steps:
    1. Create a new varialbe , this variable should be processed by customer exit.
    2.  In the column section, create a new column and drag the sales key figure, also drag fiscal year period and restrict with the new variable.
    3. In the cmod tcode write a customer exit code to extract the value of the user entry and assign it your variable, you can refer to the below code.
      WHEN '< New VAR name>'.
        IF I_STEP = '2'.                                 "AFTER THE POPUP
          LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
            WHERE VNAM = '<Fiscal Year Period VAR Name>'.
            CLEAR L_S_RANGE.
            L_S_RANGE-LOW      = LOC_VAR_RANGE-LOW(4).
            L_S_RANGE-LOW+4(3) = '001'.
            L_S_RANGE-HIGH     = LOC_VAR_RANGE-LOW.       "LOW E.G. 2001006
            L_S_RANGE-SIGN = 'I'.
            L_S_RANGE-OPT = 'BT'.
            APPEND L_S_RANGE TO E_T_RANGE.
            EXIT.
          ENDLOOP.
        ENDIF.
    For ex- if the user enters 008/2008, this code will create as range assign 001/2008 - 008/2008 value to the variable.
    hope it helps,
    rgs,
    Parth.

  • Restricted/Calculated Key Figures in Query vs MDX?

    Hello All,
    We are embarking on our first project utilizing SAP BW as the Data Warehouse and Web Intelligence as the presentation tool.
    We plan on creating the universes on BW Queries.
    What are the pros and cons of using Restricted and Calculated Key Figures in the query versus creating them in the Universe?  Also from a performance impact point of view if there is any?
    Best Regards,
    Dan Krieg

    Hi Dan,
    I would suppose that there is no big influence on performance. If the calculation for the calculated key figures are very complex I would propose to calculate them on query level. So its easier to use them also in other environments.
    Please take into consideration that OLAP universes are not supported in Crystal Reports. More information you find in the thread [OLAP universes and Crystal Reports|OLAP universes and Crystal Reports;.
    Regards,
    Sebastian

  • Need help for report Variable to restrict the key figure value...

    Hai gurus,
    Now i have data in the cube as follows...
    Reuisition     HR INTW date     LM INTW DATE     TEL INTW DATE     HR Count     LM Count     TEL Count
    a1              01.01.2010     02.01.2010             01.04.2010                 1                1                 1
    a2              02.02.2010     03.02.2010             02.02.2010                 1                1               1
    a3              03.03.2010     04.03.2010             03.03.2010                 1                1               1
    when i execute the report it shd ask the prompts with Date interval as in the below...
    HR INTW date
    LM INTW DATE
    TEL INTW DATE
    if i dont give any interval in the variable prompt it should display all the recors as follows
    Reuisition     HR Count     LM Count     TEL Count
    a1               1                  1               1
    a2               1                  1                     1
    a3               1                   1             1
    If i give LM INTW DATE interval as    01.01.2010 to 31.02.2010
    then it should display all the other counts as in the output_1 , but for LM count for a3 it should show 0.
    Reuisition     HR Count     LM Count     TEL Count
    a1               1                  1               1
    a2               1                  1                     1
    a3               1                 0                  1
    that means wherever i restrict the data depending on the variable that only that interval key figure value shd be in the report..
    for this scenario, which variable i need to use... and how i need to restict the KFig value in the report...
    Right now i am getting like this but it is restricting the records,,, where it should not restrict the records...in the report..
    Please guide me for the same...
    If any concerns about the scenario please let me know...
    Regards,
    VJ

    hi chowdary ,
    could you tell me the var. creation in detail and  with which reference object i need to create ...
    whether i need to take LM_DATE / 0DATE while creating variable...
    and i kept this variables it in filter section, based on the LM_DATE Object.
    i have tried both.. y'day when i take 0DATE it giving me some results...
    But at the same time it is restricting the records..
    i think it could be a problem with var.. properties?
    need more inputs pls.
    Regards,
    VJ

  • Restricted & Calculated Key figures and Structures

    Hello Gurus,
    I'm using a BW Query to create my universe and all I see is a class called Key Figures and few objects. I don't see my restricted and Calculated Key figures.
    Also I want to understand how are the Structures in BW Query brought into Universe? All I see is a column class and row class with corresponding objects in it.
    Environment: BO XI 3.1
    Appreciate your help.
    Regards,
    Vijay
    Edited by: vijay dwivedula on Jun 12, 2009 7:46 PM

    Hi Ingo,
    Sorry for getting back a little late on this issue. I've been trying to fix other issues. I'm creating my report out of BW Query and I'm not able to see all the Restricted Key Figures. Also when I try to create my report out of existing key figures and verify the data with BW analyzer the data seems to be different.
    What happens is in my universe I've two classes naming Rows_xyz, Column_abc etc and there are like 25 objects in Rows_xyz when there are supposed to be like 60 key figures and in Column class I have a single object. When I pull in this coulmn obect and pull like 3-4 key figures (which I made sure have data from BW Query Analyzer) doesn't return any data. It doesn't even throw an error as No data to fetch.
    I took the MDX Query that is generated by this report and ran it on the backend and see that there is no data even there. But from the BW Query Analyzer I can see data for this Column and the key figures that I pulled in the report.
    Thank you for your help
    Vijay

  • Restrict the Key figure to Variable number of days

    Hello Everybody,
    How can I achieve the following result in query??
    User enters date range e.g. 21.5.2009 - 2.6.2009
    Format for your reference
    Cal Day  Cal Month  LOB   Material      Item Cost    Next 90 Day forecast QTY Last 90 Day Usage QTY
                                                                               (Qty restricted to below range)
    21-May       May      LOB 1  Material A      6.20        21 May + 90 days              21 May - 90 days
    22-May       May      LOB 1  Material B      8.50        22 May + 90 days              22 May - 90 days
    2-Jun          June      LOB 4  Material C     53.35       2 Jun + 90 days                 2 Jun - 90 days
    I appreciate the responses in anticipation.
    Thanks

    hi chowdary ,
    could you tell me the var. creation in detail and  with which reference object i need to create ...
    whether i need to take LM_DATE / 0DATE while creating variable...
    and i kept this variables it in filter section, based on the LM_DATE Object.
    i have tried both.. y'day when i take 0DATE it giving me some results...
    But at the same time it is restricting the records..
    i think it could be a problem with var.. properties?
    need more inputs pls.
    Regards,
    VJ

  • 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

  • Key Figure Restrictions in Query

    Hi all,
    I've got this scenario on hand:
    I want to display a Bex report with the a particular key figure (Actuals) restricted to only specific value COMBINATIONS of two characteristics (Cost Centre and Cost Element). i.e. The restrictions should only apply for each individual combination of the characteristics (e.g for Cost centre = S0561 and Cost Element = 70400 , another combination could be for Cost Centre = S0352 and Cost Element = 70610 ).
    The challenge here is that if you restrict the key figure based on the individual characteristics (say, for Cost Centre = S0561 , S0352 and for Cost Element = 70400 , 70610) then it blocks off other figures from characteristic combinations that are should be allowed (e.g. Cost centre = S0561 and Cost Element = 70610 ,  and another combination of Cost Centre = S0352 and Cost Element = 70400).
    Any suggestions on how to handle this, typically from a previous experience, will be appreciated.
    Regards,
    Uche

    Hi Uche,
    A workaround for this scenario would be to include a hidden keyfigure for every characteristic combination. (If there are not many combinations)
    For e.g.
    Hidden KF1  Restricted on Cost centre = S0561 and Cost Element = 70400
    Hidden KF2  Restricted on Cost Centre = S0352 and Cost Element = 70610
    Then another final key figure, which is visible and is a formula KF
    Actuals     Formula = Hidden KF1 + Hidden KF2 + ..
    Best Regards,
    Dabre

  • Restriction on a key figure

    Hi experts,
    I need to write a BEx query which has a restriction on a key figure. For example it should display only those records and their details for which the invoice amount is 0. Where invoice amount is a key figure.
    I tried adding a condition but it just hides the all the rows and still dispays the total results from the multi. Is there any other way where I could restrict my key figure in the same way as we restrict characteristics (Characteristic restrictions)??
    Thanks
    IA

    Hi,
    In the below link, there is a similar example handled.
    http://help.sap.com/saphelp_nw04/helpdata/EN/69/5e59c94032da4dbb2d05fb466c297a/frameset.htm.
    Thanks,
    Priya.D

  • Restricted key figure

    HI,
    can any body explain me what is the difference between Restricted key Figure and the filter option in BEX reporting.

    Hi Ali,
    If you want restrict particuler key figure based on characteristic value, that you have to go for restricted key figure.
    For example: You have calender year month data from 2005 to 2006.An dyou have also have sales data for the period.
    If you want see the say some feb 2005 to may 2006.
    than you can use restricted key figure to see the values.
    where as Filter will show the values which you have filtered irrespective of key figure (only characteristic value).
    just go throw the below description.
    Hi,
    Restricted key figure:
    Use
    You can restrict the key figures of an InfoProvider for reuse by selecting one or more characteristics. The key figures that are restricted by one or more characteristic selections can be basic key figures, calculated key figures, or key figures that are already restricted.
    Procedure
    Defining a new restricted key figure
    1. In the InfoProvider screen area, select the Key Figures entry and choose New Restricted Key Figure from the context menu (secondary mouse button).
    If a restricted key figure has already been defined for this InfoProvider, you can also select the Restricted Key Figures entry and then choose New Restricted Key Figure from the context menu.
    The entry New Restricted Key Figure is inserted and the properties for the restricted key figure are displayed in the Properties screen area.
    2. Select the New Restricted Key Figure entry and choose Edit from the context menu (secondary mouse button.
    The Change Restricted Key Figure dialog box appears.
    You can also call the Change Restricted Key Figure dialog box from the Properties screen area by choosing the Edit pushbutton.
    Calculated key figure:
    Use
    In the Query Designer, you use formulas to recalculate the key figures in an InfoProvider so that you can reuse them. Calculated key figures consist of formula definitions containing basic key figures, restricted key figures or precalculated key figures.
    Procedure
    Defining a New Calculated Key Figure
    1. In the InfoProvider screen area, select the Key Figures entry and from the context menu (secondary mouse button click), choose New Calculated Key Figure.
    If a calculated key figure has already been defined for this InfoProvider, you can select the Calculated Key Figures entry and, from the context menu, choose New Calculated Key Figure.
    The system adds the New Calculated Key Figure entry. The properties for the calculated key figure are displayed in the Properties screen area.
    2. Select the New Calculated Key Figure entry and, from the context menu (secondary mouse button), choose Edit.
    The Calculated Key Figure dialog box appears.
    You can also call the Change Calculated Key Figure dialog box from the Properties screen area by choosing the Edit pushbutton.
    Formula:
    Use
    You can recalculate the key figures in a structure using a formula. You can include basic key figures, restricted key figures, and calculated key figures in the formula definition.
    Procedure
    Defining a Formula
    1. If the query does not yet have a key figure structure, create a New Structure in the Rows or Columns of the Query Designer by highlighting the row or column directory using the secondary mouse button and selecting New Structure from the context menu.
    2. If the structure does not yet contain any key figures, use drag and drop to transfer a (basic) key figure of the InfoProvider into the directory of the new structure.
    3. Select the structure directory, and choose New Formula. The New Formula entry is inserted and the properties for the formula are displayed in the Properties screen area.
    4. Select the New Formula entry and, from the context menu (secondary mouse button), choose Edit. The Change Formula dialog box appears.
    You can also call the Change Formula dialog box from the Properties screen area by choosing the Edit pushbutton.
    Regards,
    Shailaja

  • Restricted key figure doesn't work when restricted objected used in Structure

    Hi Experts,
    We've a requirement where user wants to restrict ABC key figure with z object. This z objects also used in structure as well, because of that this restricted key figure is not working.
    We understand it can't be used in two structure and user wants to keep this object in structure as well.
    Is there a workaround to make it work?
    Requirement brief overview:
    Say I've restricted key figure gross avail percentage and which is restricted by retail group A and B. This retail group is also used in Structure as well (in row). As said users want to keep retails group in structure and want to restrict only one key figure with two retail group A and B.
    But this combination is not working. Please can someone recommend any other way to achieve this requirement.
    Thanks,

    Hi Yasmine,
    Yes, I've reloaded the data again. Also, I've mapped correctly in cube. But still I can't see data.
    I've checked customer master data , there is no data for this field.
    In transformation I've mapped retail group with the new field as well.
    When I tried to activate master data , it's saying it's possible only via attribute change run.
    I've realised 0CUSTOMER_ZRETGRP (old field) also used in two aggregates.
    Do I need to add this in aggregates?
    How to activate master data so data will appear in cube?
    Is there any programme to activate via attribute change run?
    Thanks

  • The use of restricted key figures in real time scenario

    Hi all,
    Please let me know the use of restricted key figures in real-time business scenarios....plz someone explain it with <b><u>example</u></b>...
    Also, can restricted keys be defined globally with same infoprovider...???????????
    Your response is thankfully acknowledged,
    thanks and regards,
    shalini.

    Hi,
    You can restrict the key figures of an InfoProvider for reuse by selecting one of more characteristics. The key figures that are restricted by one or more characteristic selections can be basic key figures, calculated key figures or key figures that are already restricted. Which means you can define and use them globally in reporting for a particular infoprovider.
    Example:
    You have to show the sales for different product typessay 1, 2, 3, 4, 5, 6, for a company code.
    now you can define a RKF with company code and sales keyfigure.
    In the report, in columns, you use this RKF in new selection and restrict it with product type in 6 diff columns.
    New Selection.
    Restrict it with RKF
    Restrict it with product type 1.
    similarly for others..
    Hope this helps you....

  • Problem with Restricted Key Figures Please Solve

    Dear All.
    i restrict the key figure on some GL's for Cumulative balance, this RKF show me the result base on the 0CALMONTH which is select in the variable screen.
    i created one more RKF with the same GL's but i restrict that RKF also with fix 0Calmonth say DEC2008.
    but the problem is when i run the report it shows me that data correct, but when i bring the 0CALMONTH on top of the Key Figure structure it only show me the data for selected month for the fix month RKF the result come empty.
    my requirement is that i have to select month range and i need to show every month value minus the Dec2008 value, this only works if i donot bring the 0CALMONTH on top of Key figure structure but i want to keep it on the top of KF structure so i can show each month value - dec2008 value.
    Please explain how can i control this.
    Kind regards,
    Edited by: Zeeshan haider on Nov 11, 2009 9:49 AM
    Edited by: Zeeshan haider on Nov 11, 2009 9:59 AM

    Dear Chandu.
    I am creating the RKF on Cummulative Balance KF by restricting it with some combinations of GL's, let say the name of RKF is TRADE_Accounts.
    My requirement is to give Calmonth selection from the variable in interval let say from 01.2009 - 05.2009
    i simply want to display TRADE_Account balance for each month in selection but by doing the minus the value of Trade_Account from the same RKF i.e. TRADE_Account_2 which i restrict on DEC2008.
    so i created Two RKF for KF cummulative balance one is restricted with 0CALMONTH value for DEC2008 only.
    then i create on CKF let TRADE_BALANCE = TRADE_Account2008 - TRADE_Account.
    and place the CKF in Key Figure Structure, it work fine but problem comes when i try to bring 0CALMonth on top of key figure structure so i can show the result for each selected month.
    when i do this it only shows the Balance for selected months but it did not minus it with the other RKF i.e. TRADE_Account2008.
    when for testing i also put the TRADE_Account2008 in Key figure structure it shows empty result when the 0CALMONTH is on top of the Key figure structure.
    Please explain how can i achieve this.
    Kind regards,

  • Restricting key figures

    Hello Experts,
    I am trying to restrict a key figure by a master data value. This value exists in master data but not in transaction data in the cube. When I try to restrict by this value on a key figure, the selectable restriction values do not show this value as a selection. I think its due to it not in cube transaction data. But does this mean its not possible to have a keyfigure restricted to master data values not found in fact table? I need this be done so that in future loads, when transaction data containing/refering to this master data value is loaded can be shown in the columns. That means, even if now, there is no transaction data containing this value, I still want to show the column as blank.
    Pls throw me some hints.
    Thank you.
    Regards,
    Pascal Gabin

    Hello,
    I checked the infoobject and its BEx settings for query definition & execution filter value selections are all set to values in master data. Also, the filter section / selection condition screen, in the query definition, shows that 'only values in infoprovider' is not selected.
    Yet, I could not restrict to all of the values.
    I had reactivated the infoobject and there was no change run detected by system. So, I am not sure if I am missing something. Yes, I have experienced restricting by values in master data before but in this case, I cannot.
    Regards,
    Pascal Gabin

Maybe you are looking for

  • Checkbox in an Updatable Report

    How can I use a checkbox to display checked for 'T' and unchecked for anything else in a report based on an SQL Query? How can I use the checkbox in the report to set the value in the field in the table in an MRU? Can this be done the same way as if

  • My iTunes library seems to have a problem. Help!

    My iTunes library seems to have a problem. I saw no way to "automatically" convert to the file structure that many others have (including my kids' macs) that separates under iTunes media, music, movies, tv shows, audiobooks, etc. So I did this manual

  • HT202066 Problem with table of contents

    Hello, when I use this method to export to ePub, I can't make the table of contents to appear on the exported file. Is there another way to add a working table of contents? thanks

  • How to files from SAP DMS ?

    Hello All, I want to view the file from the SAP DMS . I know the Storage category for original files . The value of it is : DMS_C1_ST. But how to gwt the file from this carrier ? Can anyone help me out ? Are there any FM's or Tables ? Regards, Deepu.

  • Sap mdm  or  master data services from business objects ...

    hi i  knew sap is acquiring business objects , but BO is having a software package called master data services , whose functions are same as sap mdm which is already available for few customers , then how sap is planning on these two procucts. are th