Special Periods and Variable Offset

Our fiscal year variant includes 12 periods and one special period (Period 13).  I created a rolling 12 month query which uses variable offsets to define each column.  If the user enters 3/2006, I would expect to see the next columns to show 2/2006, 1/2006, 13/2005, 12/2005....
Instead the query ignores the special period and jumps directly from 1/2006 to 12/2005 - therefore the postings for Period 13, 2005 are not displayed.  From what I've found so far this is standard SAP BW functionality, but has anybody had any luck getting around this?
Thank you.

Jeff,
If I enter 13/2005 into the leading column variable, I can see that there are transactions posted to Period 13 which are not included in the results of Period 12.  We have another query where the user can enter a period range using an interval variable for 0FISCPER (i.e. from Period 10/2005 to Period 2/2006) and it brings back results for Period 13/2005.  However this other query that uses the variable offset to define the rolling periods does not return the Period 13 results.  I thought about adding Period 13/2005 to Table T009B, but I would prefer not to set this up in BW without doing the same in R/3, and I'm not quite sure about the implications of adding an extra (not special) period to the Fiscal Year variant in R/3.
Sven,
I use 0FISCPER for posting period, and I created a structure for the twelve periods.  There is a variable (0P_FPER) for current posting period in the first column, and the rest of the columns use offsets to go back the 12 months.  For example the second column is (0P_FPER - 1), the third column is (0P_FPER - 2), etc.  It seems that my problem is related to the fact that the offset ignores the special periods, while the fiscal period interval variable recognizes these periods.
Thanks very much to both of you for your replies!
Janet

