Previous quarter from the current date using Date functions

hi all,
how can i get the value of the previous quarter and previous month using using NOW() function in the formula.
regards,
Rk
Edited by: Rk on Feb 13, 2009 9:28 AM

Hi Pk,
This "DSTR(DADD(NOW(),-1,'Q'),'YYYYQ')" will give you just an year 2008 (if you run this today).
But this "DSTR(DADD(NOW(),-1,'Q'),'YYYYMM)" will give you an year and month of prev quarter
200811(if you run this today)
Ola

Similar Messages

  • PERSG previous bet different from the current PERSG using info-type pa0000

    Hi Friends,
    Please guid me how get the PERSG previous bet different from the current PERSG
    using info type pa0000.
    Regards,
    Durga

    Folks,
    even after having repaired the inbox folder under "properties" a few times, I still had some e-mails where the contents are different from the subject line.
    In other words in the inbox there are two e-mails: one with subject line "abc", and another one with subject line "def".
    When I display the e-mail with the subject line "abc", the contents are from the e-mail with the subject line "def" in the in-basket.
    What else can be done to correct this problem?
    Thanks and best regards.
    Fred Kunz-Shirzad
    Chemin Ronzeures 6A
    1297 Founex VD
    Switzerland
    [email protected]

  • Calculate previous Sunday from the current day

    Hi Gurus,
    Can anybody tell what is the name of the function module which caluclates the previous Sunday from the Current system date. or any other idea how to calculate previous sunday from the current system date in Query.
    Thanks
    Liza

    Hello,
    See my previous thread to you for a similar Re: Find out previous Monday based on 0CALDAY
    Thanks
    Chandran

  • 2nd Previous Period from the current period

    Hi MM Gurus,
    Is it possible in MM to open a 2nd previous from the current period?
    Please advise,
    Thanks,
    Themba

    hi,
    > Check the OSS NOTE 487381
    You can only open the last period via using the MMPI..using indicator allow back posting...
    Other than this you can open pervious periods for sandbox techniques. as well ....but SAP don't recommend it...
    check few posted threads on SDN...
    Regards
    Priyanka.P
    Edited by: Priyanka Paltanwale on Jun 2, 2009 9:52 AM

  • How can I get an item and it's attachments from the current list using SP's JavaScript Client Object Model on newform.aspx?

    I only recently learned/read about SharePoint's JavaScript Client Object Model. I'm reading online trying to figure this out but not having much luck.
    On newform.aspx (and dispform.aspx) I want to get the
    current list,
    the last item created, and it's attachments. I now the CAML query I need to get the last item created, but first I have to get the current list and I am not sure how to do that.
    I tried this but it returns null:
    SP.ListOperation.Selection.getSelectedList()

    Hi,
    For your issue, you can get the list name from the new form url and retrieve the list last created item :
    https://social.msdn.microsoft.com/Forums/office/en-US/b90a64f8-2255-41b0-9d91-78335dd4a4cf/get-list-name-from-list-url-through-javascript?forum=sharepointdevelopmentprevious
    http://msdn.microsoft.com/en-us/library/office/hh185007(v=office.14).aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • How to switch user from the current user using shell script code

    Hi Experts,
    I have an requirement to login into a particular user from the shell script concurrent program. I do have credentials for that particular user. I want to login and run few commands from that particular user. Please let me know if there are any methods to login as a particular user using the username, password from shell script program.
    Thanks a lot.

    Thanks for your reply. However we cannot use su command from a shell script program. How to enter password from shell script program?http://tinyurl.com/3t7cwjh
    Thanks,
    Hussein

  • Link to another xml file from the current file using XI

    Hello Experts,
    I'm working on a file to file scenario.
    My target file is such that it contains the details of a substance (read chemical substance). Now this substance can have many properties like state of matter, density, odor, color etc. Each of these properties have individual xml files.
    What I want to know is how do I insert a link in this substance file for the individual properties files? Is there  a way in XI to do so? Or giving separate files is the only way?
    Please help.
    Thanks,
    Merrilly

    Hi,
    Create Nodes for u r substances and provide u r fields below the substances then u r structre will comple and use occarances....
    For my Knowledge Insertion of links is not posible....
    This  is the way u can do u r r target file...
    Plw award points
    thanq

  • Regarding reading the data from the files without using Stremas

    hai to all of u...
    here i have a problem where i have to read the data from the files without using any streams.
    please guide me how to do this one,if possible by giving with an example
    Thanks & Regard
    M.Ramakrishna

    Simply put, you can't.
    By why do you need to?

  • Regarding subtraction of 10 days from the current date

    Need to know how I can get 10 days subtracted from the current date before the report is excuted. This needs to appear in the selection screen before the report is excuted.
    The select option contains two fields the first field is the date which is 10 days subtracted from the current date and the next field is the current date.
    Please suggest.
    Thanks.

    Hi Dolly
    I had a same req before check that code:
    AT SELECTION-SCREEN OUTPUT.
    IF pa_older = 'X'.
    CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
    EXPORTING
    date = pa_end  "<<<<< date or in ur case sy-datum
    days = '10'
    months = '00'
    signum = '-'
    years = '00'
    IMPORTING
    calc_date = pa_end1.  " <<< subtracted date
    ENDIF.

  • Export the data with Alias from the alternative table using ODI

    Hi!
    How to export the data from Essbase with Alias from the alternative table using ODI?
    Thanks.

    Are you on 10.1.3.6.x? Then: http://john-goodwin.blogspot.com/2008/09/odi-series-part-2-agent.html
    Are you on 11g? Then: http://john-goodwin.blogspot.com/2010/12/managing-odi-11g-standalone-agents.html
    I will say with only a mild amount of shame and a large amount of gratitude that I installed both releases' agents through John's blog posts.
    Regards,
    Cameron Lackpour
    Edited by: CL on Jun 4, 2012 5:48 PM
    Whoops, had the same link in there twice.

  • I bought a movie, the download completes, but then starts back from the beginning again using up more data, help,

    I Purchased the hobbit desolation of smaug, the download completes, but then starts from the beginning again, using up more data.

    Okay, you need to contact support definitely about what's going on. Here is a form that will send an e-mail into support for you:
    http://www.apple.com/emea/support/itunes/contact.html
    As far as the prices, the difference is likely the laptop version is the SD version and the iPad one is available in HD. That's the only reason you'll see a price difference. It has nothing to do with the device with movies/movie rentals. Apps yes, these no.

  • Where can I find the current time and date of Time Capsule?

    I have a home network consisint of 2 x Time Capsules and 1 x Airport Express.  All is working fine.  I would like to set up access control for one machine connecting to the network and I can see I can do this under Access Control on the Airport Utility.  My question is where can I find the current time and date setting for these devices? 
    I can set them to use the time.apple.com server to set the time automatically, but I can't find where to see the current time and date of the device.  The only place I can see reference to the time and date is on the logs and statistics under the Advanced tab of the AirPort Untility.

    I don't think you can change the time and date on the TC itself, it just connects to a time server (and you set your own time zone).

  • I have a ipod classic 5th gen 30gb, if i download a movie or song from the current itunes i use with my ipod touch will it play? or do i have to get another type of itunes, if so which one?

    i have windows 7 and a2nd gen ipod touch and i just aquired an ipod classic which is a 5th gen from 2005 with a 30 gb capacity. can i download a video movie or episode and songs from the current itunes i use for my ipod touch or is there a different one i should use? please help.

    You can plug the iPod into the same iTunes library as your iPod Touch and sync whatever content you like to it. There is no limilt to the number of iPads, iPhones, or iPods you can sync with one iTunes library, account, or computer.  How you sync one device will not affect the syncing preferences of the other.
    B-rock

  • What is the benefit of Using Data Adaptor

    Hello
    I wonder that What is the benefit of Using Data Adaptor ? I don't know TopLink Technology , inorder to using Data Adaptor I should know toplink but what is the advatages of using BPEL database adaptors in conditions thet I can make webservices by making plsql web services or exposing ADF application modules more easier?
    I think that if I use Data Adaptor (based of Toplink) I can use JTA feature for transaction managment , am I thinking Correct?
    for example I can invoke to webservice A and the B in BPEL process with two DB adaptores (by global transaction ) such that if A failes the process automatically roles back the B transaction without need that I manauly compensate the undo process
    please help me ?

    Thank you for your very useful comments about DB adapter
    I tried again and I have Successfully deploy and test my DB adapter with using # for parameter.
    But I have another question : We have ADF Application that using ADF bc for user data entry supporting in use case scenario , but we want to call web services (eg BPEL) in save operation instead of ADF application modules Normal commit !
    If we want using Data adapter for persist the Data that user entered by UI , we must write a lot of Insert or Update statements in DB adapter because of lot of database entities.
    How can we shorten this production scenario in our Project?

  • THE DATA FROM THE ORACLE DATABASE VIEW DATA IS NOT REFERESHED AUTOMATICALLY

    THE DATA FROM THE ORACLE DATABASE VIEW DATA IS NOT REFERESHED AUTOMATICALLY IN OBIEE DASHBOARD(ANSWERS)
    UNLESS AND UNTILL I OPEN THE ORACLE BI ADMINISTRATOR TOOL AND DO UPDATE ALL ROWCOUNT AND THEN SAVE THE RPD.
    WHERE AS ORACLE DATABASE TABLE DATA IS AUTOMATICALLY REFRESHED.
    PLS SOMEONE HELP OUT IN THIS ISSUE.

    Check whether you have enable cache on that view?

