Key Figures By Fiscal Period Dissappear -

Some Back Ground on the problem query.
I have 4 calculated key figures. Each one represents 4 quarters of a year. Each one is a sum of three RKF’s. For example CKF1 (Quarter1) is a sum of RKF1 (Period I), RKF2(Period2), RKF3(Period3).  I have created a key figure node for each of the CKF’s and assigned the RKF’s accordingly. So Quarter 1(CKF1) when expanded will contain the period 1(RKF1), 2(RKF2) and 3(RKF3).
Scenario 1
I have the nodes of the CKF set to collapse by default.
I run the query, no issues, the RKF's nicely roll up to the quarters and they show up in the CKF column.  But when i expand the quarters, for example the 1st quarter CKF, the values for each of the RKF do not show.
Scenario 2
I have the nodes of the CKF se to expand by default.
I run the query, no issues. This time, the quarters (CKF's) and the individual periods(RKF's) both show up. No problem.
But when I collapse any quarter (CKF) and expand, RKF's disappear.
Summary: When I expand or collapse a node, the key figures under the node disappear.
I am leaning towards researching on some OSS notes for this. If anyone has come across this issue and already know an OSS note, please let me know.
Thanks a Ton!.
Vamsee.

Hi,
I hope, you are entering  values 009.2006 to 011.2006 for the variable "From Fiscal Year/period to To Fiscal year/period". Am I right?
If so, Donot restrict the fiscal year period with "From Fiscal Year/period to To Fiscal year/period like as you mentioned:--
<i>Above this Structure have kept Fiscal year/period info object with variable "From Fiscal Year/period to To Fiscal year/period.This is because i need period wise breakup.</i>
To get the break up Priod wise, taking Fiscal year period characterstics above  the structure is sufficient with ou any restriction.
Under the characterstic fiscal year period take two KF (same kf called SALES QTY two times with different heading like " last year Actual sales" and "current year Actual sales ") . First KF will be restricted with customer exit varible on Fiscal year period characterstic. Second KF will be restricted with user entry varible on Fiscal year period characterstic.
In case if you enter the value 009.2006 to 011.2006 as the iput to user entry varible, the code should generate the value 009.2005 to 011.2005 to Customer exit varible.
With rgds,
Anil Kumar Sharma .P
With rgds,
Anil Kumar Sharma. P

