Offset values for fisc year /period

Hi
normally period values will be 16, and 4 is additional
how can u use offset values if i need to use last 12 fiscyear/period?
offset values are not working

Hi,
Here you need to define all your offset value's logic in the code itself, so that there is no need to provide your offset values to the variable.
Hope this helps..
Rgs,
Ravikanth.I

Similar Messages

  • BSC:  Display values for Fiscal Year/Period

    Hi all,
        We are trying to create a small test scenario to know about balance score card. We have a cube which has Actual and Plan data in one KF diffentiated based on Value type character. Time character is fiscal year/period.
    We want to display a graph which displays actual and plan for fiscal year/period wise. But when we execute the score card it shows the total year's plan and actual for the individual fiscal year/period. But ideally it should display actual and plan for the respective fiscal year/period.
    we have created two value field in the measures of score card. and formula a/b (Plan / Actual ) is used.
    Please guide us in solving the problem.
    Regards,
    PM

    <FONT FACE = "Tahoma", Font Color = "Blue">
    Hi
    <Br>
    Do you have Fiscal Year Period in the Rows of your BW Report? If not, please try that.
    <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>

  • Invalid value for Fiscal year/period

    Hi all,
      I have an user exit variable which populates the fiscal year period value from two separate fields.
    1) Fiscal Period
    2) Fiscal Year
    But when I contatenate it and place it in the format 200601 the report in BEx gives me the error
    "Value 200601 for user-exit variable ZRMA_FIP is invalid"
    ZRMA_FIP is my variable name
    The code I have is:
    WHEN 'ZRMA_FIP'.
      l_yr_zrma_fip = l_v_cur_year.
      l_per_zrma_fip = l_v_cur_period.
      CONCATENATE l_yr_zrma_fip l_per_zrma_fip INTO
    l_calmth_zrma_fip.
            r_vari-low = l_calmth_zrma_fip.
            r_vari-sign = 'I'.
            r_vari-opt = 'EQ'.
            APPEND r_vari TO e_t_range.
        ENDCASE.
    I thought I had to take care of internal/external format but nothing is working...can anybody help?
    thanks

    Hi
    I have demo code
    hope that will help u.
       WHEN 'ZMXFIPED'.
    clearing the storage areas used above.
         CLEAR: l_s_range , loc_var_range .
    checking step if it is after inputing the variable value.
         IF i_step = 2.                "After selecting of input variable
    looping at interval range table .
           LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZMSFPER8'.
    assigning values to year and period values.
             l_year_exit   = loc_var_range-low+0(4).
             l_period_exit = loc_var_range-low+4(3).
    putting the from and to values together with year and period values.
             CONCATENATE l_year_exit '001'  INTO l_s_range-low .
             CONCATENATE l_year_exit l_period_exit INTO l_s_range-high .
    sign I-> includes the range between.
             l_s_range-sign =  'I'.
             l_s_range-opt =   'BT'.
    appending the fianl interval range table.
             APPEND l_s_range TO e_t_range.
    exiting after appending.
             EXIT.
           ENDLOOP.
    clearing the storage area for next iteration.
           CLEAR: l_s_range .
         ENDIF.
    by using tha logic u can try.

  • Custome variable exit for fiscal year/period

    Hello BW Gurus,
    Q1[1,2,3] Q2[4,5,6] Q3[7,8,9] Q4[10,11,12] quarterly periods
    I have a custom variable exit as shown for fiscal year period
           IF LOC_VAR_RANGE-LOW+4(3) =< '003'.
              L_S_RANGE-LOW+4(3) = '001'.
           ELSEIF LOC_VAR_RANGE-LOW+4(3) > '003' AND
                                              LOC_VAR_RANGE-LOW+4(3) =<'006'.
              L_S_RANGE-LOW+4(3) = '004'.
           ELSEIF LOC_VAR_RANGE-LOW+4(3) > '006' AND
                                                LOC_VAR_RANGE-LOW+4(3) =< '009'.
              L_S_RANGE-LOW+4(3) = '007'.
           ELSE.
              L_S_RANGE-LOW+4(3) = '010'.
           ENDIF.
    Now this works fine to give me the Current Quarter ....say if user puts 005/2007 i get the data Current quarter as [4+ 5] i.e. April and MAy data. Now for <b>Previous Period</b> I gave an offset as -3 to -1 inorder to get data for Q1[123] but the requirement is changed and I want the same time period i.e. [1+2] and not the entire quarter since the Current Quarter calculates only for 4 and 5.
    I hope u are getting my point....please give your suggestions will reciprocate with lots of points

    Hi gaurav,
    Basically If I am selecting period 005 I am getting the data for 4 and 5 as Current Quarter i.e. April is the starting period of that Q2.
    Similarly the previous Quarter should also give me data for period 1 and period 2.
    Right now the offset I gave is -3 to -1 on my custom variable so i am getting data for the entire previous quarter which is Q1[1,2,3] but in reality i just want data for period 1and period 2.
    Can you please help me in this
    Appreciate your concern
    Thanks

  • Error that "specify a value for variable posting period (single value entry

    hi
    My query is running testing fine in RSECADMIN under some username..but when i try and open it using analyzer (under same username) it gives me error that "specify a value for variable posting period (single value entry, mandatry)" it does'nt even asks to enter variable values and gives this error message.
    However the same query appears to be working fine under different username.
    plz advise.

    Hi Abhinav,
    Just do one thing compare the Roles of two different users for which Query is getting executed and not.
    Check the Object S_RFC.
    Compare the Objects detail for Both the Users.
    Please Assign points if useful.
    Regards,
    Rajdeep.

  • - How to Display Sales Qty & Value for This Year & Last Year in 2 Columns -

    Dear All,
    I'm having trouble in extracting the last year figures based date entered. I'm actually would like to create a query where I'm able to know the "TOP 10 item sold based item category". I've created a query, which show the top10 item sold (total quantity & value) for this year, but not able to display the last year figure (quantity). Please advise & thanks for your help and time.
    SET ROWCOUNT 10
    SELECT T1.ItemCode, T2.ItemName, T3.ItmsGrpNam, SUM(T1.Quantity) as "Total Qty Sold", SUM(T1.TotalSumSy) as "Total Amount"
    FROM ODLN T0  INNER JOIN DLN1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OITB T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod
    WHERE T0.DocDate >='[%0]' AND  T0.DocDate <='[%1]' AND  T3.ItmsGrpNam ='[%A]' 
    GROUP BY T1.ItemCode, T2.ItemName, T3.ItmsGrpNam
    ORDER by SUM(T1.Quantity) DESC
    I wish to have the output as follow
    Item   Qty (2008)  Qty (2007)    Value(2008)   Value(2007)
    A       300             150               1000                      500
    B       250             300                 800                      650
    C       100             250                 700                      550
    Currently, My results display:
    Item   Qty (2008)  Value(2008) 
    A       300             1000                     
    B       250               800                     
    C       100               700                     
    Cheers,
    Serene

    Hi,
    if you want more flexible, you could try this modified Istvan's query:
    SELECT top 10 T1.ItemCode, T2.ItemName, T3.ItmsGrpNam,   SUM(T1.Quantity) as "Total Qty Sold",
      SUM(T1.TotalSumSy) as "Total Amount" ,
      (select sum (r.Quantity) from ODLN h
         inner join DLN1 r on h.DocEntry=r.DocEntry  
         where h.DocDate>='[%4]' and h.DocDate<='[%5]'
             and r.ItemCode=T1.ItemCode) '2007 Sold',
      (select sum (r.TotalSumSy) from ODLN h
         inner join DLN1 r on h.DocEntry=r.DocEntry  
         where h.DocDate>='[%6]' and h.DocDate<='[%7]'
             and r.ItemCode=T1.ItemCode) '2007 Amount'
    FROM ODLN T0 INNER JOIN DLN1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OITB T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod
    WHERE T0.DocDate >='[%0]' AND T0.DocDate <='[%1]' AND T3.ItmsGrpNam between '[%2]'  and '[%3]'
    GROUP BY T1.ItemCode, T2.ItemName, T3.ItmsGrpNam
    ORDER by SUM(T1.Quantity) DESC
    Rgds,

  • Custom exit variable for fiscal year/period

    Hi BI Experts
    1) In one of the column i just want Budget data to be displayed for the entire year..i.e even if the user enters 005/2006 for fiscal year /period that column should display 001/2006 to 012/2006 Budget.
    I have created a restricted KF for 0AMOUNT restricted by version(for Budget), valuetype (for Budget )
    now how do I assign variable for Fiscal year/period...and the problem is posting period is not populated ...I mean there is no transformation for that...
    Can you share your experience on that ...full points wil be awarded...
    Thanks

    Hi Ajay and Pradhiba
    I am really sorry for assigning you guuys points ...wasa bit busy ...
    The problem is that the year and posting period is not populated...there fore I cannot use those time characteristics...
    Now I have only fiscal year/period populated..now i want
    if the user enters 005/2006 ....i want my first column to calculate the data for 001/2006 to 012/2006 ...thats the req...
    can u share ur ABAP experience in that...
    thanks

  • Texts for Fiscal Year Period

    Hi all
    We are currently using Fiscal Year Variant Z6(July - June, 4 special periods).
    When we display the texts for Fiscal Year Period in a Query it displays as CALMONTH FISCYEAR. E.g. July 2004, which is FISCPER 01.2004 but Calmonth 07.2003 (July 2003). I want the texts to display as the correct calendar year month, not as a combination of calendar month with the fiscal year.
    I have tried to maintain the texts of 0FISCPER, but I get the following message "The master data table of char. 0FISCPER is not generated, operation terminated"
    Has anyone managed to solve this problem?
    Thanks in advance
    Chami

    Chami,
    I see the problem. The Year Part of the Text is wrong.
    Unfortunately this means that Fiscal Year cannot be used to display the texts.
    The solution to your problem is to have the description from the calendar month/year in the column headings by adding the calendar period to the data target, convert the fiscal period to calendar period on data loading (using provided date conversion functions in the formula builder) and use it for display purposes. The fiscal year is still used as selection criteria (as a filter)
    The other solution is to have text variables created from the Calendar period and used in the column headings
    Hope that helps!
    Rishi

  • F4 Help Option for fiscal year/period to show most recent one first

    Hello Friends, We have audit team which wants this F4 Help for fiscal year/period to show the per/year in the current one first and then old one. Like 007/2007, 006/2007 -
    012/2005
    Please tell me if there is any Settings in Web template or in BI to make this work. Please help asap since auditor are required to test the reports for SOX.
    Thanks
    Regards
    SK

    i don't think it's possible... if you want you can restrict it to fiscal year 2007.

  • Variable for Fiscal Year Period in cube "0ECCS_C01" - Urgent

    Hi all,
    I have created a query based on cube "0ECCS_C01". I have restriced the characterstic " Fiscal Year Period" on  "Period/Fiscal Year (Single Value Entry, Required)" variable. Output of the query are just 2 numbers : sum of "cumulative value GC" and sum of "period value gc" for given period. This query is working fine in query designer. The variable takes input in following form "001.2008". I have checked that in analyzer that the 'key' value of the variable is in this format "001.2008".
    Now in VC , when i place "001.2008" in start point coding for fiscal year, it is giving error. Can any one please tell me that why it is throwing an error.I have given the same format as i gave in query designer. or shud i give period in some other format??
    Please respond.
    Regards,
    Aisha Ishrat
    ICI Pakistan Ltd.

    Hi,
    can you give us further information about the data type in the cube resp. the infoobject, which is used in the cube for the fiscal year/period?
    Maybe you can try 0002008. Can you check which values you can enter when you execute the query in the web, so that the value helps for the variable comes up?
    Best Regards
    Marcel

  • Calculating Accumulative Value for a particular period

    Hi,
    I want to calculate acumulative values based on 0calmonth for a key figure.
    In Rows, i want 0calmonth and a key figure in Columns. If we select the property of the key figure as "Cumulative". It is adding values like in first month, first month value, in 2nd month it is showing the values by adding 1st and 2nd months. But I gave a Interval variable on 0calmonth (e.g  03.2006 to 09.2006 ) it displaying cumulative values from 3rd month. In 4th month it is showing value for 3rd and 4th month. But i want to see the values as "Accumulative" means from starting of that year. Eventhougth i gave the period value as 03.2006 to 09.2006, it has to display the value of 3rd month as adding of 1st,2nd and 3rd months. like that it has to show up to last month in the given peroid.
    Please can any one suggest me....
    Thanks and Regards
    Rajesh
    Message was edited by:
            rajesh
    Message was edited by:
            rajesh

    Hi ,
    For my Above Problem I am using the code as follows. But it has no errors. but when it is displaying on the web browser. it is not getting values.
    DATA: L_S_RANGE1 TYPE RSR_S_RANGESID.
          DATA: LOC_VAR_RANGE1 LIKE RRRANGEEXIT.
          DATA: L_VALUE LIKE RRRANGEEXIT-HIGH.
    CASE I_VNAM.
        WHEN 'ZCUM_INTERVAL'.
          IF I_STEP = 2.
          LOOP AT i_t_var_range INTO LOC_VAR_RANGE1 WHERE VNAM = '0I_CMNTH'.
             L_VALUE = LOC_VAR_RANGE1-LOW.
             while L_VALUE4(2) < LOC_VAR_RANGE1-HIGH4(2).
                if sy-index > 1.
                  L_VALUE4(2) = L_VALUE4(2) + 1.
                  if strlen( L_value+4(2) ) = 1.
                     concatenate '0' L_VALUE4(2) into L_VALUE4(2).
                  endif.
                endif.
                CLEAR L_S_RANGE1.
                L_S_RANGE1-LOW = LOC_VAR_RANGE1-LOW(4).
                L_S_RANGE1-LOW+4(2) = '01'.
                L_S_RANGE1-HIGH = L_VALUE.
               L_S_RANGE1-SIGN = 'I'.
               L_S_RANGE1-OPT = 'BT'.
                APPEND L_S_RANGE1 TO E_T_RANGE.
              ENDwhile.
            ENDLOOP.
          ENDIF.
    Please can any one suggest me regarding this.
    Thanks in Advance...
    TR
    Rajesh

  • Text variable for Fiscal year/period

    Hi gurus,
    We are on BI 7.0 (PL 15). In G/L i am using the standard 0FISCPER text variable 0T_FPERF in the columns, which should e.g. produce the text "04.2008".
    However instead it displays "4  .0800". Adding Fiscal year/period 0FISCPER to drilldown shows a correct format in the rows "APR.2008", so the problem seems to be only with the text variables.
    I have checked on a reference 7.0 system where the same variable is working fine, so i assume that some fix must be available. Any hints as to what should be performed to correct this display error?
    Points will be rewarded.
    BR
    Morten

    Hello Jamspam,
    I had a similiar problem with indicators in BEX. I had an numerical indicator that displays me value in a very weird way.
    My solution was to upgrade my frontend, with SAP Business Explorer patch.
    Have you got the latest BEX patch (or others) on your frontend? No guarantees that will solve your case, but for me it worked
    Regards,
    Bruno

  • Custom variable for fiscal year/period

    Hi BW Experts,
    My problem is only fiscal year/period is populated
    (fiscal year and posting period is not populated) and I need to have a custom exit ...that if the user enters 006/2007 i need to have a varaible which will contain 001/2006 to 012/2006 ..i.e data for entire year.
    It doesnt matter which year the user enters ...i should fetch data for the entire year
    I am very weak in ABAP programming ..if any body can share their experience..I would appreicate with full points
    Thanks

    Create a customer exit  variable(not ready for input) var1 with interval
    var2 is a ready for input variable that take the value entered by the user.
    IF I_STEP = 2.
    WHEN 'var2'.
          DATA: v_mth_beg TYPE d,
                     v_mth_end TYPE d
          REFRESH e_t_range.
          CLEAR l_s_range.
          LOOP AT i_t_var_range INTO loc_var_range
                   WHERE vnam = 'var1'.
            EXIT.
          ENDLOOP.
          CONCATENATE loc_var_range-low+0(4) '001' INTO v_mth_beg.
          CONCATENATE loc_var_range-low+0(4) '012' INTO v_mth_end
          l_s_range-sign = 'I'.
          l_s_range-opt = 'BT'.
          l_s_range-low = v_mth_beg.
          l_s_range-high = v_mth_end.
          APPEND l_s_range TO e_t_range.
    try this out.Hope it helps.
    Regards,
    Rakesh

  • Personnel cost plan (PCP) run for multi years period

    There is a requirement of PCP run (tcode PHCPADMN) for multi years.
    So, I create a plan, for example, from: 01.01.2010 - 31.12.2014.
    There is a position SPV1 has Infotype 5010 from 01.01.2010 - 31.12.2010, for example the value is 150 USD/month.
    This position is described by a job, SPV.
    The job SPV itslef has Infotype 5010 from 01.01.2010 - 31.12.9999, for example the value is 100 USD/month.
    When I run the PCP, the result is:
    SPV has value 150 USD from 01.01.2010 - 31.12.2010.
    SPV has value 0 USD from 01.01.2011 - 31.12.2014 (it is incorrect)
    What I expect is:
    SPV has value 150 USD from 01.01.2010 - 31.12.2010
    SPV has value 100 USD from 01.01.2011 - 31.12.2014 (getting data from job because position cost does not exist).
    If I try to run on yearly basis, not multi year, the result is correct.
    2010:
    SPV has value 150 USD from 01.01.2010 - 31.12.2010.
    2011-2014:
    SPV has value 100 USD from 01.01.2011 - 31.12.2014 (getting data from job because position cost does not exist).
    it seems that SAP only consider, along the run period, if position has value it will takes from position, otherwise it will takes from job.
    Is it normally like this or a bug?
    Additional question: Do you have any comment about PCP run for multi years?
    Thanks for all advise.

    Hi,
    you have to run your object data selection for multi years as well. First do this for the person, tha n do it for the position, than for the job. Than you can delete the data from the position and automatically the data from the job is taken (in average) for the position for the period you select.
    A thing that you have to keep in mind for multi period runs is that it creates thousands and thousand of records. Runtime is therefore long and extraction to BW is also hard to create due to this. If it is possible to cut it in to pieces, this is advisable.
    regards,
    Frans

  • Scripting: How to retrieve the value for next year

    Hi Experts,
    Need help on HFM rules for retrieving the next year value
    Specificationt: Financial year values start from Apr to Mar
    I am bale to retrieve the values from Apr to dec, when trying to retrieve for Jan and mar getting the wrong values
    using : A# xxx.C1#xxx.y#cur
    please suggest your comments
    Thanks,
    SSr

    Hi,
    Still getting the wrong values
    FYear start from April to Mar
    For ex:
    2012                                                                                    2013
              apr     may     jun     jul     aug     sep     oct     nov     dec   jan     feb     mar
              1        1            1     1       1        1         1        1        1       1       1        1
    YTD
    OT     1          2          3      4       5        6        7        8        9     10     11     12
    Thanks,
    Ssr

Maybe you are looking for