How to get one day back data from selecting date .

Hi Experts,
               Iam using DB2 database .How to see one day back of selected date . i tried by using prompts .
Date=(@prompt('Mssg','D',,mono,free)-1 days)   Date is a date object and i applied prompt for date . butting i'm facing error . so kindly help me to over come this issue .
Regards
Dinesh

first capture Date on univers by simply using your formula
Date=(@prompt('Mssg','D',,mono,free))
Now to get the previous date i.e 1 day back date
create another variable called
back_Date = (Date - 1 Day)
Thanks,
Swapnil

Similar Messages

  • How to get value in backing bean from application module

    Hi all.. I'm new in jdeveloper and adf..
    I need to use value from backing bean and use that value in application module.
    But I don't know how to get it.
    Do you a have any solution?

    suppose you have myMethod(String argumentName1,String argumentName2) in your Application Module
    then to access a method binding from a managed bean, use the following code,
      BindingContext bctx = BindingContext.getCurrent();
      BindingContainer bindings = bctx.getCurrentBindingsEntry();
      OperationBinding operationBinding =
           bindings.getOperationBinding("name_of_method_binding");
      //Here you can pass the parameters value to the AM method
      operationBinding.getParamsMap().put("argumentName1",value1);
      operationBinding.getParamsMap().put("argumentName2",value2);
      //invoke method
      operationBinding.execute();
      if (!operationBinding.getErrors().isEmpty()) {
         //check errors
         List errors = operationBinding.getErrors();
      //optional
      Object methodReturnValue = operationBinding.getResult();

  • I was wondering how to get my background back? it just quit on me one day and I can not get it back, I was wondering how to get my background back? it just quit on me one day and I can not get it back

    I was wondering how to get my background back? it just quit on me one day and I can not get it back, I was wondering how to get my background back? it just quit on me one day and I can not get it back

    explain further please...
    Is this your problem?
    Program, Utility, Desktop picture, Screensaver won't open or save changes
    https://discussions.apple.com/docs/DOC-3046
    https://discussions.apple.com/community/notebooks/macbook_pro?view=documents

  • 30 days back data from selected date

    Hi Gurus,
    I have date prompt in a format (02/01/1998(MM/DD/YYYY)12:00:00 AM) and I have report with 4 columns in the 1st column date 2ed column sales 3ed column 30 days back date 4th column 30 days back sales.
    Date | Sales | 30 days Back date(from the selected) | 30 days back Sales
    How i have to take the days from the above format and make that to 30 days back can any one suggest me how to implement this.
    Thanks,
    Rafi

    Hi Svee ,
    I added timestampadd(SQL_TSI_DAY, -30,Date) formula in the Fx of 30 days back column and it is showing 30 days back date but it is not showing 30 days back Sales it is showing same sales for both date columns.
    Thanks,
    Rafi
    Edited by: Rafi.B on Aug 20, 2012 11:48 AM

  • Contact from my phone book just disappeared.dont know how ..and it happen second time in 1 month time. Apple customer service in India is crap... Sorry to say but 700 contacts got disappeared.can someone tell me how to get this contacts back on my phone.p

    contact from my phone book just disappeared.dont know how ..and it happen second time in 1 month time. Apple customer service in India is crap... Sorry to say but 700 contacts got disappeared.can someone tell me how to get this contacts back on my phone.plz

    the same problem happened to me also, i felt that while playing hay day, if some calls came in between and if i answered the call, the setting of all the icloud items turns off. (i have backup of all the items on icloud), after deleting the account and making settings of mail, contact, calander etc on on mode and after rebooting the phone, it again download from icloud server. but it is just a headache. do not know how to handle this.

  • ITunes keeps takeing unauthorized withdraws from my bank account for no reason i have made no purchases so they have no reason to be takeing money out of my checking account.  can someone tell me how to get my 100$ back.cant fig out how to email them

    ITunes keeps takeing unauthorized withdraws from my bank account.  I have tried to figure out how to get my money back from the 4 unauthorized withdraws to my account. I cant figure out how to get there email address or how to initiate a live chat with them and there website has been no help to me.  Can someone please tell me how I can get my money back
         Thank you

    you need to call apple support. All contact methods are listed here. http://support.apple.com/kb/HE57 good luck
    I Hope I Was Able To Help You Or Solve Your Question.
    Simmm
    3/12/2012
    <Edited by Host>

  • Help!! working on a movie on Imovie. I had to delete a music file from a clip section and now there are some clips that have no audio!!! don't know how to get the audio back to my clips!!!! Help!!!

    Help!! working on a movie on Imovie. I had to delete a music file from a clip section and now there are some clips that have no audio!!! don't know how to get the audio back to my clips!!!! Help!!!

    You can use some third party software to copy the music from your old iPod back to computer first, and then import the music into iTunes and re-sync them to yournew iPod. Here is a guide about how to transfer iPod music to computer. Hope it helps. Feel free to email me if you need further help.

  • HT1727 I purchased 4 songs from  newly lauched store india, they charged Rs 48 (Rs 12 each) But my A/c debited with Rs 60 and Rs 48 . no previous bill was pending. why and how to get Rs 60 back.

    I purchased 4 songs from  newly lauched store india, they charged Rs 48 (Rs 12 each) But my A/c debited with first with  Rs 60 and soon after that with Rs 48 . No previous bill was pending. why ?? and how to get Rs 60 back.
    Purchase is successful and I can check apple a/c , every thing is fine there.
    No bill is emailed me till now (2days)

    Welcome to the Apple Community.
    Select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History on your computer.

  • I reset my macbook pro a few days ago.. and when i started to use it again i noticed all my apps were gone (keynote, iMovie, garage band, etc) i don't know how to get them all back and every time i try it tells me i must buy them.. what do i do?

    I reset my macbook pro a few days ago.. and when i started to use it again i noticed all my apps were gone (keynote, iMovie, garage band, etc) i don't know how to get them all back and every time i try it tells me i must buy them.. what do i do?
    should i come into the actual apple store or can you help online ?

    Hi vickkjayy11 and welcome to Apple Support Communities,
    Just to be clear, we are a peer to peer support community and have nothing official to do with Apple.
    So to your problem, when you say:
    "I reset my macbook pro a few days ago"
    What exactly happened? Did you have a Time Machine backup?
    Read this:
    OS X: About OS X Recovery - Apple Support
    It would help to know the exact model (size and year) and which OS you're using.

  • How can get difference between 2 dates in the form of days

    how can get difference between 2 dates in the form of days

    Hi,
    Check the following program:
    REPORT ZDATEDIFF.
    DATA: EDAYS   LIKE VTBBEWE-ATAGE,
          EMONTHS LIKE VTBBEWE-ATAGE,
          EYEARS  LIKE VTBBEWE-ATAGE.
    PARAMETERS: FROMDATE LIKE VTBBEWE-DBERVON,
                TODATE   LIKE VTBBEWE-DBERBIS DEFAULT SY-DATUM.
    call function 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
      exporting
        i_date_from          = FROMDATE
        i_date_to            = TODATE
      I_FLG_SEPARATE       = ' '
      IMPORTING
        E_DAYS               = EDAYS
        E_MONTHS             = EMONTHS
        E_YEARS              = EYEARS.
    WRITE:/ 'Difference in Days   ', EDAYS.
    WRITE:/ 'Difference in Months ', EMONTHS.
    WRITE:/ 'Difference in Years  ', EYEARS.
    INITIALIZATION.
    FROMDATE = SY-DATUM - 60.
    Regards,
    Bhaskar

  • How to get group when the data source from system instead of UME database

    Hig guys,
    How to get group when the data source comes from backend system instead of UME database?
    I tried to use
    IUMPrincipal RefGroup = WPUMFactory.getGroupFactory().getGroup(groupName);
    But I was not able to get the group. But in "UserAdministrator", I can find this groupName.
    Which kind of API can I use?
    Thanks in advance!
    Regards,
    Liying
    Message was edited by:
            Liying Wang

    Ok,
    try this:
    com.sapportals.portal.security.usermanagement.IGroupFactory ep5GroupFactory = userManagementService.getGroupFactory();
    IGroupFactory groupFactory = UMFactory.getGroupFactory();
    com.sap.security.api.IGroup group = groupFactory.getGroupByUniqueName(groupName);
    IUMPrincipal ep5Principal = ep5GroupFactory.getEP5Group(group);
    This should do the trick,
    Romano
    PS: and thanks for the stars!

  • Download from appstore get errors, and stops. but my account already charged $19.99 , how to get my money back?

    i tried to buy keynote from the appstore, and the download get errors, and stops. but my account already charged $19.99 , how to get my money back?

    Apple's policy states that, "all sales are final" > iTUNES STORE - MAC APP STORE - TERMS AND CONDITIONS
    Keynote's minimum requirements are v10.7.4 Lion in case you are running a prior Mac OS X. That information is available under Information right side of the Keynote window at the App Store.
    and the download get errors, and stops
    Try turning off the Firewall in System Preferences > Security (or Security & Privacy) > Firewall
    Disable anti virus software.
    Then open the App Store. From the App Store menu bar top of your screen click Store > Check for Unfinished Downloads

  • I had backed up my data from my iphone 4 through icloud. i have purchased an iphone 5S. how do I restore the back-up from icloud?

    i had backed up my data from my iphone 4 through icloud. i have purchased an iphone 5S. how do I restore the back-up from icloud?

    How To Restore iPhone:  http://lmgtfy.com/?q=how+to+restore+iphone

  • I upgraded to the iphone 4S yesterday, ive got my contacts-apps-music back but I've not been able to figure out how to get my ringtones back? I purchased many tones with my 3G I assumed they would go back on my new one with everything else..

    I upgraded to the iphone 4S yesterday, ive got my contacts-apps-music back but I've not been able to figure out how to get my ringtones back? I purchased many tones with my 3G I assumed they would go back on my new one with everything else..

    The iPad is looking for a 4 digit passcode that you used to lock the device. Did you set a 4 digit code when you set up your iPad? You need to enter that code in order to unlock it. If you don't know the code, you will have to restore the iPad in order to unlock it.
    Read this for more information.
    iOS: Forgot passcode or device disabled - Apple Support

  • How to get deleted photos back in the trash can?

    I tried to dele all the photos I've deleted from iPhoto by cmd+delete all the photos in the iPhoto trash can, but that only made all the photos reappear in iPhoto.
    How do I get the deleted photos back in the trash can?
    I discovered this the next time I turned on my mac, so I couldn't just "go back".
    I really don't wanna go trough ALL of my pictures and delete the thousands of pictures I've deleted over the past three years..
    I now know how to delete dem properly, but not how to get them all back in the trash can. Please help me!
    Ida

    There's no way to do that. If you try and trash thousands of photos at one go you'll trash the Library - which is what sounds like you've done.
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  

Maybe you are looking for

  • Retention amount paid to vendor is not updated in PO history tab

    Dear All, I had activated business function 'LOG_MMFI_P2P'. As a result i am getting Payment processing tab in PO. There i can define Down payment and Retention percentages. I had created a service purchase order and then service entry sheet. After t

  • InfoObject - Business Explorer Tab and field Authorization Relevant

    Is their a SAP utility / table / or transaction which can identify a field flagged on InfoObjects. I would like to determine all active InfoObjects which have the "authorization relevant" flagged on the InfoObject - Business Explorer tab. Version 7.0

  • ABAP/BI career

    Hi, I have total 4 year of exp on ERP development & customization with sql dba & 1.5 years on sap-abap. At present i am working as sql dba. i want to change my current sql dba profile to SAP. Please tell me which is the best option for me sap-abap or

  • Conversion between local time and UTC: Anomaly at Daylight saving time edge

    Hi all, I want to convert back and forth between local time including all peculiarities like DST etc. This is the core of my code:     Date d=new Date(toEpoch());     Calendar cal=Calendar.getInstance(tz);     cal.setTime(d);     int offs=(cal.get( C

  • How can i find my iphone without icloud

    if anyone has a way to track a iphone without the iphone connected to icloud please feel free to reply to this thanks! if you are a sprint customer