Similar Messages

  • Non cumulative key figure and fiscal period 13

    Hi,
    We have defined a non cumulative key figure. In the cube, the non
    cumulative characteristic is the fiscal period (0FISCPER).
    This non cumulative key figure works fine from period 1 to 12, but
    displays nothing for period 13 (and 14, 15, 16).
    We want to display the balance for the special periods 13 to 16, Is
    there a way to do it?
    Thanks,
    Gabriel

    Hi,
    Yes I am sure, there are some amounts posted in period 13. And even if there are no amount posted, there was a balance in period 12, so the balance should stay the same in month 13.
    The balance in month 1 of the next year is correct: balance of period 12 + amount posted in periods 12, 13...
    Gabriel

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

  • Suppress cumulated key figures for actual data

    Hello all,
    I have build a query which display monthly actual and forecast order income for an ficsal year. The fiscal year starts in July and end in June
    The forecast data were loaded in BW over an flat file for the whole fiscal year. The actual data gets loaded daily from R/3.
    When I run the query and select the whole fiscal year and displayed the key figures as "cumulated" in the query properties, I can see all the cumulated forecast values (for 12 months) but the actual order income data just cumulated till the current month (December). For the next months (until June) always the last value from December remains.
    I want to provide a line diagram in a Web Application, which shows the forecast and the actual data. Right now the line for the actual data stops to raise at the current period and gets continued as a horizontal line till the end of the fiscal year.
    Therefore my question is: Is it possible to suppress values for actual data for the next periods in order to end the actual order income data line in the diagram at the current month.
    Any ideas would be great.
    Best regards from Munich,
    Stefan

    The one thing I can think of would require a very messy way of doing things, but it would probably work.
    If you created a set of calculated/restricted key figures for each period of the fiscal year (non-cumulated), you could also have a set that cumulates up to each period. Then, in the calculation, you can set the stipulation that if period x is not > 0, then don't sum that particular colum. Then, supress columns that don't have any data in the structure properties. I think you'd end up with 24 columns, 12 hidden, and some that won't display depending on which values exist.

  • Hiding different characteristic columns for 2 separate key figures - Part 1

    Hi,
    I am defining an input ready query for Integrated Planning. The aggregation level and layout in BEx Query Designer are as follows:
    Company Code - Column
    Business Area - Column
    Chart of Accounts - Column (Hidden)
    G/L Account - Column (with Hierarchy display based on FSV enabled)
    Fiscal Year Variant - Column (Hidden)
    Fiscal Year - Column (Hidden)
    Fiscal Year / Period - Row
    Budget (Custom Key Figure like 0BALANCE) - Row
    LV Budget (Custom Key Figure like 0BALANCE) - Row
    The output is as follows (for three months, without hierarchy display for ease of understanding):
                                             LV Budget                      Budget
    CCode  Bus Area  G/L Account  FY/Period  Jan 2010  Feb 2010  Mar 2010   Jan 2010  Feb 2010  Mar 2010
    ABC    1100      1022514                 1000.00   1500.00   2000.00    1200.00   1600.00   2200.00
    ABC    1100      1022515                 1100.00   1600.00   2100.00    1300.00   1700.00   2300.00
    So far so good. The KF are input ready and I am able to save values. The problem is that the business requirement is for a different number of columns to be displayed for LV Budget and Budget, i.e. LV budget is only maintained for, say the first 2 months and budget is maintained for 3 months. Ideally the output should be 2 columns (Jan and Feb 2010) for LV Budget and 3 columns for Budget (Jan - Mar 2010). Currently, I am getting 3 columns each for LV Budget and Budget (Jan - Mar 2010).
    I have tried removing Fiscal Year / Period from the drilldown (across) and creating a structure with five selections, 2 for LV Budget and 3 for Budget with the appropriate selections accordingly:
    Key Figure = LV Budget, Fiscal Year Variant = K4, FY / Period = 001.2010 - 002.2010
    Key Figure = Budget, Fiscal Year Variant = K4, FY / Period = 001.2010 - 003.2010
    The issue is that the query is no longer input ready if FY / Period is removed as a drilldown across. I have tried adding it to the new structure but it gives rise to three columns for each selection, two of them blank (the ones for other FY / Periods than the one specified in the selection), for example:
    LV Budget   Jan 2010 Feb 2010 Mar 2010   Jan 2010 Feb 2010 Mar 2010
                1000.00                               1500.00

    Hi,
    Just try swapping Key figures with Fiscal/Year period in your basic structure (the very first one)
    I hope it will help.
    Thanks,
    S

  • Virtual Key Figure ( Currency Problem)

    Hi All,
    I am facing one problem in virtual key figure using BADI. Need your help...
    Scenario: I have a DSO with all many fields. Requirement is to add one more VKF in DSO to get specific period balance of a GL from 0FIGL_O10 DSO and then display it as a column in Bex report. Added VKF is of type amount and unit/currency 0CURRENCY.
    Required Report Format:
    Material --- Col1 u2013 Col2 u2013 Col3(VKF)
    M1--$4, 00-$140, 00u2014<Balance form 0FIGL_O10 for a period>
    Work done so far:
    I have added a virtual key figure ZVKF_BAL in my ZSD_O06 of type amount unit/currency as 0CURRENCY. In RSR_OLAP_BADI I have added a new implementation ZVAR_IMPL.
    In class ZCL_IM_VAR_IMPL there are total three attributes.
    P_KYF_ZVKF_GL u2013 Virtual key figure
    P_CHA_0FISCPER u2013 Period is from ZSD_O06 for which we have to get the balance of a fixed GL account from 0FIGL_O10.
    Given is the code added in define method:
    DATA: l_s_chanm TYPE rrke_s_chanm,
            l_kyfnm TYPE rsd_kyfnm.
      FIELD-SYMBOLS:
            <l_s_chanm> TYPE rrke_s_chanm.
      CASE i_s_rkb1d-infocube.
      WHEN 'ZSD_O06'.
        l_s_chanm-chanm = '0FISCPER'.
        l_s_chanm-mode = rrke_c_mode-read.
        APPEND l_s_chanm TO c_t_chanm.
        APPEND 'ZVKF_GL' TO c_t_kyfnm.
      ENDCASE.
    No code added in initialize method
    Given is the code added in compute method:
    FIELD-SYMBOLS <fs_ZVKF_GL> TYPE ANY.
    FIELD-SYMBOLS <fs_0FISCPER> TYPE ANY.
    DATA :LV_FS_ZVKF_GL TYPE /BI0/OIBALANCE,  
    p_cha_0FISCPER = 8.  "ASSINGING POSITIONS TO THE FIELD AS THEY ARE NOT GETTING IT
    p_kyf_ZVKF_GL = 16.
    ASSIGN COMPONENT p_kyf_ZVKF_GL OF STRUCTURE c_s_data
                TO <fs_ZVKF_GL> .
    ASSIGN COMPONENT p_cha_0FISCPER OF STRUCTURE c_s_data
                TO <fs_0FISCPER>.
    Customized function module which will calculate the GL Balance.
      CALL FUNCTION 'ZGLBALANCE'
        EXPORTING
         FISCPER_I    = <fs_0FISCPER>
         GL_ACCOUNT_I = '0000476000'
        IMPORTING
          BALANCE_O    = LV_FS_ZVKF_GL.
    <fs_ZVKF_GL> = LV_FS_ZVKF_GL.
    Code of ZGLBALANCE:
    DATA: lv0_fiscal type /BI0/OIFISCPER.
    DATA :  X TYPE I VALUE 0,
    types: BEGIN OF ty_/BI0/AFIGL_O1000,
           FISCPER type /BI0/OIFISCPER,
           GL_ACCOUNT type /BI0/OIGL_ACCOUNT,
           BALANCE type /BI0/OIBALANCE,
           CURRENCY TYPE /BI0/OICURRENCY,
            END OF ty_/BI0/AFIGL_O1000.
    data: it_/BI0/AFIGL_O1000 type TABLE OF ty_/BI0/AFIGL_O1000, " Internal table
          wa_/BI0/AFIGL_O1000 type ty_/BI0/AFIGL_O1000.          " Work area
    select single FISCPER GL_ACCOUNT BALANCE CURRENCY from /BI0/AFIGL_O1000 into CORRESPONDING FIELDS OF TABLE it_/BI0/AFIGL_O1000 where GL_ACCOUNT eq GL_ACCOUNT_I and FISCPER eq FISCPER_I and CURRENCY = 'USD'.
    BALANCE_O = X .
    Problem:
    We are getting the balance values but it is coming with numeral with postfix ERROR.
    M1--$4, 00-$140, 00u201412,00 ERROR
    M2--$24, 00-$130, 00u201414,00 ERROR
    Is it something to do with currency? Please let us know what is worng in code?
    If yes please let me know how to get the currency along with the numeric values there in the report.
    Thanks & Regards,
    Mayank

    Hello mayankmishra135,
    Were you able to find a solution for this? I am facing the same issue (with the ERROR in the currency field), wuold appreciate your help.
    Best regards,
    Aleksander Dyl

  • 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

  • Key figure Period Value TC has a difference of 123,445- IDR in roundingstep

    Hi,
    Pls suggest some tips, to resolve this, as I am struck in Currency Translation;
    Diagnosis
    While checking the rounding conditions for key figure Period Value TC a difference of 123,445- IDR was found in step Balance Sheet.
    System Response
    The data will not be rounded.
    Procedure
    Examine the data to be rounded with regards to the key figure to be checked, Period Value TC. Check whether the rounding condition has been met for this key figure.
    Make sure that the check looks at the total balance of posting levels 00, 01, and 10 (as opposed to the rounding algorithm, which rounds each posting level separately).
    If the same message (with different differentials) appears elsewhere, please note that the check is performed for each subassignment value of those subassignments that have a selected default indicator in the differential account assignment. In this case, check the customizing settings for method step Balance Sheet.
    Regards
    CSM Reddy

    Hi CSM Reddy,
    The content of this forum is rather rich and contains a lot of questions and solutions given already.
    So, I'm kindly remind you about searching functionality.
    You could find, for example, this link:
    SEM-BCS: Currency translation
    A little remark. Disbalance may occur because of different reasons. So, first of all try to run the RFD validation. If the validation does end with errors, especially an error on the check that compares RE in B/S and NI in P&L, run the reclass (2nd one) mentioned in the link.
    If such a check is green, then go for another reclass (the 1st in the link) which will round the balance. Usually, I run it in a test mode first, in order to see how much differences the system discovered. If they are not material, I round them. If they are, then it'd better to investigate the reason.
    Hope this helps.
    Edited by: Eugene Khusainov on Sep 23, 2008 12:12 PM

  • Fiscal year in the columns outside the key figure structure

    Dear Experts
    I have a report requirement to show the keyfigures in the columns from year 1 to year 10 and in each year there are 4 keyfigures each restricted to 1 quarter for 4 quarters.
    So, there are too many keyfigures to create.
    I am using fiscal year in the columns outside the Key figure structure containing the keyfigures restricted at each of 4 quarters.
    So, when the report displays, all the 10 years will automatically be displayed.
    The problem is one of the 4 quarter level keyfigures needs to be restricted by calendar year.
    How can I read what is the fiscal year for each column at runtime so that I can reference this value to determine the calendar year ?
    As you know, each FY spans 2 Calendar Years. So, i need to restrict this on the 4th keyfigure by calendar year but while having the FY outside the keyfigure structure i can get all the FY, I am not sure how to access this value at runtime so that eg.
    if FY for column 1 is 2010, i can set calendar year to be 2010 to 2011.
    Hope you can give me some clues.
    Thanks you Gurus!
    Best regards
    John

    Dear Sunnybt
    Copy Riyes,  I find your response interesting. Please could you elaborate your idea of using condition in more detail.
    Sorry for my late response.
    Allow me to clarify my statement, which you are right, is unclear.
    By :
    "if the current QuarterFY is less than the current QuarterFY"
    I mean :
    eg. user enters FY range : 2009 to 20NN  (eg. 2017)
    KF_column1_FY2009_Q1______KF_column2_FY2009_Q2____KF_column3_FY2009_Q3______KF_column_FY2009_Q4______KF_column_FY2010_Q1______KF_column2_FY2010_Q2____KF_column3_FY2010_Q3______KF_column_FY2010_Q4_____KF_column_FY_NNNN_Q1
    For each column, where the FY can be any year range entered by user,
    the Text Description of the Column should show either 'Actual' or 'Plan' based on what is the current FY Quarter at runtime.
    If the FY Quarter (eg. 1st column is 200101) is before current FY Quarter (i.e 201103), then the Description of this column should be "Actual" , else "Plan".
    In my current design, I am unable to use customer exit text variable to meet this requirement.
    So, I like to check with you for fresher ideas.
    If not , I would use a workbook, which I am avoiding as the user needs to drilldown and I believe drilldown is not possible in workbooks where report layout needs to be rigid or cell positions fixed. Of course, unless there is a way out of this which I do not know.
    Best regards
    Bass

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

  • S&OP Key Figure Offset by 1 Period

    Dear All,
    I am trying to mimic the offsetting logic, but not see why it is not working.
    Thanks a lot for you hepl.
    Kind Regards,
    Omar
    Existing Key Figures offset by 12, working
    ACTUALSQTYPRIORYR@REQUEST = SUM( "ACTUALSQTYPRIORYR@PERPRODCUST1" )                                  Input Key Figure : ACTUALSQTYPRIORYR@PERPRODCUST1
    ACTUALSQTYPRIORYR@PERPRODCUST = "ACTUALSQTY@PERPRODCUST"
    Input Key Figure : ACTUALSQTY@PERPRODCUST
    PERIODID0@PERPRODCUST1 =  "PERIODID0"  + 12
    Input Key Figure : ACTUALSQTYPRIORYR@PERPRODCUST
    PERIODID@PERPRODCUST1 = "PERIODID"  + 12 
    ACTUALSQTYPRIORYR@PERPRODCUST
    New Key Figures offset by 1, not working
    BEGINNINGONHAND@REQUEST =  SUM( "BEGINNINGONHAND@PERPRODLOC2" )
    Input Key Figure :BEGINNINGONHAND@PERPRODLOC2
    BEGINNINGONHAND@PERPRODLOC = SUM( "PROJECTEDINVENTORY@PERPRODLOC" )
    Input Key Figure : PROJECTEDINVENTORY@PERPRODLOC
    PERIODID0@PERPRODLOC2 = "PERIODID0"  + 1
    Input Key Figure : BEGINNINGONHAND@PERPRODLOC
    PERIODID@PERPRODLOC2  =     "PERIODID"  + 1
    Input Key Figure : BEGINNINGONHAND@PERPRODLOC
    See error log attached

    Hi Alecsandra,
    We are configuring ACTUALSQTYPRIORYR (already available) and ACTUALSQTYPRIORTOPRIORYR (configuring). In this case we are using same PL PERPRODCUST1 and I am using PERIODID1 for ACTUALSQTYPRIORTOPRIORYR calculation but does not work.
    Why do we need to set the PERIODID twice, in PERIODID0 and PERIODID?
    PERIODID0@PERPRODCUST1 =  "PERIODID0"  + 12
    Input Key Figure : ACTUALSQTYPRIORYR@PERPRODCUST
    PERIODID@PERPRODCUST1 = "PERIODID"  + 12
    ACTUALSQTYPRIORYR@PERPRODCUST
    Regards,
    Aditya G

  • Open sales orders key figure in APO

    HI Gurus,
    Can anyone please throw some light as to where i need to be looking in this scenario. Our BW resource extracts open sales order quantity from ECC and loads into APO DP. The issue that i'm seeing is the open sales order quantity key figure is not getting updated properly in APO. For example to begin with we have a quantity of 800 EA in the period of 12/2014 (we go by fiscal period and in this case 12 would represent September 2014), 01/2015(October 2014), 02/2015(November 2014). The customer service group has deleted the quantity completely from period 12/2014 (September 2014) in ECC. But when i look in the planning book in APO, i can still see the quantities in the periods of 12/2014, 01/2015 and 02/2015. I was expecting the quantity from the period of 12/2014 to not showup in APO as it has been deleted in ECC. Our BW resource also confirms that he has loaded it properly in APO. Where can i start looking to resolve this issue.
    Thanks
    Ravi

    Dear Subhash, Thanks for your reply and i apologize as APO DP is new to me and i'm picking up things, can you please guide me to which tcode should i be going and checking this. Also reloading the planning area can you xplain a little more please
    Okay i have checked in the tcode /SAPAPO/TSCUBE and this is setup in the process chain for us which runs once a month on the opening day of the period. I hope this is what you were referring to?
    Under the key figure assignment in TSCUBE tcode, i see that the 'Add data" check box is not checked under Target area.

  • Option to show values up to last closed fiscal period or up to current date

    Hello,
    How would I create a query that would ask if I want it to calculate values 'up to the current date' or for the 'latest closed fiscal period'.
    Currently I have setup a report, within which, has restricted key figures that will give the 'Period to date', 'Year to Date', and 'Last Year Year to Date' values for some RKFs, however, it would be very helpful if this report could be setup so that the user could choose whether the report provides:
    1. Values only through the last closed fiscal period
    or
    2. Values up to the current date.
    <b>For example</b> if we are in period 7 of 2006, the user could have the report show all values up to the last closed fiscal period, which in this case would be period 6 of 2006.
    Or the user could have the report show all the values up to the current date.
    Hopefully I have been clear,
    Thanks,
    Nick
    Message was edited by:
            Nick Bertz

    Nick,
        What is the problem you are facing? As San mentioned you can only report till Last Fiscal Period using Customer Exit Variables(Calculate Current Fiscal Period using Current Month and Fiscal Year Variant).
    Or as you mentioned you can create restricted Key Figures using Date or month (YTD etc)
    If i miss your requirement, please guide me.
    Regards,
    Nagesh Ganisetti.
    *Assign Points if it helps.

  • How to Get Value from a Variable to restrict a Key Figure ?

    I am trying to make a query in Query designer, we are running BI7.
    I have a user entry veriable on the Fiscal year period, the user will need to enter a period they want the report for, i.e. 07.2008 for July 2008 report and 04.2008 for April 2008 report.
    Based on what the user entered as the starting period (in the variable entry), I have to then use that initial value and show the Year to date value (of sales etc) in the next column.
    To Clarify, if user entered 07.2008 then all the data from 01.2008 to 07.2008 needs to be in the next column.   if user entered 04.2008 then all the data from 01.2008 to 04.2008 should be in the next column.
    So to summarise according to my understanding, I want to get the value from a variable and pass it onto another variable to restrict a key firgure (sales amount)...
    Can someone please clarify what i need to do here?  
    Many thanks in advance, points will be awarded accordingly.

    hi,
    please follow the below steps:
    1. Create a new varialbe , this variable should be processed by customer exit.
    2.  In the column section, create a new column and drag the sales key figure, also drag fiscal year period and restrict with the new variable.
    3. In the cmod tcode write a customer exit code to extract the value of the user entry and assign it your variable, you can refer to the below code.
      WHEN '< New VAR name>'.
        IF I_STEP = '2'.                                 "AFTER THE POPUP
          LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
            WHERE VNAM = '<Fiscal Year Period VAR Name>'.
            CLEAR L_S_RANGE.
            L_S_RANGE-LOW      = LOC_VAR_RANGE-LOW(4).
            L_S_RANGE-LOW+4(3) = '001'.
            L_S_RANGE-HIGH     = LOC_VAR_RANGE-LOW.       "LOW E.G. 2001006
            L_S_RANGE-SIGN = 'I'.
            L_S_RANGE-OPT = 'BT'.
            APPEND L_S_RANGE TO E_T_RANGE.
            EXIT.
          ENDLOOP.
        ENDIF.
    For ex- if the user enters 008/2008, this code will create as range assign 001/2008 - 008/2008 value to the variable.
    hope it helps,
    rgs,
    Parth.

  • Key figure in a series

    Hi SDN,
    Our customer pointed out that on a certain metric, the key figure needs to a additive series, rather than an individual value. So except for the 1st fiscal quarter every other qtr is sum of itself and the previous qtr - within a single year.
    The problem is also that in the query we pass a starting time period as a variable and from that point on, upto ten qtrs can be displayed if there is data. So we cannot fix the query to a single year with four fix columns.
    Please advise.
    Saf.

    Hi,
    what characteristics do you have available?
    If you have 0CALYEAR and 0CALQUART1 (resp FISCYEAR and FISCPER3) then drilling them in the columns and having your KF flagged as cumulated would make it.
    Otherwise, what ar yours alternative? can you afford remodelling? Add this YTD KeyFig in your provider would be an option?
    hope this helps...
    Olivier.

Maybe you are looking for