Text Variable for a Restricted Key Figure

Hi,
I have a version comparison query three Restricted Key figures based on 0QUANTITY each of which are restricted by Version, Value Type and Fiscal Year. All three are in my query columns. The users select 3 sets of version, value type and fiscal year in the selection for comparison.
They want to see the text of the version they have selected as the description of the column. How can i achieve this with text variables on these 3 Restricted Key Figures which have multiple restrictions. Please advise
Thanks
Rashmi.

Hi Rashimi,
As u said this can be acheived by text Variable,
I have adoubt here,are  there THREE columns for Quantity or just ONE column with three Restrictions.
In case it is three Columns then u can go with Text variables else probably u may have to populate it in three Columns and by using Workbook you can combine them in one Column.....i.e One column with all the restrictions -text.
And here is how u create a  text variable.....
Create text Variables,For Example ,say 0FISCALYEAR.
1)Right Click on the 0FISCALYEAR and Create a input Variable say YFISCYEAR and save.
2)If ur using 0FISCALYEAR in the RKF,then drag both the 0FISCALYEAR and KF say 0QUANTITY in the new selection.
3)After the Description of the RKF there is a = sign click on that to VIEW and CREATE Text variable.
4)Create New Variable ,enter the tech name(say YFYEAR) and dscription and in the same screen choose type Replacement PAth after which u will get a set of infobjects.
5)choose 0FISCALYEAR
6)In the Next screen choose the Tech name of the Input variabble(0FISCALYEAR) and save.
7)In the description of the RKF ,type as 0FISCALYEAR &YFYEAR&.
Check this too .....
/people/surendrakumarreddy.koduru/blog/2009/02/26/using-text-variables-with-customer-exits-in-report-headings
rgds
SVU123

