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

Similar Messages

  • How to cumulate key figure for whole fiscal year with one time variable?

    Hello everybody!
    I have a problem creating a query that allows to get cumulated key figure for <b>whole fiscal year</b> (FY), when I actualy type <b>only last period</b> for the FY.
    The query itself is very simple:
    - I have "Organization" characteristic in "Rows" section
    - I have one key figure "Number of invoices" in "Columns"
    - I have "Fiscal year variant" 0FISCVARNT defined in "Filter" that has 12 periods within Fiscal year
    and then
    - in section "Free Characteristics" I have "Fiscal year/period" 0FISCPER.
    I want to be able to provide ONE single value when run query, which is last period of a FY (like 012/2003), but then in report see cummulated number of invoices for WHOLE fiscal year.
    Will appreciate any help!
    Vitaliy

    Please see the white paper entitled "How to... Derive a Variable value from another variable 2.x (pdf)".
    Regards,
    Troy

  • Restricting key figure based on - INPUT value or value in TRANSACTION data

    Hi fellow BWers, hope you can help with this report requirement.
    Manual input variable : 0CALMONTH.
    <b>Is it possible to restrict a key figure (0amount) like this on-the-fly: </b>
    If 0calmonth in input variable > 0calmonth in transaction data
       then restrict 0amount with 0calmonth from input variable
    else restrict 0amount with 0calmonth from transaction data
    It's a must-have requirement to do it 'on the fly', not in the ETL.
    Thanks very much,
    AG

    Thanks a lot, I get the idea
    In order to get the 0calmonth from the transaction data, i need to :
    1. display the lowest granularity in the rows (so that calmonth is unique)
    2. then use formula variable with replacement path on the infoobject 0CALMONTH to get the value from transaction data?
    Is this correct?
    If yes...since the user does not want the lowest granularity in the report, he wants result pr. profit center, this will happen if I take 'No display' on the characteristics :
    Profit center A ||  20
    Profit center A ||  30
    Profit center A ||  10
    Profit center B ||  15
    <b>Question</b> How do I get the total pr. profit center, despite having all the other characteristics (hidden) in the row?
    Thanks
    AG

  • 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

  • Key Figure based on condition between characterisics

    Hello Guys
    I have a key figure which needs to be displayed based on condition between 2 characteristics.
    Scenario:
    I have 2 fiscal periods : FP1 and FP2. and a Key Figure KF.
    Condition:
    Show KF only when FP1 not equals FP2.
    EX: If FP1 = May and FP2 = May dont show KF.
          If FP1 = May and FP2 = June then show KF.
    How do i display a key figure based on a condition between 2 characteristics?
    Please advise.
    Thanks.

    Create two formula variables based on replacement path that get the FP1 and FP2 (numeric values).
    Let us say these are ckf1 and ckf2.
    Create another CKF3 which is = "ckf1==ckf2"
    Now, CKF3 will be 0 if these two are not equal, and 1 otherwise.
    Create a condition on CKF3 so as to show only the records with a 0 value.
    Finally hide CKF3.
    That should be it.

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

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

  • Restricted key figure

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

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

  • Restricted Key Figure 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

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

  • Use of key figure based on period

    Hello All,
    I have 2 key figures in my multiprovider, e.g. Actual Amount and Budget Amount.  I need to display one of the key figure based on period.  Reports have January to December columns.  Now, if current period is October, I have to display Actual Amount from January to October.  For future periods i.e. November & December, I need to show Budget Amount. 
    Can anoybody please provide a solution for this?  How should I proceed?
    Thanks and Kind regards,
    Ajay

    HI Ajay
    Looks like you are creating a Capital Forecasting report. In order to show amounts period by period what you need to do is
    - Create one key figure for actual amount which might be based on 0Amount key figure with Debit/Credit indicator as S. (If this is not the case then please do so according to your requirement)
    - Create one key figure for Budget amount (according to your requirement)
    - Create one customer exit "Formula" variable called actual indicator. This variable will be populated with a number of 1 to 12 for each record in your cube based on the user entered month. i.e. if user enters October. assume your cube has 12 records one for each month the first 10 records will be populated with 1 and the records for Nov and Dec will be populated with a 0.
    - Create one customer exit "Formula" variable called Forecast indicator. This variable will be populated with a number of 1 to 12 for each record in your cube based on the user entered month. i.e. if user enters October. assume your cube has 12 records one for each month the first 10 records will be populated with 0 and the records for Nov and Dec will be populated with a 1.
    - Create a calculated key figure that is defined as (Actual Amount)Actual indicator + (Forecast Amount)Forecast Indicator.
    - Create twelve restricted key figures with the CKF created in the previous step restricted with the month (Jan to Dec)
    - Add the above created twelve RKFs in the query.
    Regards,

  • Problem with restricted key figures

    Hi all,
    I have four restricted key figures in my structure each one is restricted  Fiscal period with user entry variable but when i execute the report and check one of the restricted keyfigure is actually not restricting the values.
    suppose user entered 10.2006 in the selection for fiscal period then one of the column Goods receipts QTY which is restricted with Fiscal period display values other than that of 10.2006
    Did anyone faced such problem earlier?
    Please let me know if anyone had a clue.
    Thanks in advance
    Regards
    Ajay

    Hi gopi,
    Thanks for all of the restricted keyfigures it is "include value".
    Regards
    Ajay

  • Key Figure based on selection criteria

    Hi SDNers,
    I have Key figures which  i would like to display based on multiple selection criteria... for this we donot have master data data restricted at the query level it should be at the key figure leve...
    Eg:
    Sales which i would like to display based on SORG,DIV,MATERIal Etc.. Kindly can anyone will help...
    Thanks
    Sonu

    You can create restricted key figures if you want to use the same selection criteria in multiple queries.  In which you can get value for key figure for selcted filters on that perticular key figure.
    If you need it for just one query  you can create a structure and in that structure you can create a new selection which has your restrictions on that key figures.
    Search on help you will get to know hot to create structures and restricted key figures.

  • 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

Maybe you are looking for

  • Auto refresh in BPM Composer

    Hi Experts, I am using Weblogic 10.3.5 and configured managed server for BPM 11.1.1.5. The Business Process Composer's project page is getting auto refresh at every 30 seconds. Kindly give the solution for resolve this issue. Thanks in advanced Regar

  • Viewing file names in vlc in ipad

    Hi .. I'm not sure if the topic made sense.. Here is what Im trying to do .. Say if I'm copying bunch of episodes from a series or movies and copy to vlc via itunes, when i try to open vlc and pick any episode, it only shows me first few letters of t

  • Hierarchy node value in the report

    Hi all, I have a 0cost center for which master data hierarchy has been loaded. This 0costcenter has 4 hierarchy nodes and under each node there are few cost centers. Say these nodes are zones then under each zone there are few costcenters. Now my que

  • Forms in Numbers always on same record

    I have an IOS Numbers file I use to track daily, weekly, monthly and quarterly activities.  Each on a different tab/sheet.  I have created forms for each of the 4 sheets.  When entering data for say day 30, the forms for the weekly, monthly and quart

  • Updating Graphic from which MCs are made nukes MCs.

    Flash CS5 I have a graphic that has been imported to lib, it features spots each with a line of text, all converted to path beforehand. I drag drop to stage and resize smaller. I then have made movie clips of each spot and its associated text . I now