Maybe you are looking for

  • Wlsifconfig.sh problems in Solaris 10

    Hi if in any time you are configuring Weblogic 11gR1 Whole Server Migration on a Solaris Machine, take care to change the wlsifconfig.sh file in <YOUR_DOMAIN_HOME>/bin/server_migration, in every machine that performs Whole Server Migration. Change th

  • How to access remotely to a PXI card with Visual C++ through an Ethernet TCP/IP link?

    I read that it was impossible to use RDA with C++, however, we must use Visual C++, and we must use TCP/IP to access to the PXI (MXI3 solution is not convenient due to its optic fiber). How can we do, which tools should be used and how to use them ?

  • Adding Safari Plugins to iPhone 3GS

    I occasionally try to open a webpage on my iPhone & get a message stating I need to download a plug in. Is it possible to download the plugins?

  • Interruption of pdf link display

    My Outlook works fine. My Chrome works fine, and is my default browser.  My Acrobat X works fine.  Outlook pdf attachments open immediately in Acrobat.  Emailed HTML links open immediately in Chrome. HOWEVER, whenever I receive a pdf link in an email

  • I can not reinstall iTunes.  Corrupted files in AAS

    After my Vista update, I got alert that iTunes had a corrupt file and needed to be reinstalled.  I tried repairing with no luck so I uninstalled and redownloaded.   Now when I try to install i get the following error:    Error writing to file: C:\Pro