Similar Messages

  • Special Period Problem

    Hi gurus,
    I need some light on special period (13+).
    My problem is this :
    In bex, i have made a report which take fiscal/peroid as input variable.
    my problem is this when i enter 012.2004(say)...then does it also give value for 13+ period for keyfigures corresponding to this.
    Thanks in advance
    regards,
    San!

    Hi,
    have a look at this thread:
    Re: Special Periods and Variable Offset
    Hope this helps

  • Can posting with Special Periods possible 4 other than Last posting period?

    Hi Gurus,
    My client is following a calendar year specific fiscal year (JAN TO DEC). Now, is it possible to post accounting documents or any documents giving any of the 4 special periods and with posting date as that of March? This is for income tax purpose...
    Fiscal Year Variant USED  is K4.
    Regards
    Deepak

    Hi,
    This is not possible, as the period has a conversion attached to it internally, i.e., the period is derived from the posting date, as such the special periods (13-16) will only remain in the period field of the document when the posting date is in December.  Else it will be overwritten by the posting date period.
    If you are in a non-ECC system, you may look at building an April to March ledger in Special purpose ledger, which will have its own balance carry forward and adjustment postings for the tax year. The SL uses the same postings from the FI ledger, however you can set a different fiscal year variant for the special ledger, so April will become period 1 in SL, while remaining 4 in FI.
    Cheers
    Neeraj

  • Variable offsets skipping periods with no data?

    Dear Bwers,
    I have variable offsets defined for 0FISCPER in a query where i put an offset  -6  (with less than or equal to) for getting a six month rolling. When i put 10/2007 in the query i see the result displaying 6 periods of data but some of the periods are  not within the prior six periods. It looks like it is skipping the periods that do not have data in them and instead picking up the periods that have data although they dont fall in the offset range. Any ideas whats happening?
    Thanks
    Raj

    Hi ,
    I think if u need the range then u will have set the variable between and take the range option where u can set the offset for a variable (lets say ZVAR)  :
    Offset will range select between VAR-6 TO VAR-0 then it will pick only 6 periods range ...
    Just check with this logic it will works
    Thanks,
    Debasish

  • Special period SP1 and Period 00 in layout

    Hello all,
    For my capital planning I have 2 period values Start date and Inservice date. When the start and the inservice date are in the same year i dont have any problem. But if the inservice date goes to the next year I get Special period sp1 and period 00 in my layout as i am using Fiscal year variant as K1. Is there a way we can hide the 2 column but remember its dynamic and we wont be knowing in which columns you would get this 2 particular period. Or is there a property in layout which needs to be done. Am i missing something.
    Advance Thanks for your replies.
    Sathya

    Hi Sathya,
    I was wondering if you can share the user exit for this?  I was looking for a similar one too.
    Thanks heaps.
    Gim

  • Is variable offsets can be used for characteristics, text and formulas?

    hi all,
    can anyone let me know whether variable offsets can be used for characteristics, text and formulas.
    if so cany one send me examples of using offsets to my email id [email protected]
    regds
    hari

    You use offsets on dates (0CALMONTH, 0FISCYEAR, 0DAT and so on) and of course the corresponding texts.
    If you have 0CALMONTH in your query and you want to do the same thing not only for the current month but for the past twelve months, they you just minus 1, 2....11,12 for each selections, and at the same time you can create text variable for the description of each month.
    thanks.
    Wond

  • FI-AA Normal and Special Periods

    hi,
    In Asset Accounting there are normal and special periods for a fiscal year,why do we use the special periods?
    Vinay

    The fiscal year version defines the number and relation to the calendar of the depreciation periods in the fiscal year in Asset Accounting. Asset Accounting generally uses the same fiscal year version as Financial Accounting (general ledger). In this case, the depreciation periods of Asset Accounting correspond to the posting periods of Financial Accounting (without special periods). 
    Special period is used to enter the transactions which occur after the end of financial year but related to that financial year & also for making closing entries.
    Special period is used as a control method for making closing enties by restricting through authorization.
    Warm Regards

  • Aging calculation with Special periods

    Hi all,
    I have a asset cube (Cumulative movements) to store values by fiscalyear/period including special period (P13-P16) and requirements to get aging report based on fiscal year/period and report as follows.
                                    Curent | >30days|>60 days| >120 days| >180 days|
    Asset Number
    I’m getting aging is based on selection period, and with off set (-1, -2, -3 etc.) .
    For example, If selection date 002.2014, P2 amount will be in current , P1 amount in >30 days, P12 amount in >60days but in >60days expecting to get from P16 to P12 values.
    Please give some inputs to get special periods values into aging backet as Cube is storing special period values.
    Regards
    Naani.

    Hi Naami
    Since you can't work with fiscal year period to offset with std values then create a Variable with customer exit and translate fiscal year period to calmonth then offset this one with your values.
    Thank you
    Yiannis

  • Variable Offset not working in BI 7.0

    Hi ,
    I am facing an issue with variable offsets in queries in BI 7.0.
    I created simple keyfigures with variable offset for fiscal year period with -1,-2,-3...etc to show different periods but I am getting 0 values for the same.
    Just to inform, we are on SAP GUI 7.10 and support pack 0.Are thre any issues in variable offsets with front end patch ?
    If so, pls let me know.Pls also let me know if we need to apply any notes to resolve this issue.
    Regards,
    Kumar

    Hi Joke,
    Thanks for ur reply. I just now downloaded and installing and after that I will test the variable offsets.
    Wond,
    Just to tell you that variable offsets are not also working in the web.Let me install this patch and try one more time...
    Regards,
    Kumar

  • COPA Report current period and previous period issue

    Hi Gurus,
    I have defined COPA report (Tcode KE94) based on line items. Now I want all values to be displayed based on an entry parameter in terms of period. That is to say that  If I give input values of "010.2013" as a period entry , my report should display the values for the the period specified i.e. 010.2013 in the first column and in second column  values for the period 009.2013 should be displayed and in the third column values for the period 001.2013 till 010.2013 should be displayed cumulatively.
    For this, I choosed the character "period/year" in General data selection tab, clicked "Variable on/off" tab and gave values "From"  as well as "To" for the Global Variable "OFP"  which is Curr.fisc.per./year.
    For the 1st column (1st column which is suppose to display the values according to selection parameter), along with the character "company code" , I choosed the character "period" and clicked "Variable on/off" tab and gave value "From"  as well as "To" for the Global Variable "OFP"  which is Curr.fisc.per./year.
    For the 2nd column (2nd column which is suppose to display the values for the immediately preceeding period of the selection parameter), along with the character "company code" , I choosed the character "period" and clicked "Variable on/off" tab and gave value "From"  as well as "To" for the Global Variable "OFP"  which is Curr.fisc.per./year. While doing so, I selected operator as "-" and choosed offset as 1.
    For the 3rd column (3rd column which is suppose to display the cumulative values from the beginning of the fiscal year till the period mentioned in the selection parameter), along with the character "company code" , I choosed the character "period" and selected 001 in "From" and 016 in "To" tab.
    Company Code selected in all the three columns is same and I have selected actual values i.e. 0 for "plan/actual indicator" tab.
    When I run the report through Tcode KE30 , I give values as "010.2013" for the From and To selection tabs. System shows the values as per the selection parameter in the 1st column which is correct  but display values same as per coulmn 1st in the 3rd column which is wrong because it should be cumulative. 2nd column is blank. 
    How to display the values for the immediately preceeding period and for cumulative period?
    Regards,
    makrand

    Dear Ajay,
    Thanks for the reply. Here are the screen shots.
    For the general data selection tab
    For the first column "current month" i.e. for the month
    For the second column "Last Months"
    For the third column "Cumulative" i.e. year to date
    Following is the result of KE30
    Values for the period 010.2013
    You can see that values in the report for the period 011.2013 contains value for the previous period which is 59090.21
    This value is matching when the report is run for the period 010.2013.
    But in both the reports,the figures for Current month and YTD (year to date) are same.
    Please let me know what setting is required in the current month column.
    Regards,
    makrand

  • Variable offset for date - a year ago

    I have this sales report with the following columns:
    1. Current Day Sales
    2. Month to Date Sales (this Year)
    3. Month to Date Sales (last Year)
    I'm using a range variable for 0CALDAY for column 2 (Month to Date Sales this year).  i'm having problem with column 3.  how is it possible such that the date is automatically assigned to last year's values?  using offset would mean -365, however, this may not work during leap years?
    please help

    Hi,
    Refer the 'Examples for using Variables' in 'Bex Query designer' of sap help..
    Examples for Offset Variables
    You want to use a query to carry out a comparison of two years.
    Year Comparison
    You want to compare the costs of a year of your choice with the costs of the previous year.
           1.      In the Query Designer, create a new structure and add a new Selection for each year that you require.
           2.      Only use one key figure (for example revenue) in this example query. Add this key figure to the filter or add it to the selection.
           3.      Use a characteristic value variable for the characteristic Calendar Year (0CALYEAR):
    Select the characteristic value variables for Calendar Year and, from the context menu (right mouse click), choose New Variables. The Variables Wizard appears.
    If you always want to reference to the current year automatically, use the SAP Exit variable 0CALYEAR (or as appropriate for another time characteristic).
           4.      Move the defined characteristic value variable into the selection.
           5.      Select the characteristic value variable and from the context menu (right mouse click), choose Restrict.
                                a.      Select the characteristic value variable and from the context menu, choose Enter Variable Offsets.
                                b.      Enter –1 as the offset and choose OK.
           6.      Choose OK.
           7.      Enter a description.
    Example: Use the name of the key figure, for example, revenue, for the name and use a text variable for the name of the calendar year. See Using Text Variables.
    When creating a new text variable, enter Replacement Path as the processing type, and choose calendar year 0CALYEAR as the characteristic with display as key.
           8.      Create a second selection with the same characteristic value variable and do not set an offset here.
    Also use a text variable in the description in this case.
           9.      Move the required characteristic into the rows.
       10.      Save the query.
    After execution, the query should appear as follows:
    Variable screen entry: 2002 (or no entry when using the SAP Exit Variable).
    Year Comparison
    A characteristic
    Revenue 2001
    Revenue 2002
    Value 1
    100.000
      90.000
    Value 2
    200.000
    180.000
    Value 3
    300.000
    400.000
    Comparison with Cumulative Previous Year Period
    For example: You want to compare the periods 1-8 of a particular year with the same periods for the previous year.
           1.      Create a new structure in the Query Designer and add a new Selection.
           2.      Move a key figure, for example, Revenue, into the selection.
           3.      Use a characteristic value variable for the characteristic Fiscal Year/Period (0FISCPER):
    Select the characteristic value variables for Fiscal Year/Period and from the context menu, choose New Variable. The Variables Wizard appears.
    Use the SAP Exit variable Current Fiscal Year/Period (0FPER) if you always want to reference to the current year.  If you set the variable as entry-ready in the Variable Editor, after executing the query, the variable screen then appears with which you can change the default values were necessary.
           4.      Move the characteristic value variable, such as OFPER, into the selection.
           5.      Select the characteristic value variable and from the context menu (right mouse click), choose Restrict.
           6.      Under Selection, choose Value Area and choose the tab page Variables.
           7.      Add the characteristic value variable, for example 0FPER, to the selection once again for the second value of the interval.
           8.      Select the characteristic value variable and from the context menu, choose Enter Variable Offsets.
                                a.      As an offset, enter -3 as the from value and 0 as the to value. Choose OK.
                                b.      Choose OK.
           9.      Enter a description, such as Revenue for current year.
       10.      Choose OK.
       11.      Select the selection and from the context menu, choose Copy and then Paste.
       12.      Now select the second selection and from the context menu, choose Edit.
       13.      Select the characteristic value variable and from the context menu (right mouse click), choose Restrict.
       14.      Select the characteristic value variable again and from the context menu (the right hand button), choose Enter Variable Offsets.
                                a.      As an offset, enter -15 as the from value and -12 as the to value. Choose OK.
                                b.      Choose OK.
       15.      Enter a description, for example Revenue for previous year.
    Also use a text variable in the description in this case.
       16.      Choose OK.
       17.      Move the required characteristic into the rows.
       18.      Save the query.
    After execution, the query should appear as follows:
    Variable screen entry: 01. 2002 to 08. 2002
    Comparison with Cumulative Previous Year Period
    A characteristic
    Revenue 01. – 08. 2001
    Revenue 01. – 08. 2002
    Value 1
    100.000
      90.000
    Value 2
    200.000
    180.000
    Value 3
    300.000
    400.000
    Two text variables replaced with characteristic values were used for the descriptions here. One is filled with the from-value for the column with an offset of 0 and a length of 3, the other filled with the to-value with an offset of 0 and a length of 7. You can find additional information under Example for Variable Replacement.
    Comparison of Cumulated Values for Two Years
    You may want to compare the cumulated values up to the current period of the current year with those of the previous year.
    For this example, use the variable 0FPER (current fiscal year period) and the variable 0P_FPER (your chosen fiscal year period). You use these two variables to set the interval limits.
           1.      In the Query Designer, create a structure with two selections:
    ¡        1. selection: Cumulative Amount for current year
    ¡        2. selection: Cumulative amount for previous year
           2.      With the first selection (cumulative amount for current year) , move the time characteristic 0FISCPER into the selection and select it.
           3.      Choose Restrict from the context menu (right mouse click).
           4.      Choose Value Area between as the selection and go to the tab page Variables.
           5.      Double click to choose the variable 0P_FPER as the from value and variable 0FPER as the to value. The result is an interval from the chosen period to the current period.
           6.      Define the second selection (cumulative amount for previous year) and proceed as for the first selection.
    ¡        Add the variable 0P_FPER as the from value and variable 0FPER as the to value here.
    ¡        Set an offset of –12 for both the from and the to values:
    Select the interval and from the context menu (right click), choose Enter Variable Offsets. Enter –12 for each.
    The result is an interval that has been moved 12 periods ahead.
           7.      Add the key figures and additional characteristics for the query.
    After executing the query, you get a variable screen for the variable 0P_FPER. You need to enter the start period in the current fiscal year.
    You can also suppress this entry by deactivating the indicator Entry-ready in the Variable Editor for the variable 0P_FPER and entering a default value (for example, 001.2001 for 2001). You only have to change this value once per year.
    You have now defined a query that compares the cumulative values for two years.
    The variables with SAP Exit delivered by SAP have the following behaviors:
    Variable 0FPER (current fiscal year period): Displays the values of the current fiscal year period.
    Variable 0P_FPER (any fiscal year period): Displays the values of any fiscal year period. You can set the fiscal year period in the variable screen when executing the query in any way you require.
    Variable 0FYTCFP (fiscal year up to current fiscal year period): Displays the values of the first period up to the current period of the current fiscal year.
    Variable 0FYTLFP (fiscal year up to previous fiscal year period): Displays the values of the first period up to the previous period (current period –1).
    You need to use the variables 0FPER and 0P_FPER in the above example for the comparison of cumulative values for two years.  When using the variables 0FYTCFP and 0FYTLFP, only values for one month are displayed for year transitions with an offset of –12.
    Regards,
    Prema

  • Variable Offsets are working only partially

    Hello experts, at first I thought that an offset I placed on a variable for 0FISCPER was not working. I am trying to do a report which gives me the value of couple of Key Figure "Earnings", for a certain Fiscal Period and this same Period but for the last year. That is (please consider each "/" as a blank space):
    ////////////              Earnings  //////////////////               Earnings
    ///////////           on FiscPer   ///////////        on LastFiscPer
    ///////////           (E.G. 01.2008)  ////////      (E.G. 01.2007)
    Char1 /////////         $       ////////////////////////////                      $
    Char2 ////////         $       /////////////////////////////                      $
    Char3 ///////         $        //////////////////////////////                     $
    I am using a variable that I created, which takes a user input. On Selection "Earnings on FiscPer" I placed the variable with no offset. On Selection "Earnings on LastFiscPer" I placed the same variable, with a -12 offset.
    The problem I have is that it is not working. The offset is not working, it just displays the value for the Fiscal Period given by the user, not last year's Fiscal Period. However, the funny thing is that if I place the offset as +12 and give as input las year's Fiscal Period, the offset works and displays the value for the next year's Fiscal Period. So the variable offset works only on one side, with possitive offset values. I have tried different approaches (some coming from other posts from this forum) but I cannot get the offset to work with negative values.
    How can I manage to get this to work? Any ideas?
    Edited by: Pedro Olvera on Apr 28, 2008 6:17 PM

    Hi Pedro,
    i will try to answer your questions:
    a) range of values instead of individual value for variables:
    -> if u use a range of values for one KF u will always get cumulated values for this range
    -> for example: 0FISCPER3 with range 001-016 and 0FISCYEAR 2008 -> u get the sum of all periods for year 2008
    Idea : i have a query where i have a KF with a range. I defined a solid start period (0FISCPER3) for example 001 and have an input ready variable for end period, called "Period to". Also u have input ready variable for 0FISCYEAR. This KF shows me the sum until the defined end period for a user defined year.
    b) 0FISCPER3 in lines or columns:
    IF u now drop 0FISCPER3 in free characteristics in query designer, u are able to do a breakdown in BEx Analyzer for 0FISCPER3 in lines or columns.
    Szenario:
    1) u have created your KF as i descriped in IDEA
    2) u have dropped 0FISCPER as free characteristics in query designer
    3) At BEx Analyzer u go to query properties -> put 0FISCPER3 in columns (-> maybe u change with properties display options for 0FISCPER to text -> it dispays for 0032008 -> Mar 2008)
    4) Press ok
    5)  Right click on your KF and choose "Add drill down according to" -> Choose "posting period" (0Fiscper3)
    6) Do a horizontal drilldown for posting period with drag and drop
    -> Now u have a drill down for posting period in your KF, but also for all other KF too
    -> To avoid this u can customize workbook settings
    1) Change to design mode
    2) open properties for analysis grid and disable display options for "Hierarchy icons"
    Another way is to delete the hierachy icon
    -> u now only see a drilldown with posting period for these KF u wanted to have a drilldown to.
    If u now only want to see posting periods which have values and disable all which have no values, u can activate zero suppression for lines and columns in query properties.
    Voila, u have a worbook which now shows for your KF all availble posting periods in one year without creating 16 monthly key figures. In addition u can change the inner year range of summation of period values
    Hope it helps
    Regards
    Edited by: Tobias on Apr 30, 2008 8:35 AM
    Edited by: Tobias on Apr 30, 2008 8:36 AM
    Edited by: Tobias on Apr 30, 2008 8:36 AM

  • Variable Offset for Fiscal Year Not Working

    Hello,
    My fiscal year variable offsets are not working. I have an input-ready query setup with 3 restricted key figures.
    1) Restricted by FY Variable 0P_FYEAR, 0VTYPE = 20, KF = 0QUANTITY
    2) Restricted by FY Variable 0P_FYEAR (variable offset -1), 0VTYPE = 20, KF =0QUANTITY
    3) Restricted by FY Variable 0P_FYEAR (Variable offset -2), 0VTYPE = 10, KF= 0QUANTITY
    I have in my filter selections Fiscal Year Variant = K4
    Rows have 0STKEYFIG
    Columns have 0FISCPER3 (Posting Period) and the 3 Restricted Key Figures.
    When I run the query, the offsets are not being accepted.  Only the selected FY variable.  The first and second restricted kfs show 2009 data and not 2009, 2008 as it should.  Has anyone else had issues with this?  I am not using 0FISCPER but 0FISCPER3 but I am not sure how that would make a differnce.
    I have created new variables, tried to do positive offsets, tried to include and exclude values int the filter to no avail.
    Thanks,
    Cherie

    I kept my variable offsets in the restricted key figure and they aren't working.  When I just put fiscal year in the column and put the 0P_FYEAR and 0P_FYEAR-1 I get the 2 columns and the offsets filter through just fine.  It seems to only be messing up when they are in the restricted key figures themselves.

  • Variable Offsets for Weeks

    We have a custom created infoobject for fiscal week, which is basically week number within fiscal variant, fiscal year, and fiscal period. So fiscal period 1 contains weeks 1-4, period 2 contains weeks 5-8, etc.
    Our problem is in the use of variable offsets in query definitions. If we use 0FISCPER, BEx knows that the "-1 offset" for 2005001 is 2004012, not 2004999. Similarly, for 0CALWEEK, the week before 200501 is 200452, not 200499. So for our custom infoobject, how do tell BEx that the fiscal week before 200501 is 200452? Anyone know how we can set this up?
    Thanks in advance for any info you can provide.
    Rachel McGregor

    Yes, we figured we would probably need to do something in the user exit. We did not create the infoobject with reference to anything else since we added some custom attributes.
    What exactly should we do in the user exit? We want to create a structure with a whole bunch of selections for week number, week number-1, week number-2, week number-3, etc. all the way back to week number-104 (i.e. we want 2 years' worth), with a single prompt to the user for week number.
    Any suggestions?
    Rachel

  • Problem with Fiscal Period and regarding...

    Hi all,
             I have a particular query in which posting period and fiscal year are the characteristic variables(mandatory and single values) . I have to define  Rolling Year To Date variable/ User exit such that when the user enters posing period and fiscal year query has to fetch previous 12 periods data from the cube..
           If posting period is 005 and fiscal year is 2007 then the output for a particular balance Keyfigure has to be from 005-2007 to 006-2006.
         The thing is we don’t have Fiscal period defined in the cube . One possible solution is Using the Offsets… if we are are goin to offset on the previous 12 periods, is the query going to fetch the correct values….
        Other thing we can think of is user exits… can some one share the logic regarding this... if we have to user the user exits…. Promise to award full points….
    regards,
    sasidhar gunturu

    Sasidhar,
    Since you have posting period and fiscal year separately, you need not think of going for an exit. You can simply use offsets on both so that they will fetch right data. Since there are two separate objects offsets should fetch correct data. Go ahead with offsets.....

Maybe you are looking for

  • I can't send messages on iMessage!

    I cant send messages to phones or anything else, it just sayd they're gmail accounts! it says on the bottom left hand corner Jabber Available, but i dont know how to get off Jabber! Help me!

  • How can i change column header value dynamically in IR report

    HI, I have created report with the help of collections. Report query has been changing dynamically but i got problem with report header names and headers names has not been changing dynamically it is always showing like c001,c002....etc so, i have cr

  • Can't play more then 4 stream at a time

    We are doing the project called player. In this we have tried to play actual call and its related calls ( in and out voice separately) But we can play 4 stream at a time, but if it reaches more then 4 its throwing below error. In this we are using JM

  • Creation of Target group from Survey

    Hi to all... The scenario is...      I need to send a survey to a Primary target group with certain attributes as options to them....   Depending on their selection of answers in survey(questionaiire) a separate target group has to be automatically c

  • Problem regarding service purchase order

    Hi gurus, when i am trying to create a purchase order(NB) with reference to service purchase  requision, the item category "D" is not coming in the purchase order.i have maintained all the item categories to document type(NB).please give the solution