YTD & YTD Prior Year, MTD & MTD Priod Year

I have to develop a comparison of YTD sales with YTD last year Sales.
I have developed the YTD formula which was an easy one. How can I develop the YTD prior year.
Let say I select the day 31-March-2013 so I need the YTD Prior year which is the sales till 31-March-2012.

Store the selected date in a presentation variable and replace current_date in the below format:
TIMESTAMPADD(SQL_TSI_YEAR, -1, Current_Date)
Pls mark if correct/helpful.

Similar Messages

  • Posting Depreciation for last year in the current year

    Hi,
    We have a situation in which we have to book depreciation for assets that were put into service since last year in the current year. The depreciation expense was accrued and reported when the year was closed out. However SAP wouldnt allow us to calculate the depreciation for anything before 01/01/2009. The assets were put into service in July of last year and hence we need to post 6 months of depreciation that we accrued last year in this posting period (when we will be capitalizing those assets). How do we go about doing this?
    Here is what we tried:
    1. Manual Depreciation: Doesnt work. The depreciation key we are using (LINA) doesnt allow manual depreciation
    2. Changing the ordinary dep start date: You can change this date to last year but it wont calculate the depreciation from last year. It just starts the useful life from last year. The depreciation that is being caught up starts from 01/01/2009
    3. Unplanned Depreciation: This is not an option because it goes to a different G/L account. The client wants it to be in the regular depreciation expense account only.
    Any suggestions?
    Thanks!

    Hi,
    So far my knowledge goes there is no way wherein you can capitalise assets in currnet year and account for dep from the previous year unless you go for post capitalisation vide ABNAN.Let me try to explain it by the following example.
    FY: April to March
    APC 10000/
    Rate od dep   10%
    Ord dep Start   01.10.08.
    Asset capitalisation date 01.10.08 but posted in the system on,  say   01.04.09.
    Line items for ABNAN
    70   Asset A/c     10000
    75   Acc Dep                          500(on 10000 @ 10% for 6 months)
    50 Rev for post capitalisation 9500.
    FB60 Line items.
    31   Vendor Account       10000
    40  Prior per dep                   500
    40  Rev from post capitalisation  9500.
    I do hope you will be able to clear your confussion.
    With best wishes
    Monoj
    Edited by: MONOJ SARKER on Aug 5, 2009 12:11 PM

  • Mid year go live and year end go live

    Hi Experts,
    What is the difference in configuring Mid year go live and year end go live  What are difficulties we face in mid year go live.
    thanks & Regards.
    Akhil

    https://forums.sdn.sap.com/click.jspa?searchID=21620306&messageID=6587485
    you go live on the SAP payroll system in the middle of a financial year, you have an option to transfer your legacy data into the SAP payroll system.
    The system provides the schema INLK for transferring your legacy data. For this purpose, you need to perform the following IMG activities:
    Define the payroll periods for which you want to transfer the legacy data. For more information, refer to the IMG under Payroll India -> Legacy Data Transfer -> Define Periods for Import
    Define the type of data you want to import. For more information refer to the IMG under Payroll India -> Legacy Data Transfer -> Define Pay Elements for Import
    Upon execution along with the payroll driver, the schema INLK formats the information defined in the above tables as payroll results and stores the values in the database table PCL2.
    For more information on the Legacy Data Transfer functionality, refer to OSS note number 506128.

  • Creating a fiscal date table that includes Day of Year and Week of Year column

    Hi,
    Our fiscal year runs between 1st October through to 30th September and I'm trying to create a date table that I can use to represent this in Powerpivot (I'm using Excel 2013). I had no probably creating columns for Fiscal month or fiscal year, however I am
    having issue breaking it down more than that, specifically I cannot work out how to calculate:
    - day of the year
    - week of the year (with week one starting on the first day of the year rather than the first Monday)
    I worked out how to do the day of the year until I had to try and account for leap years which broke the formula I had! Can anyone please recommend solutions, I cannot see anything online about this. Obviously I know that it is simple to do this for a normal
    calendar year but this approach doesn't work with a custom fiscal year.
    Whilst it is useful for several reasons, my main reason for wanting week is so that I can plot my Pivotcharts more smoothly (although I may have missed an easier way to do that).
    Thanks,
    James

    For my example I started with 1 column in Power Pivot called [Date]
    I created the following Columns
    [DayofMonth] =Day([Date])
    [MonthNumber] =Month([Date])
    [Fiscal Year] =IF([MonthNumber]< 10, Year([Date]), (Year([Date])+1))
    [Fiscal Day] =[Date] - DATE(([Fiscal Year] -1), 10,1) +1
    [Fiscal Week] =RoundUp([Fiscal Day] / 7, 0)
    Change [Date] to whatever your date column is and those DAX formulas will get you what you need

  • Changing from a Fiscal year to a calendar year

    Hi Everyone,
    We need the supporting documentation, guidance to change from a Fiscal year to a calendar year. Also please share your experience, suggestions, thoughts on this?
    Currently, our year-end is SEP 30th, now there is a requirement to change the year end from SEP 30th to DEC 31st.
    N:> Keithley GL Superuser USA > Setup > Financials > Calendars > Accounting
    Calendar is already associated to the set of books and the budget year for 2011 is already opened in the Production instance
    We entered the budget through a spreadsheet upload using ADI. We can roll back the budget and reenter if required
    We have already gone through the metalink note IDs 102460.1, 134362.1, and also the below document from Oracle Support
    http://download.oracle.com/docs/cd/E15799_01/books/OnDemOLH/index.h...,
    Below are our open questions at this point
    1) Can you please let us know what would happen if the transition closes on the middle of the month
    Example: We will close the month end, year end at the end of the month but what would happen if we close at the middle of the month (say DEC 15th instead of DEC 31st)
    2) Will it be short? From 1st October 2010 - 31st December 2010.
    Or will it be long? From 1st October 2010 - 31st December 2011.
    Can you please let us know the pros and cons for each of these?
    3) According to the Metalink note Id 102460.1, the application will prevent you from making changes to calendar the unless you meet the following qualifications:
    a) All the periods to be changed have a status of Never Opened.
    This condition does not match to the current situation at the clients place as we don’t have the status "Never Opened" for any of the periods in the accounting calendar in
    subledgers
    b) A budget year that includes the periods to be changed is no t yet opened.
    Budget year is already opened for the year 2011 at the clients placec) An encumbrance year that includes the periods to be changed is not yet opened.
    “Encumbrance” is not applicable at the clients placed) The periods to be changed have not yet been copied from the GL Calendar to Project
    “Projects” is not applicable at the clients placeThanks
    Veena

    Pl post details of OS, database and EBS versions. Pl see if these MOS Docs can help
    How to change GL Calendar from a Fiscal to a Calendar year?          (Doc ID 102460.1)
    CHANGING SET OF BOOKS CALENDAR FROM CALENDAR YEAR TO FISCAL YEAR          (Doc ID 1060624.6)
    R12: Is It Still Possible To Change GL Calendar From Fiscal to Calendar Year In Release12?          (Doc ID 836263.1)
    General Ledger Calendar FAQ          (Doc ID 134362.1)
    HTH
    Srini

  • I currently have a DROID RAZR M and I'm 1 year into my 2 year contract.  Since the Kitkat update, the phone won't stay charged and it's very buggy.  I know this is not Verizons fault but it's also not mine. I would like to change my phone to an iPhone 5s

    I currently have a DROID RAZR M and I'm 1 year into my 2 year contract.  Since the Kitkat update, the phone won't stay charged and it's very buggy.  I know this is not Verizons fault but it's also not mine. I would like to change my phone to an iPhone 5s and keep my same plan but switch to the Edge program. Is this possible? I don't think I should have to pay an early termination fee or anything like that since my phone has become almost unusable. I know under normal circumstances you have to wait 2 yrs to upgrade but due to the update and the poor service I'm now getting I hope Verizon can make an exception. Thank you.

    How recently did you switch?  If it's less than 60 days, then Verizon simply reinstates your previous account.  The fact that you were on the EDGE plan and mailed the devices back, and they apparently are somewhere in the system, could cause complications, and it might just work out that you just go back on the same plan and they set you up with the same devices.  I'm not sure how it will go - but since you are still being billed for the devices... 

  • How to populate the data or details of only the present year and the previous year with respect to the given RATNG?

    Hi All,
    I have created a form with 5 blocks (namely ENQACMHDR, ENQACMDTL, ENQACEHDR, ENQACEDTL, ENQACSPEC), where i have 8 push buttons (namely ENTER_QUERY, EXEC_QUERY, CLEAR, FIRST, NEXT, PREVIOUS, LAST & EXIT).
    This form is created just for viewing purpose only. So after I execute, all the blocks have been blocked against insert & update.
    I query on 2 fields that is 'ENQNO' and 'RATNG' (Both the fields belong to the block ENQACMDTL).
    When I click on 'EXEC_QUERY' directly, all the data of all the years populates.
    But the user wanted the data to be populated from only the present year and the previous year.
    So , on 'WHERE Clause' of the property_palette of 'ENQACMDTL' block , I put in the following condition:
    SUBSTR(ENQACMDTL.ENQNO, 1,4)=TO_CHAR( ADD_MONTHS(SYSDATE,-12) , 'YYYY') OR SUBSTR(ENQACMDTL.ENQNO, 1,4)=TO_CHAR(SYSDATE, 'YYYY')
    PROPERTY PALETTE (ENQACMDTL block)
    WHERE Clause
    SUBSTR(ENQACMDTL.ENQNO, 1,4)=TO_CHAR( ADD_MONTHS(SYSDATE,-12) , 'YYYY') OR SUBSTR(ENQACMDTL.ENQNO, 1,4)=TO_CHAR(SYSDATE, 'YYYY')
    Now the data of only the present year and the previous year is being populated. Its ok with the field of 'ENQNO'.
    The problem is when i query on field 'RATNG' . 'RATNG' is a Text_item with Number of Items displayed=5. (5 rows)
    The following are 2 columns of a Table (Name=ENQACMDTL) in Database.
    ENQNO
    RATNG
    2013900054
    500KC2
    2013900047
    800KC4
    2013520018
    750KC6
    2012900037
    1000KC2
    2012520109
    500KC2
    2012140019
    750KC6
    2011540036
    500KC2
    2011100030
    1000KC2
    2006100007
    90KD8
    2006750014
    750KC6
    2006900072
    500KC2
    The first 4 numbers of 'ENQNO' denotes the year. There are more than a lakhs of records.
    So when i query on the field 'RATNG',
    Example:For RATNG=500KC2;
    I click on ENTER_QUERY, On the field of 'RATNG' , i put in the value 500KC2 and click on  EXEC_QUERY; Details with respect to 500KC2 is displayed as well as all the other unwanted RATNG like 750KC6, 1000KC2 (which belongs to the ENQNO of the present year and the previous year) also gets displayed.
    I want details of only RATNG (500KC2) to be displayed, but only of the present year and the previous year, that is 2013900054, 2012520109 (ENQNO).
    Other than 500KC2 RATNG, no other RATNG must be displayed.
    The RATNG=500KC2 is also present for ENQNO=2011540036 , 2006900072. But I dont want these to be displayed.
    I want only the data or details of the present year and the previous year to be displayed or populated with respect to the given RATNG.
    Can You Help me or tell me what do i do for this?
    Hope I'm clear with my question!!
    If my question is not clear, let me know plz.
    Thank You.
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    Oracle forms 6i.

    On key-exeqry you have to program.  Delete all other trigger codings for checking your condition.
    It dint work on key-exeqry.
    I tried key-exeqry on form trigger, block (enqacmdtl) and also on field(:enqacmdtl.enqno) , but none of them worked.
    It did not display the message.
    I have a 'PUSH-BUTTON:EXEC_QUERY.
    For EXEC_QUERY, Trigger : WHEN_BUTTON_PRESSED;
    I added the following code:
    if to_number(substr(:enqacmdtl.enqno,1,4))<to_number(to_char(add_months(sysdate,-12),'YYYY')) then
         message('The Rating is not present for the present year and the previous year');message(' ',no_acknowledge);
         raise form_trigger_failure;
    else
         execute_query;
    end if;
    It is working fine and the message is being displayed.
    But again I have a new problem and that is;
    On the field :enqacmdtl.enqno, when i enter the '2013%' and press 'EXEC_QUERY', it works fine.
    but when i enter '2006%' and press 'EXEC_QUERY', it shows the following error
    FRM-50016: Legal characters are 0-9 - +E. It does not display the message also.
    but when i enter the complete number, '2006580002', then it works fine , that is it displays the message (The Rating is not present for the present year and the previous year).
    The problem is because of '%', only when i put in the restricted data (which does not satisfy where condition).
    How do i solve this?
    Thank You Priyasagi.

  • Asset Year End (Urgent) -Undo Year END

    Please advice the following
    1) Run AJAB (Year End Closing) - For Year 2007
    2) Change Fiscal Year to Year 2008
    3) Already input Asset for the Period 1 and Period 2 of Year 2008
    4) Depreciation also run for the Period 1 and Period 2 of Year 2008
    However, User suddenly say that there Asset Entires for Year 2007 Period 12
    What Can i do ?? Urgent. Plesase Help
    Thanks

    hello
    one solution
    1. open year 2007 in AA (the AA enable you to define 2 years for work - so you can open 2007)
    2. in fi OB52 open 12-2007 for posting
    3. post the new asset in 12 2007
    4. F/16 "carrying forward" you should check this issue if the balance carrying forward.
    5. in 3 2008 you shold run AFAB "Repeat"
    second solution:
    you can also post the asset in FI manually in year 2007 . and in AA you can post the asset in janauary 2008 and then run AFAB "Repeat" so the system will calculate the depreciation for the new asset.
    meir

  • Time type Initialization based on financial year instead of calendar year.

    Hi All,
    I'm facing this problem. By using time type i'm capturing the no of worked days for a calendar year. This Time Type is used for calculating Privilege Leave which will be divided by 20 in the year end for Quota calculation. But when I run PT60 for the period 31.03.2014 to 01.04.2014. The Time types are automatically getting Initialized.
    Here Time Evaluation is running based on financial year not as calendar year ? How to change the same to calendar year.
    Already I have searched few solution here. As per the below link
    PT60 generating for financial year but not for calendar year . But i'm facing the same issue.
    Please suggest me the solution for this.
    Regards
    Jagan

    Hi Vivek and sikandar,
    Thanks for the immediate response.
    The Time evaluation is running for Financial year (Apr - mar). But I need it to be run for Calendar Year. I gave PL Quota Time Type as an Example. But its happening to all the Time types.
    Pls suggest me how to run Time evaluation for calendar year.
    Please see the screenshot below (Time Type 9t01, 9t78, 9t80)
    All the above three time types are getting initialized on April, but i want this to happen on 1st Jan.
    I'll share my PCR if needed.
    On 31.03.2015
    On 01.04.2015
    Thanks and Regards
    Jagan

  • My iTunes Match automatically charged me for a second year when the first year finished.  In spite of that, I have lost all of my playlists on my iPhone.  How can I get them back?

    My iTunes Match automatically charged me for a second year when the first year finished.  In spite of that, I have lost all of my playlists on my iPhone.  How can I get them back?

    Hi,
    No need to post three times!
    Is iTunes Match still turned on on your iPhone? If not, you need to turn it back on.
    If it is still on, go to settings, music app and turn off match- sign out of iTunes Store. Reboot iPhone, sign back into iTunes and turn on match. Poem music app. Does this help?
    jim

  • Predicate boolean method...calculating whether or not a year is a Leap year

    I'm trying to get pointed in the right direction for this program. I am attempting to write a program that calculates whether or not an inputted year by the user is a valid leap year or not, however I'm having problems figuring out the method for this calculation.
    A predicate method boolean seems to be the right way, but I can't figure out exactly how. Here's what I've brainstormed thus far:
    Leap Year Conditions:
    1. Is divisible by 4.
    2. Is NOT divisible by 100.
    3. Is divisible by 4.
    public class Year
              public boolean isLeapYear()
    }What confuses me is how to satisfy these conditions. Here is what I want to fill those '...' with. Excuse the tacky language coming up, but it's the only way I can express my thinking here:
    return ((inputted year) / 4) && (inputted year / 400) && !((inputted year) / 100)
    If the year is undivisible by any of these values then it could end up being a technical decimal (which means the inputtted year is not a leap year). But of course java would still calculate it anyway depending on how I defined the type.
    Should I try to implement a condition that if the variable returned by any of these calculations (except for 100) is a float point then the year is not a leap year? How would I do this?
    I'm really not sure where to go on this one. If anyone could point me in the right direction and give me a good start I would appreciate it. Thank you.
    Message was edited by:
    fairtex
    Message was edited by:
    fairtex

    http://en.wikipedia.org/wiki/Leap_year
    They have some leap year algorithms on there.

  • M from india, i purchase iphone 4s around 18 mnths ago. I was having 1 year warranty of 1 year that has been expired 6 months ago. Now how can i extend my iphone warranty. Please let me know about this. Thanks in advance..

    M from india, i purchase iphone 4s around 18 mnths ago. I was having 1 year warranty of 1 year that has been expired 6 months ago. Now how can i extend my iphone warranty. Please let me know about this. Thanks in advance..

    If you don't know the sender, then it is most likely a scam or spam email. I get them every day - I just delete them. I also get daily notices from Facebook or someone called Adriana at Facebook even though i do not have an account there. Can't do anything about it - just delete it.

  • Report with Top 5 Customers per year for last 5 years (total  25 records)

    Hello
    Can anyone help?
    How to display top 5 customers per year for last 5 years in a report
    E.g.
    Year Customer name Revenue
    2009 A1 5000
    A2 4000
    A3 3000
    A4 2000
    A5 1500
    2008 B1 3000
    B2 1200
    B3 800
    Regards,
    SMA

    Hi
    see this...
    http://oraclebi.soundvoid.net/2008/09/using-the-top-n-filter/
    And close your all threads if they answered...

Maybe you are looking for