Building a new Cube Vs Restricted Key figure in Query - Performance issue

Hi,
I have a requirement to create  a OPEX restricted key figure in Query. The problem is that the key figure should be restricted to about 30 GL Accounts and almost 300 Cost centers.
I do not know if this might cause performance issue in the query. At the moment, I am thinking of creating a new OPEX cube and load only those 30 GL Accounts, 300 cost  centers and Amount. and  include OPEX  in multiprovider in order to get OPEX
amount in the report.
whats the best solution - creating OPEX restricted key figure or OPEX cube ?
thanks,
Bhat

I think you should go for cube as all the restrcited key figure are calculated at OLAP runtime so it will definitely affect the query performance.There are a lot of costcenter for which you have to restrict it so definitely during the runtime of query it will take a lot of time to fetch tha data from infoprovider.Its better that you create a cube with the restrictions and include it in MP.It will definitely save a lot of time during query execution
Edited by: shyam agarwal on Feb 29, 2012 10:26 AM

Similar Messages

  • How to copy restricted key figures in query designer ?

    hi,
    i have created a query in query designer (BI 7.0).
    How can i copy existing restricted key figures ? i can't find anything. i always have to create a new one, and then i have to do all the things like 'details of selection' etc.... manually. that CANNOT be, there MUST be a way to copy those key figures.
    any ideas ?
    best regards, Martin

    Hi Martin,
    Restricted key figures can be stored on the infoprovider basis . For which right click on the key figure (left hand side pane ), Select the necessary key figure and assign the restriction through characteristics combination, and give it a restriction and save it . Next tiem when you create query on the same info provider it should appear in the left hand side as readymade reusable piece .
    Hope that helps.
    Regards
    Mr Kapadia

  • Currency translation for a restricted key figure in Query designer

    Dear Experts,
    In my query i am using a restricted Keyfigure (ZRKF1 which is reusable). I have to change the currency translation key of the restricted Key Figure  from zcur1 to zcur2. I am not able to edit zrkf1 Currency translation in the properties( It is in gray colour) ,while i can do it for a normal keyfigure.  if i edit zrkf1 then other queries will be affected. How should i solve this? Can i copy and paste the zrkf1 to zrkf2 in order to use zrkf2 with currency translation zcur2 in my query ? How can i coy and paste restricted key figure?
    Thanks,
    Riya

    Hello Riya
    I think you can't change the currency transaltion type for RKF... to change it in RKF just make the changes in the KF which you have used in RKF....
    If you don't want to change the CURR translation type in KF1 than copy it paste it (KF2)and change in that KF2...now u can use KF2 in restricted KF...
    Thanks
    Tripple k

  • Restricted Key Figure in Query Designer

    Hi,
    I have defined a Input-Variable on the Characteristic 0PURCH_ORG (Purchasing Org.) in the Query Designer.
    This Variable is Mandator and represents "Selection Option". Means, the user has to give the Input-Varaible for ex. 0010...0011.
    Now my requirement is to define a restriced key figure where these Purchasing Org. from Input-Variable must exclude
    in the restriced key figure. I cannot exclude the Input-Varaible in restriced Key Figure as it represents "Selection Option".
    I tried to define a Customer-Exit Variable (Selection Option) on the Characteristic 0PURCH_ORG which should exclude the Input-Variable.
    But the ABAP-Code for Customer-Exit Variable doesn't work.
    Any clue, how I can solve this problem?
    Thanks

    Hi Moha Nan,
    A variable of the type selection option can not be excluded therefore a variable exit is your only option. What is the current ABAP you have written and why doesn't it work? Maybe we can find the issue with the coding.
    You need one variable of the type selection option and another one to read the first variable and reverse the option sign (from include to exclude).
    Regards,
    Alex.

  • Can't change a Restricted Key Figure technical name in QD BEx 7.1.0

    A few days ago I created a new Restricted Key Figure in Query Designer and it was autopopulated with a default technical name.  So I immediately changed it to 'ZRNPVORDINTFACTPPP_FY'.
    Now, today, I realized that the 'F' in the technical name is a typographical error and I need to remove it.  I clicked the Restricted Key Figure on the left from within the list and clicked the Change/Display pencil icon in the properties window, but the Technical Name field is still greyed out.  Also tried right clicking and selecting Edit, but same problem.
    Would removing all instances of where the figure is used in the query and other queries allow me to change it?  Could it be a user rights issue?
    As always, thanks for the help!

    Hi,
    After creating a RKF , you cannot change its technical name.
    If the RKF has a lot of restrictions and creation of another similar RKF is a big process ,
    you can create a copy of the same through transaction RSZC.
    In RSZC , give the source and target cube name as the name of the multiprovider on which your query is built,
    select restricted keyfigure ,click on execute ,  in the list which comes after execute find your KF 'ZRNPVORDINTFACTPPP_FY'
    and click on transfer/copy option available.Change the technical name as you want and then click on execute. A similar keyfigure with the desired technical name will be created in query designer ,global keyfigures .
    Replace the same with your Old keyfigure in report.

  • "new selection", restricted key figure and basic key figure

    Hi,
    I have a test report and i have a basic keyfigure "ZRevenue" and "restricted key figure"(its defined over "ZRevenue") and
    a "new selection"(its defined over "ZRevenue").
    Now that i have "material number" and "material color" and "request id" in the rows. ("Material color" is a navigational attribute of material number).
    In the column level i have a basic key figure  "ZRevenue" and "restricted key figure"(its defined over "ZRevenue")  and
    a "new selection"(its defined over "ZRevenue") .
    In a "restricted key figure" or "new selection", we can include a basic key figure or new formula or calculated key figure or an already restricted key figure into it, then we restrict it, with one or more characteristic values. In the report output we get KF values only for those characteristic values, with which it has been restricted. Please correct me if my understanding is wrong.
    Initially i restricted the "new selection" (with material number 1 to 3) and "restricted key figure" (with material number 1 to 4).
    In the cube i have material numbers 1 to 11. Now all the values were displayed from 1 to 11, but for the
    "new selection" (with material number 1 to 3) and "restricted key figure" (with material number 1 to 4) i got values only for 1 to 3 and values for 1 to 4 respectively. This is as expected and is working fine.
    Now i tried to restrict the basic keyfigure  "ZRevenue" with material number 1, the output was only until the material number 4 (this is the greatest value of the material number defined over the "restricted key figure").
    Then i tried to restrict the "new selection" (with material number 1 to 9) , then the output was from 1 to 9 material numbers.
    If i remove the restriction over the basic keyfigure  "ZRevenue" , then i get all the material numbers from 1 to 11, for "new selection" i get values for the material number 1 to 9 and for "restricted key figure" i get values for the material numbers 1 to 4.
    Can some one explain me why this behavior?
    Edited by: sapbi enthusiastic on Jan 31, 2012 11:48 AM

    Hi,
    This is where set theory comes in handy
    So what you have is a basic KF (BKF), a selection (SEL), and an RKF.
    When producing an output, BEx seems to be looking for the union of all the restrictions you place on these. So when your BKF is not restricted, the union comes out to everything in the underlying DSO. When you restrict the BKF for material number 1, this is how the restrictions might have been processed internally
    BKF: Restriction on material 1
    RKF: Restriction on material 1-4
    SEL: Restriction on 1-3
    Union of these three: 1-4
    When you remove the BKF restriction and make SEL restricted to 9, this is how it plays out
    BKF: NO Restriction on material
    SEL: Restriction on material 1-9
    RKF: Restriction on 1-4
    Union of these three: everything.
    As the union ends up giving you everything, you get 11 records. However, as SEL is restricted for 1-9, the SEL will have values for the materials 1-9. Likewise for RKF, you'll get values only for materials 1-4. Hope this clears things up!
    Regards,
    Suhas

  • How to build Restricted Key figures in Universe?

    Hi All,
    I have been trying to find a way to build restricted key figures at BO universe level.
    I have gone through the best practices documents and the mdx syntax documents.
    Even though building Restricted key figures at universe level is not a recommended approach, we had a requirement to achieve it.
    I have tried the below possilbe ways but could succeed only half way.
    Please help me and others who has been trying to build the restricted key figures at universe level by guiding us.
    Eg: A restricted key figure A1 is based on a basic key figure A, with a restriction on cost element  C (detail object,cost element key)
    I have built A1 with below syntax and  could get correct result in web intelligence report
    Select block of  A1 measure object in designer
    <Expression>@Select(Key figures\A)</Expression>
    Where block of A1 measure object in designer
    <FILTER KEY="[0COSTELMNT].[LEVEL01].[[20COSTELMNT]].[Value]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="ABCD/1234567"/></CONDITION></FILTER>
    But when I build another restricted key figure A2 out of basic key figure A with restriction on the same cost element key field but a different value like  ="ABCD/678910".
    Both A1 and A2 give correct results individually when they are dragged in a web intelligence query.
    But when both of them are required to be dragged in the same query , no result comes because of the conflicting where clauses,as cost element key can't have both values at same time.
    Then I tried building A1 in below ways, as mentioned in the mdx examples document
    Trial 1:
    Select block of  A1 measure object in designer
    <Expression>(@Select(Key figures\A),[0COSTELMNT].[LEVEL01].[[20COSTELMNT]].[Value].[ABCD/1234567])</Expression>
    Trial 2:
    Select block of  A1 measure object in designer
    <Expression>(@Select(Key figures\A),[0COSTELMNT].[ABCD/1234567])</Expression>
    Trial 3:
    Select block of  A1 measure object in designer
    <Expression>([Measures].[D787I2PW5YTGMTKL83RWBH80W],[0COSTELMNT].[ABCD/1234567])</Expression>
    All the above expressions parse OK at universe level. Trial 1 gives a database error while running the query.
    Trial 2 and Trial 3 nither throw any error nor return any result for A1.
    If any one has tried and succeeded in implementing restricted key figures at universe level,please provide us some inputs.
    Thank You.
    Naresh

    Hi,
    this seems to be identical to this one:
    Re: Condition Object for previous month data on current month input
    I would suggest you close one of them as two entries asking the same is not a good idea
    Ingo

  • Multi provider objects and restricted key figure definition

    I have the following scenario:
    1. I have a multi provider which is used as a template to build a second multiprovider the difference being one of the part provider cubes is replaced by a new cube
    2. There is a query built off the original multi provider which consists of a restricted key figure.  The definition of the restricted key figure is as follows
        Characteristic 1 - restricted to records with value 'A'
        Characteristic 2 - restricted to records with value 'Blue'
        Key Figure - Total Amount
    3. If I go to the original multiprovider and look at how the characteristics are identified and the key figure assigned the details are as follows
         Characteristic 1 - identified from all part providers including the part provider to be replaced
        Characteristic 2 - identified from all part providers including the part provider to be replaced
        Total Amount - assigned from two part providers (which are also involved in the identification of   Characteristic 1 and 2)  not including the part provider to be replaced
    4. In the new multi provider the details are as follows
    Characteristic 1 - identified from all part providers excluding the replacement part provider
        Characteristic 2 - identified from all part providers excluding the replacement part provider
        Total Amount - assigned from two part providers (which are also involved in the identification of   Characteristic 1 and 2)  not including the part provider to be replaced
    My thoughts are that it does not matter that Characteristic 1 and 2 cannot be identified from the new part provider since as long as the two part providers which are used to assign Total Amount are available in the new multi provider the values shown from the restricted key figure will be the same.  Is this correct? Thanks

    Hi,
    Yes this is correct. As long as you are reporting on Total Amount, the replacement cube will not make a difference because you never identified total amount from it. Did you face any issues?

  • One Variable 2 Restricted key figures on 2 different Dimensions

    Hi all,
    Here is my problem:
    I have a cube based on SD sales items. I want to calculate 2 retricted key figures on the 0net_value retricted by a date.
    The first key would be restricted by the installation date, and the second one by the cancellation date.
    Those two dates are set using a user input.
    When I try to do this here the error message I get:
    "Variable ZD_CSDATE is used in both (structure) element EL099Z0TL38F14TMC6AL7XKQD, and element EN4ZFAZEYGZ36B06JU04297W5 for various characteristics (0CANC_DATE, 0UCINSTDATE). This is not permitted as the characteristic is required for the F4 value help structure."
    I created 2 variables set by customer exit, this solve the problem but is not convenient at all. So who could use one and only one variable or how can create a variable by copy of another one?
    Thanks
    Matthieu

    <FONT FACE = "Tahoma", Font Color = "Blue">
    Hi
    <Br>
    I am sure you can make more than one Restricted Key Figures which are restricted to same variable value for some Characteristic.  And secondly there is no easy copy and paste option to create 2 Customer Exit Variables. You need to find out the ABAP Code written using T-Code: CMODE for the Variable Exit and there you can copy and paste a part of this code to populate new variable. If you check the ABAP Code, you would understand what I am saying.<Br>
    I am more surprised at that F4 Help in the error message. Please investigate more in that direction.
    <Br><Br>Hope it helps.
    <Br>
    Cheers
    Abhijit
    <Br>* It's a good habit to reward someone with points in SDN if you think his/her
    response was helpful to you
    </FONT>

  • Restricted Key figure - Displaying as normal number instead of currency

    Hello,
    I'm creating a restricted key figure using 0AMOUNT which of course is currency, however in the cube that I'm using 0AMOUNT is used for both Dollars and Quantities.  The problem is 1) it is always displaying a $ symbol in front of the key figure and 2) it seems when I try to create a calculated key figure and try to add the 0AMOUNT to another 0QUANTITY infoObject I get an error (I'm presumming because I'm trying to add a number to a currency infoObject).
    So my question(s) are 1) Can I format my new restricted key figure to always display as Quantity even though it's a currency info object
    and 2) Can I do a calculated key figure adding a Currency InfoObject to a Quantity infoObject?
    Thank you very much!
    -Patrick

    1) For your first question, u don't to have the currency dollar displayed for the restricted 0amount instead you want the unit of quanity.?if you want to do this,you could make use of Excel's format options i.e go to
    format-->.Style->Select the stdBexInput item and make the appropriate settings.
    2) You can use NODIM() function to add two different keyfigures.

  • 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

  • Develop a Restricted Key Figure

    Hi Experts
    Please me on how to proceed
    I am involved in developing a Restricted Key Figure.....which included a key Figure (Counter) and Resctriction on a CHAR of Data Type DATS.
    In the Restriction i want to include all the records that are not assigned any date
    When i include # in my restriction it is not working..please advise on how shall i proceed
    Thanks

    Hi,
    create new Restricted key figure.
    in Restricted key figure, drag key figure Counter and drag date on which you want to restrict and right click on date and select
    '#' value and save Restricted Key Figure and drag that keyfigure into columns. and execute report.
    check the data in the cube / DSO with  the given selections date has ' # ' values and data should be available in report as well.
    hope this helps
    Regards
    Daya Sagar

  • How to find which Restricted Key Figures are using a specific hierararchy??

    HI Experts,
      I am updating a very important hierarchy which is used in many queries and in many Restricted key figures. Is it possible to find in which Restricted Key Figures this specific hierarchy is used??
    Thanks in advance.
    Meyling.

    Hi
    I was able to find a solution
    I built a new dataset in report builder using the same table as before but tried out the "Group and Aggregate" function and for the case_ship
    field I chose "Sum" as my aggregate.... In essence this gave me a very cool and easy daliy sum of the shipped cases. 
    When I used this new dataset and built my matrix report I was able to easily get the max daily shipment for each product by week, month and
    year.
    Tom

  • Customer Ext Variable is NOT working correctly in the Restricted Key Figure

    Hi all,
       I have created a variable ZVCBLMTH (Period from 01/1996 to Last Month) with reference to
        0CALMONTH  and it will be populated through  Customer Exit and it works fine.
        In the selection for 0CALMONTH, I gave the range as '05/2008' to '08/2008' and this new
        variable  passed the value of  range as '01/1996' to '04/2008' in RSRT.
        The properties of the variable are:
              Type of Variable -  Characteristic, Processing by - Customer Exit, Variable Represents - Interval
              and Variable is - Optional.
              No change in the result after changing the 'Variable is' from Optional to 'Mandatory'.
      This variable is used in Restricted Key Figure to calculate the number of matching records between
       01/1996 & 04/2008 and somehow it is not recognizing this variable and NOT passing the results correctly.
       But, there are records with 0CALMONTH between 01/1996 & 04/2008.   
       How could I test that which value is passed into the Restricted Key Figure for this variable, PLEASE ?
       Thanks in advance.
    Regards,
    Venkat.

    Hi Clemens Li
    I agreed on your point. When we define the Internal table the type for element EQUNR & QUMNR , we are referring the SAP data element for EQUNR, QMNUM field.
    Our doubt is even though we refer the standard data element, in the ALV display, it shows with leading zeros and also it creates problems in the filtering and in the filter window all values instead of unique nos.
    Hi Abhii
    I have given below the fieldcat coding.
    Friends, can you kindly clarify the above said problems. Since we use SAP ECC 6.0 any notes or patches apply is required. ( this is the basic functionality in ALV, that is my doubt).
        wls_fieldcat-col_pos   = wpv_pos.
        wls_fieldcat-fieldname = wpv_champ.
        wls_fieldcat-tabname   = wlc_tabname.
      wls_fieldcat-seltext_s = wls_fieldcat-seltext_m
        wls_fieldcat-seltext_l = wpv_libelle.
        wls_fieldcat-ddictxt   = 'L'.
        wls_fieldcat-no_out    = wv_no_out.
        APPEND wls_fieldcat TO gt_fieldcat.
    Kind regards,
    Jegathees P.

  • Very Very Urgent Issue: Restricted Key Figure does not return any data

    Hi all,
    Please help me solving this urgent issue.
    created customer exit variable on characterstics version and also
    other customer exit variable on Value type.
    I coded that in variable exit. Problem is when I include these in
    restrickted keyfigure My query does not return me any data.
    But if I remove from restrickted key firgure and put it as normal
    charaterstics I see the variable is getting populated.
    Also in RSRT the SQl generated when these are included in RKF is not
    correct.
    I debugged and know they are getting populated. As when included in RKF
    I can also see the values of customer exit variables from information
    tab.
    I also know that there is data in cube for those restrictions.
    I posted one OSS Notes regarding this urgent issue. But got no reply from SAP.
    FYI: We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11
    Thanks
    SAP BW
    **Please do not post the same question twice: Very Urgent Issue: Restricted Key Figure does not return any data

    Hi,
    Everyone out there this is very urgent. If someone can help me solving this problem.
    We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11.
    I posted one oss notes also regarding this issue. But got no reply from SAP.
    So, Please help me solving this issue.
    Thanks
    SAP BW

Maybe you are looking for

  • How can I manage all my e-mail in the cloud?

    I am interested in managing all my e-mail in the cloud, even those mails I have already archived in my Mac. I am interested in manage my messages through all my devices (iMac, iPadf, iPhone, Macbook Pro etc.) iCloud only offers up to 50 Gb. My archiv

  • Plz help me out of this problem

    Hey guys i dont know where to post this topic questions, I am using JasperReports and IReport to desgin jrxml. I am having a problem while executing the java program which generates the html file to the local folder as per the design. It was worked w

  • Opening a Folder from Flash Exe

    I am actually looking for a solution where in I can open a folder by clicking a button in my Flash executable file. E.g., I have 'dbs.exe' I have a button in this file linking to Windows folder. when this button is clicked it should open the 'Windows

  • Firefox blocks online utility payments and bank transfers

    I have had problems within the last three weeks or so doing certain things involving online transactions. It started with bank transfers, and now I am having problems with my gas company's online bill payment. I get strange messages that don't give m

  • Jar File Problem Using External Packages

    I am having problems creating an Executable jar file that imports classes from my own package. I can create an exe jar no problem without using any external packages, but when I use an external package the jar will not execute. I am using WindowsXP,