Current year period comparison with previous year

Hello Experts,
i need to compare qty of
period 01 2006 with period 01 2005-->for this period
period 01,02 2006 with period 01,02 2005-->for next period
period 01,02,03 2006 with period 01,02,03 2005 -->
after that...etc...
Note:
-i am having time char fiscal year/period
-now we are in period 02
-to get this year period i am using the variable,
"Cumulated to Last fiscal Year/Period" to restrict. so, this will give period 01 of this year.
- is there any standard variable to get last years period
- else, how to achieve this?
Thank you very much.
-Vam.

Hi,
u can try with the Variable: Cumulated up to Current Fiscal Year Period  0FYTCFP.
i have not tried.its just an idea.
from sap help:This variable denotes an interval from period 1 of the current fiscal year to the current fiscal year period.
First the fiscal year variant, which serves as the input parameter for determining the current fiscal year, is defined.
http://help.sap.com/saphelp_nw04s/helpdata/en/99/ae22419e2ab167e10000000a155106/frameset.htm
or
Variable: Cumulated up to Last Fiscal Year Period
Technical name: 0FYTLFP
Use
This variable denotes an interval from period 1 of the current fiscal year to the period before the current fiscal year period.
First the fiscal year variant, which serves as the input parameter for determining the current fiscal year, is defined.
cretae 2 restricted keyfigures like this:
RKF1:
Quantity
0FISCPER restricted by 0FYTCFP / 0FYTLFP
RKF2:
Quantity
0FISCPER restricted by 0FYTCFP/0FYTLFP with offset '-1'.
and use respective text variables to view Fiscal year/period value accordingly in RKFs.
hope this helps.
regards
Message was edited by: c c
Message was edited by: c c

