Duplicated Restricted Key Figures?

My queries for the Sales Overview Cube (0SD_C03) have "duplicated" Restricted Key Figures. Neither myself nor my query designer has created them. Example:
Z0COST_1
Z0COST_2
Z0COST_3
Z0COST_4
Has anyone else encountered this problem?
Thanks in advance.

Hi Michael;
If you have copied your query the restricted key figures and calculated key figures would also be created automatically with sequential order _2, _3, _4 and so on. Pls check you might have copied the query. In this case I would recomend you to create structures.
Hope this helps.
BK

Similar Messages

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

  • Query Designer restricted key figures using a prompt value

    Hallo Experts,
    I would like to restrict key figures after user has beeen prompted to enter a date. I have 2 key figures:
    a) KF1, Date1
    b) KF2, Date2
    User should be prompted to select a specific date: e.g. 01/2011. After selecting/entering the prompted date value, it should be given to date objects for intance Date1=01/2011 and Date2=01/2011.
    How could I achieve it in Query Designer without using customer_exit function? Reason is that non-experienced users will use this report and they should not be confronted with complex query. Do you have any idea?  
    Many thanks
    Mamadu

    Hi,
    I assume that you need to restrict the value of keyfigures by date based on user input data on variable selection screen.
    First create one user input variable on your date field say for eg calday.
    Now restrict your KF1 with calday and choose that vairable which you created.
    For second KF2 which seems to me need to be restricted with offset of +1 based on the date entered by the user.
    So restrict this KF2 with calday and use the same variable with offset of +1
    I just misunderstood you ned calmonth or day because in requirement you have given month but you are calling it as date.
    If its month then replace calday with calmonth..
    Hope it helps.
    Regards,
    AL:
    Edited by: AL1112 on Dec 21, 2011 9:42 AM

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

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

  • 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

  • How to show filter values of restricted key figures in BEx Analyzer?

    Hi,
    I have following report.
                         Quantity USA        Quantity China
    Product           100                        150
    Quantity USA is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = USA
    Quantity China is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = China
    I notice that when I put only one of these resticted key figures into the query, there is a line in the filter area of the report in the BEx Analyzer that shows the characteristic 'country' and the value on which it's restricted in the restricted key figures.
    E.g.:
    Country          USA
                         Quantity USA
    Product           100 
    If I put both restricted key figures in the query, this line is not shown.
    Does anyone of you know how I can display this line again when using multiple restricted key figures like this in the query?
    Thanks!
    Regards,
    Pascal

    Hi,
    I have following report.
                         Quantity USA        Quantity China
    Product           100                        150
    Quantity USA is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = USA
    Quantity China is a restricted key figure using key figure 'quantity' and a restriction on characteristic 'country' = China
    I notice that when I put only one of these resticted key figures into the query, there is a line in the filter area of the report in the BEx Analyzer that shows the characteristic 'country' and the value on which it's restricted in the restricted key figures.
    E.g.:
    Country          USA
                         Quantity USA
    Product           100 
    If I put both restricted key figures in the query, this line is not shown.
    Does anyone of you know how I can display this line again when using multiple restricted key figures like this in the query?
    Thanks!
    Regards,
    Pascal

  • Creating a restricted key figure in BI7 reporting

    Hi
    I am creating a restricted key figure globally in BI7 query designer, whenever I try to restrict Calender Year /Month, an error message pops up showing:
    Runtime error '457' (This key is already associated with an element of this collection), when I click ok another message opens
    Runtime error '429' (Active X component can't create object)
    and finally Microsoft VB runtime error
    Automation (The callee(servernot server application) is not applicable and disappeared; all connections are invalid. The call may have executed.
    I am working in BI 7, SAP gui 640 what could be the problem in BI 7???because the same thing is working in BI 3.5 environment.
    Regards
    Indraneel

    Hi Indraneel,
    Try to look for the patch level you are using for SAP GUI, it should be level 14. If lesser than this apply and check. And always disable VB macros.
    Assign points if helps.
    -Harshal

  • 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

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

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

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

  • Display technical names of restricted key figures

    Hi everybody,
    In a query, I would like to display the technical names of restricted key figures instead of their description as a heading. Is that possible and how can I do this?
    Thank you for any help, regards, Kathrin!

    Hi Kathrin,
    I believe you can do this in only one query.In the query you want to have the technical name ..Rigth click>properties> description will change the name of the field only in that specific query..not for all the queries..
    Else you can run the query and make changes in workbook format..Even this should serve the purpose..
    Ashish.

  • How to create Calculated/Restricted Key Figures in AO

    All,
    In our project we are consuming Bex Queries for AO Analysis. In these  we have lot of calculated/restricted key figures. In bex we can restrict 2 characterstics to one Keyfigure, So can we able to create calculated/restricted KF in AO
    Regards,
    John

    Hello Tammy,
    We are having a reqauirement in which we have 5 Bex queries built on the same infoporvider and we are trying to consolidate all the 5 queries to one single generic Bex query or two. So in AO we would like to consume this query and build different AO workbooks to meet all the old 5 queries requirement.
    So as part of this process, I would like to know can we create calculate/restricted KF's in AO , that way i can make a better decision to create them in Bex VS AO.
    Thanks for your inputs in advance.
    Regards,
    John
    Message was edited by: sunny johnson

  • 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

Maybe you are looking for

  • The best non apple bumper?

    So as the title says i am looking for a bumper, and im willin got spend the 30$ for the apple bumper but i want to know if there are any other deals out there. I have the White Verizon iphone 4 and am curious as to if that free iphone 4 bumper deal i

  • How to set sensitivity on wireless adapter

    I think I need to lower my rt2500usb based wireless dongle sensitivity. Reading online it seems that mac80211 stack doesn't allow this. Anybody knows another way to do it?

  • Setting reminder with date on one line

    On Mavericks, I can do this in reminders.app: "pick up milk today 7pm" and it creates a reminder "pick up milk" and sets the "remind me" properly to 7pm today. On iOS 7 and iCloud's reminders.app - I haven't figured out how to do this with text.  (Si

  • Animating in photoshop cs6

    The new timeline in photoshop cs6 is weird but I don't understand how I can use it for animating. I use photoshop for frame-by-frame animaiton (Not flash) and the new Timeline is confusing me. How do  I use this new time line for frame-by-frame anima

  • How do I correct my adobe flash from crashing.

    my adobe flash keeps crashing, windows 8.1, everytime. I have updated Fox and flash and nothing seems to work. I have submitted 100's crash reports.