Restricted key figure doesn't work

Hello Experts,
We've the restricted key figure which is restricted with retailer group A & B But  it does not work if we have a structure in a query that also includes retail group A & B.
Is there a way we could look at getting this made into an embedded key figure instead?
Thanks

Hi Pawan,
You can't use same infoobject in two (2) structures at the same time..
May I know what you want to achieve? Perhaps we can make an alternative..Kindly post here a screenshot of what you want to achieve..
Regards,
Loed

Similar Messages

  • 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

  • Problem with Restricted Key figure!

    Hello BW Gurus,
    Currently I am having problem with a report that is using a restricted key figure in the formula. When I filter down this restricted key figure, it is working fine but when I use this restricted key figure in formula that calculate greater than value, its giving me wrong figure and when I calculate less then value, its giving me zero total result. I am drilling down this restricted KF on a hierarchy. Did I miss any setting or do I need to do anything extra for this?
    Please let me know and thanks in Advance,
    Vaghar.

    In that case create two calculated keyfigures CKF1 and CKF2 such that
    CKF1 = ((Count >100)*1 + 0)
    CKF2 = (Count<100)*1 + 0)
    and then define Greater Count as a formula such that
    Greater Count = <b><i>Count</i></b> (CKF1)
    and similarly Lesser Count = <b><i>Count</i></b> (CKF2).
    where <b><i>Count</i></b> is a data function which gives a value of 1 when the operand <>0 and returns a 0 when the operand = 0.
          Hope this helps.

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

  • How to delete a restricted key figure in a multiprovider

    Hi all
    I used transaction RSZC (for the first time) to copy over restricted key figures from and info provider to a multi provider.
    This worked but somehow it copied over each restricted key figure twice.
    I have right clicked on the ones I don't want and clicked on delete but it doesn't delete them.
    any ideas ?
    thanks in advance

    Thanks to you all for your help
    It was my fault, I had them in structures that I'd copied over so that's why it wouldn't let me delete them.
    I found this out when I used RSZDELETE, thanks for that
    Sandra

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

  • 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

  • Restricted Key Figure and : Change Variable in WAD

    Hi everybody,
    I have a restricted key figure in my query, which is restricting all sales volumes of a product by time variable.
    I am using this restricted key figure instead of a real filter on the whole query because I have to view the total volume of this product and the volume in this year.
    This works very well, but I have no possibility to change the value of the time variable in the restricted key figure in WAD by a generic navigation block.
    How can i do this?
    Thanks,
    Alex

    Hi...
    The Web item Generic Navigation Block displays the navigational state of a query view in the Web application in the form of a table. All characteristics and structures in the query view are listed in the table and their filter values are displayed. You can change the navigational status of the query view. You can filter according to single values and remove the filter again.
    You want to see the results in tabular form and to be able to navigate
    through those results using key figures and characteristics.
    1. From the Start menu, open the Web Application Designer and start the Web
    Application Wizard
    a) Choose Start &#8594; Programs &#8594; Business Explorer &#8594; Web Application
    Designer &#8594; Tools &#8594; Wizard.
    Choose Next to skip the start page.
    2. Select the Generic Navigation Block item and accept the default settings for
    this item.
    a) In the Select Web Item dialog box, choose Standard Items &#8594; Generic
    Navigation Block, then select Next to transfer the item into your Web
    template.
    3. Assign the query Customers/Sales  as a Data Provider
    to the Generic Navigation Block web item. After assigning the Data Provider,
    accept the default values for the item attributes.
    a) Choose Query.
    b) The Open Query / View dialog box appears.
    From the Roles, select the query for Reporting&#8594; Unit: BEx
    Web Application Designer &#8594; Lesson: BEx Web Application Wizard &#8594;
    Exercise &#8594; Customers/Sales .
    Choose OK. The dialog box closes and you return to the Web application
    Wizard. Choose Next to reach the Edit Attributes dialog box. Since you
    want to accept the default properties of the item, choose Next.
    c) In the Overview dialog box, you see all the items you have selected so far.
    Add the Table Web item to your Web template and accept the suggested settings
    for this item.
    a) In the Overview dialog box, choose Add Item to add an additional item to
    your Web template. In the Select Web Item dialog box, select Standard
    Item &#8594; Table.
    Choose Next in order to transfer the item into your Web template.
    5. Assign the same Data Provider to this item as you did for the Navigation Block.
    Accept all the default settings for this item. Arrange the Web template to have
    the Generic Navigation Block before the Table.
    a) Both items in the Web template use the same Data Provider. Therefore, you
    can use the same entries for this item. Choose Next.
    b) Leave the properties of the table item unchanged. Skip over the Edit
    Attributes dialog box by choosing Next.
    c) Both Web items now appear in the Overview dialog box. Change the
    sequence of the two web items so that the Web template starts with the
    Generic Navigation Block. Use the up and down arrow icons to move your
    web items. Choose Next.
    6. Save the Web template.
    a) You do not have to make any entries in the Save Web Template dialog box.
    Choose Save to save your Web template.
    Save the newly-created Web template in your Favorites.
    give Description: ..................
    give Technical name: ...........
    7. Display the Web template in the browser.
    a) Choose Display theWeb template in theWeb browser .
    8. Exit the Web Application Wizard.
    a) Choose Exit. The Wizard window closes and the Web template is opened
    in the Web Application Designer where you can make additional edits
    as required.
    with regards,
    hari kv

  • 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

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

  • Constant Selection in Restricted Key Figure

    Hi Gurus,
    I am using BeX 3.x and in one of the reports, we use a restricted key figure that has the Profit Center Object[restricted to a few Hierarchy Nodes] and a Key Figure.
    But there is an option called 'Constant Selection' that is selected in the Profit Center object in this restricted key figure. Can you please tell me what checking the 'Constant Selection' option would achieve?Can you explain using a simple example how it works?
    Thanks a lot!!!!

    Hi,
       The Constant Selection function allows you to mark a selection in the Query Designer as constant. This means that navigation and filtering have no effect on the selection at runtime. This allows you to easily select reference sizes that do not change at runtime.
    For More info, refer to this link.
    [http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e7/5f983c1a356858e10000000a114084/frameset.htm]
    Thanks & Regards,
    Pradeep

  • How can we restrict Key Figure in the BI System

    Hi All,
    Can any one explain How can i restrict key figures in BI system.
    So when i create a query a specific user  can only execute it if a specific key figure is a part of query otherwise he is not allowed to execute a query.
    For Example:
    A user TEST123 is allowed to execute a query with keyfigure Quantity he is not allowed to execute the query if any other key figure is present in the query
    Regards,
    Deepak

    Hay Diogo,
    Bravo...
    Your suggetions always work for me. The scenario was that
    A user TEST_PLD08 should only allow to see output for the querys which consist of the keyfigure PLDQUACMP and not for other keyfigures while other user TEST_PLD07 is allowed to see the output for  querys consist of any of the keyfiguers.
    so I have assign a authorization profile  PLD_TEST07 to the user TEST_PLD08 with KeyFigures authorization as mentioned below and it is working fine
    I     EQ     :
    I     EQ     PLDQUACMP
    You can forward me more scenarios like this if you can think of more it will be really helpful for me
    Regards,
    Deepak

  • Appended Key figure is not working in Delta reverse record

    Dear All,
    I have enhanced 2LIS_11_VASCL datasource, to pull value from condition record, called Surchage.
    I have set reversal indicator for this field in my datasource. I have written code in CMOD to get this value from KONV table of that sales order.
    Now when value  is changed, delta record for this, automatically creates reversal record, but it shows new value of surcharge as negative, because that code is pulling value which currently exists in table.
    For example for order 350089 , if surchage is $ 100 .  User changes it to $200
    Then I get following record.
    Reversal Record  - $200 (This should be instead -$100 , i.e. previous value)
    New Record - $100.
    Because of this my new value is not getting updated in table.
    I can't use overwrite mode in ODS because some other technical reason.
    How can I solve this problem?
    appended Key figure is not working in Delta reverse record

    LIS have before-after delta. So ODS should be in Overwrite mode. If that is not possible.. try sorting the records in Start Routine such way that the - 100 $ is above the - 200 $ records in Data Package.
    but this is risky as it will affect other key figures for which things maybe fine. I guess you need take Data Package records in an internal table. And then sort this internal table. then you can read the internal table in update routine of this key figure.
    OR (If you are on BI 7.0) you introduce an InfoSource in between DS and DSO with Overwrite mode for this Key Figure.

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