Similar Messages

  • 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 Column heading text missing

    Hello,
    I created a restricted Key Figure in a BEX report and dragged this RKF into the columns tab. when i execute the report , the column header text for the restricted key figure is missing. The values are fine, but the header column text  for that KF is missing. any help?
    Thanks
    justin

    Hi Justine...
    I think u r doing something wrong..........Either u can create Global Restricted Key(Infoprovider level) or Local restricted ket figure(Query level)..........If u create Global........then  in the left pane............Right click on the Keyfigure >> New restricted Key figure...........to create in the Query level..........In the context menu>> choose Edit........... or select the heading of the Rows or Columns directory
    and use the right mouse button to choose New Structure..........In both the cases....there is a Description Field........u hav to write the description there............U can change the technical name also.........then save it........
    May be it is a temporary bug............just come out the query..and again reopen it......
    Regards,
    Debjani.....

  • 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 → Programs → Business Explorer → Web Application
    Designer → Tools → 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 → 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→ Unit: BEx
    Web Application Designer → Lesson: BEx Web Application Wizard →
    Exercise → 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 → 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

  • Steps to create a Restricted Key Figure

    Hi,
    I am trying to create a  BEx Query and want to create a Restricted Key Figure.
    I am using BEx 7.x.
    Please help me with steps to create a Restricted Key FIgure.
    Thnaks and Regards,
    Shreyas Shah

    Hi Shreyas,
    Please find the step by step to create a restricted key figures.
    Procedure for 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.
    You make the basic settings on the General tab page.
    The text field, in which you can enter a description of the restricted key figure, is found in the upper part of the screen.
    You can use text variables in the description (see Using Text Variables).
    Next to that, you can enter a technical name in the Technical Name field.
    Underneath the text field, to the left of the Detail View area, the directory of all objects available in the InfoProvider is displayed. The empty field for defining the restricted key figure (Details of the Selection) is on the right-hand side of the screen.
    3. Using drag and drop, choose a key figure from the InfoProvider and restrict it by selecting one or more characteristic values. See Restricting Characteristics.
    You can also use variables instead of characteristic values. However, note that you cannot use the following variable types in restricted key figures for technical reasons:
    Variables with the process type Replacement with Query (see also Replacement Path: Replacement with Querys)
    Variables that represent a precalculated value set (see also Details)
    You can use these variable types to restrict characteristics in the rows, columns, or in the filter.
    4. Make any necessary settings for the properties of the restricted key figure on the other tab pages. See Selection/Formula Propertiess.
    5. Choose OK. The new restricted key figure is defined for the InfoProvider.
    Let me know if this helps.
    Thanks
    Sachin

  • 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

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

  • 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 with interval variable

    Hi,
    I've a restricted key figure for KF 0AMOUNT restricted by 0FISCPER. There is a variable restriction on 0FISCPER which determines the period interval in customer exit.
    e.g. 001.2008 to 009.2008
    The problem is, in query this RKF is returning only the values for period 009.2008. It should return the total for all the periods.
    Can you tell me what could be missing?
    Regards,
    Amit

    Hi Amit,
    please check the cutomer exit, as the range might not be properly defined in the exit.
    Firstly check if the variable is defined as range or single value, and if defined as range please check the below mentioned lines in the exit:
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    as they stand for:
    SIGN     (I)ncluding [ ] or (E)xcluding ] [
    OPT     Operators: EQ =, BT [ ], LE <=, LT <, GE >=, GT >, CP, and so on.
    hope it helps
    Regards,
    Umesh

  • Restricted key figure for more than one key figure

    hi all
    i want to restrict almost three keyfigures based on the  same posting period. So instead of creating restricted key figures for each key figures can i create a RKF for all the three key figures based on the same posting period.
    Is there any way i can do that.
    thanks and regards
    vijaykumar

    hello Chandra,
    if those are the only 3 keyfigures in the query, you can have posting period restricted to the required period in the filter area( if u dont want to the period to be displayed) or else you can restrict the period in the rows/free chars area too.
    you can restrict the posting period using variable with period value as a user input value.
    If there are other key figures too, then you need to create 3 diffrent restricted key figures restricted for this period.
    thanks,

  • Currency Translation for Restricted Key figure

    We are in BI Content 351 and SP6. In the query, I create a restricted key figure for an amount KF, assign a currency translation using a conversion key and target currency, give a technical name and save. Everything is fine. However, when I drag the RKF to query column, the currency translation disappears. Has any one seen this before? Any pointers will be appreciated

    Hi Colleen,
    Did you first assign the Currency COnversion Key (box on left). Then the Target Currency box will be enabled.
    Hope this helps...

  • Currency Translation Key for Restricted Key Figure

    Hello Everyone,
    I created a Restricted Key Figure and want to assign a currency translation key and the field is greye out.
    How do you assign a currency translation to a restricted key figure?
    Thanks so much,
    Colleen

    Hi Colleen,
    Did you first assign the Currency COnversion Key (box on left). Then the Target Currency box will be enabled.
    Hope this helps...

  • Displaying Restricted Key Figure Based on Fiscal Year

    I'll try and explain my problem.
    We have created a query using the CCA cube. We created 3 restricted key figures each with a different budget plan version. They are called 'AB' ,'PB' and 'RB'. When the user runs the query it will show planned values out for 5 years. So for example right now we are in Fiscal year 2006.
    The problem is that 'AB' is only valid for year 2006, 'RB' may only me valid for 2007 and 'RB' may only be valid for 2008 - 2010. They use a different plan version for different years, If I place all three columns on the report I get zeros when the plans are not valid. Here is what I would like: When the fiscal year changes somehow select the correct restricted key figure to show and also adjust the text to reflect the fiscal year.
    Its like my variables are dependent on the fiscal year displayed.
    Any help would be great.
    Rick

    Hi Richard,
    Have you tried out the Suppressing Zeros options in query properties...if the whole column is blank for a particular year, you should be able to suppress it. Click here for more info:
    http://help.sap.com/saphelp_nw04/helpdata/en/1e/99ea3bd7896f58e10000000a11402f/content.htm
    You can use text variables in the RKF description to reflect the year for which the data is being displayed.
    Hope this helps...

  • 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

  • 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

  • I want to set up Skype on my iPad and sync addresses with my iMac.  How do i do this?

    I have just purchased an ipad.  i want to set up Skype on my iPad and then sync contact info with my iMac.  How do i do this?

  • Macbook doesn't recognize Fitbit dongle

    I've lost two Fitbits Ultras that attach to your waist. I've gone back to the Flex. I'm trying to switch hardware and reinstall my Flex, however, the dongle is not being recognized. Any suggestions? 

  • Grey page on Safari

    I was using Safari when the entire page suddenly went grey below the address bar. I can type in a new address and it will open, but the new page is also grey. Cannot scroll up or down or select anything on the page to link to. No problem with any of

  • Select statment & form block

    Hi, I have one issue here which is: Oracle 10g Suppose you have a select stament which contain A lot of columns can i reflect this statment in form Block and apply delete update insert action in this block Regards, Edited by: kingadmin on Aug 19, 201

  • Starting Weblogic in Solaris.

    Hi, I would like to know,how can i start weblogic6.1 server as daemon process(like service in Windows NT) in solaris. Thanks, -Veera.