Similar Messages

  • Finacial statement report Comparison with Previous year in report painter

    Hi Experts,
    I am new to report Painter.I developed financial statement report in report painter with following data:
    Table: FAGLFLEXT
    Rows:GL Account Hierarchy(defined Manually)
    General data selection: Ledger
    Column 1: CCode,record type,version,period,fiscalyear
    Column 2: Ccode,record type,version,period,fiscalyear
    I tried various variables for fiscal year in both columns but in general data selection two fiscal year fields appeared and in output  it is showing values according to only one fiscal year field in general data selection hence it is displaying values only in first columns and empty values in second column.
    I hardcoded fiscal year values in both columns but still fiscal year field is appearing in general data selection and value input to that fiscal year results in displaying values in first column and empty values in second column in output.Please let me know where i went wrong.
    Thanks&Regards,
    narasimha.

    Hi Narasimha,
    Can you please post your solution.
    Thanks,
    Srini

  • Period indicator with Fiscal Year Variant in MRP3

    Hi  SAP Gurus,
    I donu2019t know the use of Period indicator with Fiscal Year Variant in MRP3 view.
    For some material  is maintain as
    1. Period indicator u201CMu201D & Fiscal Year Variant as blank.
    & for other materials it is maintain as
    2. Period indicator u201CPu201D & Fiscal Year Variant as V3
    What is the meaning of maintaining those different values ?
    as per my understanding I only know that as per those indicator consumption data is store in table MVER.
    Is there any other table /  data gets affected due to this indicator.
    Plz help.
    Best Regards,
    Parag Save.

    Hi,
    Nomally,  period of  12 months, for which the company produces financial statements or analyse inventory.Under certain circumstances, fiscal years containing fewer than 12 months are also permitted (short fiscal year
    When defining your fiscal year, you have the following options:
    Your fiscal year is the calendar year
    In this case, you must only select the Calendar year field.
    Your fiscal year is not the same as the calendar year and is not year-dependent
    Your fiscal year is not the same as the calendar year and is year-dependent.
    In customizing (spro), you make these setting in transaction OB29.
    Regards,
    SATYAJIT

  • Asset You can only post in new  year after closing the previous year

    Hi Experts,
    I am getting below error while running the depriciation:
    You can only post in new  year after closing the previous year.
    Message no. AA687
    Diagnosis
    You want to post in a new fiscal year. However, a posting must have been made in the last period in the previous fiscal year before you can do this.
    Procedure
    Post to the last period in the previous year first.
    Note : I closed FY09, even though there were no assets in it at the time.  The first  asset was capitalized on 12/29/09 (clearly in FY10).  I tried closing FY09 again and got the messege  No year-end close is necessary for company code XXXX .
    Could you please any one help me on this.
    Thanks In Adwance
    Regards,
    Saritha.

    Hi Saritha,
    Please check the following settings:                                                                               
    o Is there one ore more years since the last depr. run?                                                                               
    Solution: in this case an entry must be made into the table TABA. 
                      Note 144441  gives a solution to make a "Dummy-entry".                                                                               
    o If there was never a depreciation run, the there must be 000/0000 in
      TABA and T093D.                                                                               
    Solution: please take the report from the note  Note 144441           
                      and put the values  000/0000 in this fields.                                                                               
    o Do you  have a non-calendar fiscal year (e.g. 2009/10)? In this case
        you should have in the field T093D-AFBLG the year 2010.             
        Solution: Correction with note 26073                              
    regards Bernhard

  • Dep Error:AA687-You can only post in new year after closing the previous year.

    Hi Experts,
    I need solution on error while posting dep. we have new co cd started operative from Jan -14 . So while doing dep posting run we are getting error "AA687-You can only post in new year after closing the previous year".
    I searched and got that Note 144441 need to implement.
    Let me know whether is it fine to go ahead or Is there any alternative solution.
    Also i want to know what need to to be done after implementing this note.
    please reply , its bit urgent.
    Regards
    Atul

    Hi Deepanshu,
    Also the FI period is also closed 2013 so in this case do i need to open the same , correct? for running dep posting along with OAAQ opening for AA.
    Or the note implementation will take care all. instead of running dep , opening closed period.
    pls suggest.
    Regards
    Atul

  • You can only post in new year after closing the previous year.

    Hi,
    I got error "You can only post in new year after closing the previous year." when I tried to run depreciation for first time for a company.
    In OAAR, it was noted that FY2008 already closed.
    Please advice.

    I understand you did the asset upload in 2008 and want to run the first depreciation run for 2009?
    In that case have a look in your take over data settings: SPRO:
    Financial Accounting / Asset Accounting / Asset Data Transfer / Parameters for Data Transfer /  Date Specifications / Specify Transfer Date/Last Closed Fiscal Year
    This should be 31-12-2008 (if the calendar year is the same as the fiscal year)

  • Monthlwise Income Statement with Previous Year Comparison

    Hi
    Good day to all.
    The requirement is to create a Monthwise Income Statement for the Current Year with the Previous Year Comparative figures (and Average for Previous Year and Current Year thrown in).
    We have designed this report using Report Painter using the Library 8A2 based on GLPCT Table.
    We have been able to get the Monthwise figures for the current year.
    Could somebody elaborate on how to achieve the following:
    1. How to get the Previous Year Figures in the same report.
    2. How to get the Average for the Current Period depending upon the Periods upto/for which the user chooses to run the Report? For example, the user must be enabled to run report for a range of Periods (for example Period 5 to Period 8) and the Report should average the totals using a denominator of 4).
    Any help in this regard will be highly appreciated.
    Regards
    Harinath

    I am Thankful to SDN,
    but i have solved my problem on my own.
    I ill be back if i have any problem in future.
    Bye

  • Report for internal order - year/period comparison

    I want to create a report for internal orders with year/period (from/to) comparison.
    For the present year/period i'm using CCA variables  1YRPERF (Fiscal Year/Period From) and 1YRPERT (Fiscal Year/Period To), created from field FISCPER, table RWCOOM.
    Now i want to creat a column fot the n-1 period (example: if selected current period as 009.2013 to 008.2014 the n-1 period will be 009.2012 to 008.2013), any suggestion what can I do about this?
    Regards
    Carlos Aguiar

    Hi Ajay
    This is for higher education institution that have to report by fiscal year (01-12 months) and by academic year (09.year1 to 08.year2). I have two maps to do this but the challenge is to have a unique map that by dates could retreive both information.
    I need a to have a column giving the total for example the Per/Yr 009.2012 to 008.2013 and other column with the Per/Yr -1.
    I've tried your first option but doesen't work at all because don't work with a period like 009.2013 to 008.2014. Then i made some adjustments: first column was setted to Yr (variable: 6-GJAHV to 6-GJAHB) and Per (variables: 1NPERIV to 1NPERIB). The second column was setted with Yr (variable: 6-GJAH2 to 6-GJAH2) and Per (variables: 1NPERIV to 1NPERIB). Seems to work with a few tests!
    Also i tried to creat new variables "1YRPERF" / "1YRPERT" to n-1, but had some problems with formula.
    1YRPERF have a formula: '#S012-999' and 1YRPERT formula is: '#S012'.
    To 1YRPERF-1 i've defined the formula '1YRPERF' -1, and for the Per to the formula '1YRPERT' -1, but seems to consider minus 1 period that the entry period. I've tried with -12 but didn't work too.
    Thatk's for the help!
    Regards, Carlos

  • Compare month sales with previous year same month sales

    hi all.
    we need to compare given month of this year with same month of last year. we need to compare sales quantity and value.
    the query is on 0RT_C40 multiprovider. We have tried all options using 0Calmon, calday, fiscal year... but whenever we specify offset, we are not getting data. there is valid data for previous year.
    plz let us know what else to do? check with 0RT_C40.
    thanks in advance.
    regards: gaurave

    Gaurave,
    Are you selecting the time period in a selection in columns or rows, or are you selecting the time period in the Filter or Free Characteristic area.
    When you make the initial selection of say Period 11.2007 in the Free Characteristic area, and then within a selection but on an offset to derive 11.2006, the fact that you have made your selection of 11.2007 in the Free Char area will restrict the entire query results to this time period.
    Both your picks on time should be in selections in the Columns or the Rows.
    Regards
    Gill

  • Using Fiscal/Year Period to get last year all months data

    Hi,
    Had a requirement to get Last Years 1-12 months data based on Fiscal/Year Period. So here i am using Fiscal/Year period as my input. Please let me know with code.
    Regards,
    Vishnu

    Hi ,
    Where you want to write code ?
    Well the basic logic will be like :
    TYPES: BEGIN OF ty_range,
    sign TYPE c LENGTH 1,
    option TYPE c LENGTH 2,
    low TYPE c LENGTH 8,
    high TYPE c LENGTH 8,
    END OF ty_range.
    DATA : t_range TYPE TABLE OF ty_range,
    w_range LIKE LINE OF t_range.
    DATA :v_lastyear type c length 4  .
    v_lastyear = sy-datum(4) - 1 .
    w_range-sign = 'I'.
    w_range-option = 'EQ'.
    concatenate  v_lastyear '001'  t into w_range-low.
    concatenate  v_lastyear '012'  t into w_range-high.
    APPEND w_range TO t_range.
    ****it will select data from source package for last one year .Internally year and period store like YYYYPPP  (2011001)
    select  SOURCE_PACKAGE WHERE 0fiscper  IN t_range.
    you can modify selection statement as per your requirement .
    hope this will be helpful .
    Regards,
    Jaya Tiwari

  • Current year data compare with pervious year

    Hi Experts,
    I have created report1 with display the default date data. And we have Date between filter, based on the filter the reports data is changeing.
    My Question is we have another report2 below the report1 but report2 should display exact date of last year.
    i.e. if default date is 29/03/2010 and 30/03/2010 for report1 and
    the report2 should be display the data for exact 29/03/2009 and 30/03/2009 and if date filter may change the report2 also change.
    Note : Both reports are created from same table.
    Thanks,
    Balaa...

    Hi Balaa,
    you can creat a filter like this:
    TIMESTAMPADD(SQL_TSI_YEAR,-1,date)
    This retuns the date of the last year.
    I hope it helps.
    Regards,
    Gianluca

  • How we create Variable for Previous year for COPA reports

    Hi Guruss,
    I am making a COPA report for Current year comparison with previous year from KE31. For 1st column I have created the Variable for current year (which works perfectly) now in 2nd column i need the actual data pertaining to previous. So can any one please guide me how to create the variable for previous year.
    Thanks

    Thanks Jagannadha,
    I have create the variable for current year on KE3E. but i am confuse how i create the variable for previous year on KE3E.
    Waiting for reply.

  • Reporting with Time Variance (previous year vs current year)

    Good day all.
    I would like to ask for advice and help in terms of best way to make this report work:
    Let's say I need to show the % variance between the Total Operating Costs per Gross sqft over different times periods (Previous year to Current Year). The trick is that data must be compared to the same data in the previous year, i.e. if we are in June of current fiscal year, the comparison must be between Oct-June of current fiscal year to Oct-June of previous fiscal year, not the full previous year. The report formula itself would be:
    ([TCO Exp/GSF PY] - [TCO Exp/GSF CY]) / [TCO Exp/GSF PY] * 100
    My guess, I could define a static variable Current Year which developers would have to be changed every year. And then create logical columns: TCO Exp PY (where year=Current Year-1)...while writing this, I realized I'm wrong and there must be a more efficient way to do this. UPD: I've also thought about time-series function AGO, but I'm currently testing it, and I'm not happy with its performance...
    Thank you in advance...
    Message was edited by:
    wildmight

    Hi Wildmight,
    The current value will be the value you will select from the table like you normally would do. These would be values per month if I am correct. Next to the column with the current value, you create an additional column with the AGO function in it.
    Now you will have the current value and next to it the value of the required period ago. You won't need any static variables.
    Let me give you an example for the last three months.
    Period CY PY
    jan-08 50 30
    dec-07 40 20
    nov-07 45 25
    In this case the value 20 corresponds to the period dec-06.
    I hope I made myself clear.
    Good Luck,
    Daan Bakboord

  • How to define the Previous Year Up to Date in BI 7?

    Dear Expert,
    I have got a BI 7 report requirement which needs to restricted a key figure with Previous Year Up to date.
    I have found a time variable as Current Year Up to Date but not able to find the one for Previous Year Up to Date.
    Is it possible that I can use it as below to restrict the Key Figure:
      ZMP_CTYD (Current Year To Date) -1   (current year to date with the off set set to -1)?
    If this is not a right way, could you let me know what is the correct way to restrict the Key Figure for Previous Year Up to Date?
    Further information about the requirement:
    I need to get the difference between current year up to date and previous year up to date for a key figure.
    For example, to get the difference between the  amout related to the preiod between Jan 1, 2008 and May 22, 2008 and the amount related to the period between Jan 1, 2007 and May 22, 2007.
    Thank you very much!
    Arthur

    Hi,
    YTD and CTD are different. One is all the way till year end and the other one is through current period. One way of doing this is to define your restricted KF definition. You can use the existing Variable that you already have and insert / restrict posting period from 'time dimension"  1 - 16, in most cases there are 16 period, or 1 to "latest period" depending on what you have. The key here is your " POSTING PERIOD" restriction
    Hope this helps
    assign points if helpful

  • Year Over Year Comparison for Multiple Years

    I have a business request where the client is asking for a year over year percentage comparison for multiple years
    So for example
              Applications
    2015     5
    2014     10
    2013     22
    So in year 2015 we can see that applications is currently down (5-50/10 - [New-Old/Old] by -50% compared to year prior
    In year 2014 we are down -55%
    Ultimately I wanted to display the following
              Applications
    2015     -50%
    2014     -55%
    2013    
    I have an idea of how to do this for a single year, where a presentation variable is fed in then I can just do this year minus previous year.
    I was wondering, how can I do this calculation or presentation in OBIEE? Can this be done within answers? Or does something need to be done in the RPD?

    As long as your model is correctly done with a time hierarchy you can just use the time series function AGO to get the value of previous year.
    So in the formula you can calculating your delta in % comparing the current year amount and the previous one.
    You can do it in the analysis directly, but if you will often need to access "previous year measures" would be a good idea to add it in the RPD so you don't need to write the formula every single time.

Maybe you are looking for

  • Nokia Lumia 900 Data Counter and People Tile

    Is there a data counter on the Lumia 900 that I can't find? I've tried to call the 3282 data number, and it always tells me I'm at 0 even though I know i've been on the data network and not wifi. Also, can someone explain to me how much data somethin

  • JavaScript error in keywords.js?

    When entering or modifying 'keywords' in an html-file in Dreamweaver I seem to get the following error when switching applications and returning to DW: While executing onBlur in keywords.htm, the following JavaScript error(s) occurred: At line 66 of

  • N96 - Vodafone - Firmware 11.018

    Hi, I was doing some stuff on my N96 tonight using PC Suite and it came up there was a new update (11.018) however, when I am trying to install it seems to just crash and not complete going on Phone Recovery all the time, I have tried over the air al

  • How to match LR/ACR4.1 to Microsoft raw viewer

    I have been going through the forum and I've found threads explaining the difference that exists between the camera presets and the raw files, and that a raw file must be rendered regardless of that camera preset. I understand that. But what does the

  • How do I keep photos on iphone when syncing for first time

    I gave my iPhone 4 to my son as an 8th grade graduation gift. He now wants to sync it to his macbook, so I helped him set up an itunes account. When we go to sync it, it says it will wipe the phone clean. He has some music on there from my itunes acc