Maybe you are looking for

  • Is it possible to Mute "Say A Command" while in vibrate mode?

    in vibrate mode, when the phone "should" be silent, if you pick it up and accidentally touch the voice dialing command, the voice starts talking "say a command...". my opinion is that when you are in silent/vibrate mode, this should be muted or disab

  • How can I add the address bar that I've removed before ?

    I removed address bar from my Firefox but now I can't bring it back . when I right click on the top bars, it doesn't show any choice to bring the address bar back ! Could you please help me ?

  • Will an iPhone purchased unlocked in the USA work in India on 3G

    I am going to live in USA for 2-3 months. I am planning to buy an unlocked iphone 5, use it there and when i return back to India i plan to use it there also. My question is will it work in India atleast on 2G and 3G?

  • Hostname

    What is host name: I found that there is a relationship btw /etc/rc.conf and /etc/hosts I am not getting My etc/rc.conf looks like this # NETWORKING # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts HOSTNAME="myhost" # Use 'ifconfig -

  • Rendering a large (Tiled) layer into the camera roll

    Hi, Wonder if anyone can help? I've got a very large tiled layer that I'm trying to take a screen shot of. Unfortunately it is a little too large for the normal method (renderInContext, UIGraphicsGetImageFromCurrentImageContext, UIImageWriteToSavedPh