How to bring previous data??

Hello everybody.
I have a jsp page having tow choice box.After selecting the choices I am retrieving data from the database and present these data to user. There is a email button to send email.by clicking that buttom mail goes to the address given and the page is redirect to another jsp page sendmail.jsp.in the sendmail.jsp page there is a back button.by clicking the back button the page is redirect to the previous page,but there is no data . but i want these data with all selected values in my choice box.Plz anybody can send me the solution.
Thanks in advance.
srikant

Execute AUT10 with the TCode VV21 / VV22 on your right screen
G. Lakshmipathi

Similar Messages

  • How to bring the data from application server to presentation server

    hi,
    i have one problem,i have written the program which will open the files in the application server when we run the program in the background(sm37),the same data from application server i want to bring into presentation server in the format of (.csv),how to bring the data from application to presentation server can any body help me on this  topic.folowing is the code .
    *& Report  ZPFA_HIER_LOAD
    REPORT  ZFPA_HIER_LOAD.
    *---- Declaration of Oracle connectioN
    DATA con_name LIKE dbcon-con_name VALUE 'COMSHARE'.
    DATA: MFL1(9),MFL2(5),MFL3(9),MFL4(2),MFL5(8) TYPE c.
    DATA : mfilename type string.
    data: begin of matab1 occurs 0,
          MFL1(9) TYPE C,
          MFL2(5) TYPE C,
          MFL3(9) TYPE C,
          MFL4(2) TYPE C,
          MFL5(8) TYPE C  ,
         end of matab1 .
    data: setid(8) type c.
    data: begin of source occurs 0,
          setid(8) type c,
          end of source.
    *PARAMETERS : p_pfile LIKE filename-FILEEXTERN.
    *PARAMETERS : m_bsenty(8). " type c obligatory.
    *mfilename = P_PFILE.
    EXEC SQL.
      SET CONNECTION :con_name
    ENDEXEC.
    EXEC SQL.
      CONNECT TO :con_name
    ENDEXEC.
    EXEC SQL PERFORMING get_source.
      SELECT set_id FROM UNIT_SET INTO
      :setid
      ORDER BY SET_ID
    ENDEXEC.
    start-of-selection.
    LOOP AT SOURCE.
      REFRESH matab1. CLEAR matab1.
      EXEC SQL PERFORMING evaluate.
    SELECT TO_CHAR(MEM_ID),TRIM(TO_CHAR(MEM_PID)) FROM UNIT_TREE INTO :MFL1,
    :MFL5
    where set_id = :SOURCE-SETID ORDER BY MEM_ID
      ENDEXEC.
      if SOURCE-SETID = '80000000'.
       mfilename = '/tmp/aesorg'.
      elseif SOURCE-SETID = '80000006'.
       mfilename = '/tmp/Consolidation_Manager'.
      elseif SOURCE-SETID = '80000010'.
       mfilename = '/tmp/10org'.
      elseif SOURCE-SETID = '80000012'.
       mfilename = '/tmp/20org'.
      elseif SOURCE-SETID = '80000018'.
       mfilename = '/tmp/30org'.
      elseif SOURCE-SETID = '80000025'.
       mfilename = '/tmp/40org'.
      Endif.
      mfilename = '/usr/test.dat'.
    ************************This was i tried***********************
      open dataset mfilename for output in text mode encoding default." IN
    *TEXT MODE ENCODING DEFAULT.
    if sy-subrc <> 0.
    exit.
    endif.
    close dataset mfilename.
    CALL FUNCTION 'GUI_DOWNLOAD'
       EXPORTING
         FILENAME         = MFILENAME
         FILETYPE         = 'ASC'
       TABLES
         data_tab         = matab1
       EXCEPTIONS
         file_write_error = 1
         invalid_type     = 2
         no_authority     = 3
         unknown_error    = 4
         OTHERS           = 10.
    loop at matab1 .
    transfer matab1 to mfilename.
    endloop.
      clear matab1.
    ENDLOOP.
    loop at matab1 .
    transfer matab1 to mfilename.
    endloop.
    close dataset mfilename.
         MFL5 = '0'.
       CLEAR MFL5.
    FORM evaluate.
      if MFL5 = -1.
        MFL5 = ''.
      ENDIF.
      concatenate MFL1 ','   into MFL1.
      concatenate MFL1 ','   into MFL3.
      matab1-MFL1 = MFL1.
      matab1-MFL2 = 'ZBUE,'.
      matab1-MFL3 = MFL3.
      matab1-MFL4 = ' ,'.
      matab1-MFL5 = MFL5.
      append matab1 .
      CLEAR MFL1.
      CLEAR MFL2.
      CLEAR MFL3.
      CLEAR MFL4.
      CLEAR MFL5.
    ENDFORM.
                     "evaluate
    *&      Form  GET_SOURCE
          text
    FORM GET_SOURCE.
      source-setid = setid.
      append source.
      clear source.
    ENDFORM.                    "GET_SOURCE

    Hi Rammohan,
    You cannot use OPEN DATASET to transfer data from application server to presentation server.
    You can do the following :
    <b>Do 1st point in BACKGROUND</b>
    1. Read the data file from application server into an internal table using OPEN DATASET
    <b>Do 2nd point in Foreground</b>
    2. Once you get the data into an internal table, then use FM GUI_DOWNLOAD to download it on presentation server
    You cannot use the above 2 point together in Background because its not possible. Hence you need program it partially in background and partially in foreground.
    Best regards,
    Prashant

  • How to print previous date as current date

    Hi ,
    how  to print  previous data as current date in output  with out any changes....

    Hi Degala Hari Krishna,
      Can you explain clear.

  • How to clear previous data entries in sm30 transaction for table maintainen

    Whenever i maintain 8-10 records in sm30 for table maintenanace  and again when  I go to SM30 for entering new records i am able to view previous entries .
    then i click on new entries where data is cleared.
    Now what i need is i want to clear the data before clicking  "new entries".
    means for user it should appear as a fresh screen.
    is it possible if yes HOW?
    please anyone suggest me  way to do it immediately

    hi Nilesh,
    when u r clicking new entries data is not cleared but u r going to other screen,so it will apppaer as blank screen.If u want to delete all the records ,then write the logic in ur code.
    CASE SY-UCOMM.
    when 'NEWENTRIES'
    USe delete dbtable statemnt...then commit work.it will delete all the entries.
    ENDCASE.
    regards,
    Nagaraj

  • Bringing xml data into flash

    I would like to know how to bring xml data into flash.
    Specifically images that someone can click on the thumbnail and
    view the larger image. please can anyone point me to some tutorials
    or sites that i can start to learn how to do this.
    thanks.

    Hi
    First of all, read every thing you can in Flash Help to get
    to know the different methods of loading XML.
    XML can be loaded with 'built-in' components or parsed in
    Actionscript, the Help files will explain both.
    Next - Google for 'XML Image or Picture Gallery' you'll find
    plenty
    Hope it helps

  • How do you start the computer from a previous date.

    I overloaded my desktop and now the computer is frozen. It will turn on but none of the applictions work. I can pull up preferences. I would like to start my computer with a previous date when everything is working.  Please tell me how to do that. I know how to put it in safe boot.
    Thanks,

    To return your computer to a previous date you have to have been doing backups with the Application called TimeMachine.  It is turned off, by default.   TimeMachine automatically backs-up your user files to another disk or to rounter with a backup disk.  When TimeMachine is enabled, you can return to any time or date in the past by running the TimeMachine application and doing a Restore on the date and time you choose.
    If you didn't have TimeMachine running or a current backup....
    FYI:  Microsoft's Windows has a feature to restore it's Registry to a previous date, but that is not backup of the user files.   It allows the system to replace the Registry database back to a point where it was not corrupted. 
    A similar fix for the Mac OS is to reboot the computer and hold down 4 keys to reset the PRAM (that is your system Preferences).  This is a very quick fix and it should be the first thing you try.   As the system is restarting, hold down the OPTION- COMMAND-P-R keys all that the same time.
    Failing that, you can boot the system up in SAFE mode, which brings up the Mac OS without enabling any of the extensions.   It requires a wired USB keyboard and mouse - won't work with a wireless keyboard or mouse. Cycle power and hold down COMMAND-S keys on reboot.  This will allow you basic access to your system and you can reomove or delete any application that you suspect is causing a problem.
    If none of your applications work on the Mac, you can boot up from the gray repair disk (or boot up Disk Warrior or Tech Tools).   All of them will clean up the file systems and that is usually all you need to fix things. Insert the disk. cycle the power button (hold it for 11 seconds) and hold Command Key+C (for CD) on your keyboard while it boots back up. 
    The most common cause for persistient hangs is too little memory (RAM) or the harddisk is full.   The RAM problem can be minimized by not running other big applications.   If the harddisk is over 80% full, you will see significant slowing.  At 90-95% full, the system can barely run.   Run Disk Utitliy from the APPLICATIONS / UTLILITIES Folder, as The Hatter suggested (above).  Disk Repair is the option.
    Note: If any recovery works with a wireless keyboard and mouse, I am not aware of that new functionality.   Also, any USB keyboard and mouse will work, even if it's from a PC.

  • How to get Item-Code wise stock quantity and value for a previous date

    Dear Sir,
    As per the government legal requirement , we are required to furnish a list for items having stock as on a date ( date is not the current date but it is some past date)  and  in the list we need to provide material wise stock quantity and value .
    We can generate a list  for the current date , but do not know how to get it for a previous date .
    We request you to kindly guide us about such a list .
    With Thanks and Regards
    Sonia Agarwal

    hi,
    might be this reports will be help full for your requirement.
    MMBE
    MB53
    MB52
    MB5M
    MB5B
    MB5T
    MBLB
    MBBS
    MB54
    ME56
    Thanking you

  • How to get previous day of the date

    Hi,
    for a given date I need one day minus as a result date
    my input would be any date
    for example :
    Input Date : 2006-03-22 ( yyyy-mm-dd)
    Output should be : 2006-03-21
    If my input is 1st of April 2006, output i would expect is 31st March 2006
    Please suggest how to achieve this
    Thanks in advance
    Nilesh

    Find below the code to get previous day of the current date
    import java.util.Date;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    public class PreviosDay
    public static void main(String[] args)
    DateFormat dateFormat = new SimpleDateFormat( "MM/dd/yyyy");
    Calendar cl = Calendar.getInstance();
    // you can use a Date object's getTime() method , which is initialiazed
    // to desired date here directly ex: Date dt = new Date("10/10/2004");
    // cl.setTimeInMillis(dt.getTime());
    cl .setTimeInMillis(System.currentTimeMillis());
    cl.add(Calendar.DAY_OF_MONTH, -1);
    System.out.println("Previous date : "+dateFormat.format(
    new Date(cl.getTimeInMillis() ) ) );
    }

  • I have an Iphone 4 which I just updated with the latest software, which put in it in Recovery Mode. It has the picture of the plug with Itunes, I downloaded it now its saying its in Recovery Mode, how do I save all of my previous data without Restoring?

    I have an IPhone 4 which I just updated with the latest software, which put in it in Recovery Mode. It has the picture of the plug with ITunes, I downloaded it now its saying its in Recovery Mode, how do I save all of my previous data without Restoring?
    I updated the phone before backing it up on iTunes, now the update wanted me to connect the phone with iTunes and it says the phones in recovery mode and it must be restored before its used with iTunes. I go to click restore and it says it will reset it to factory default and I'll lose all my current data. I have all my sons pictures and videos along with this notes. I can't lose all of this data! Please help!

    You have to restore the iPod, no ifs, ands, or buts...
    After iOS is installed you will be asked if you what to set it up as a new iPod or if you want to restore from a backup.
    If you have a good backup you can restore that and you're good to go.
    If you don't have a good backup, then you end up with a "clean" iPod....

  • Need to wipe hard drive to restore to previous date from time machine back up.  Unclear how to do this.  Please advise or provide link to this procedure on website.  Thanks.

    Need to wipe hard drive to restore to previous date from time machine back up.  Unclear how to do this.  Please advise or provide link to this procedure on website.  Thanks.

    See Pondini's TM FAQs for starters.

  • How to get the previous data?

    Hi,
    I am monitoring a one moving point with coordinates (Xd,Yd). I want to get the two previous data so that I can calculate the point of origin as (Xo,Yo). I made a calculation that if i have three known points I will be able to get the point of origin. The variable data for the moving point (Xd,Yd) i showed using a slide bar. I want to see in the graph the moving point with the line connected to the point of origin at least.
    But my problem is how can i get the two previous data correctly. Can somebody kindly teach me please.
    Thank you very much.
    Attachments:
    moving point.vi ‏39 KB

    Hi Bong,
    I couldn't open your VI 'cause I'm still running LV7.11... anyway, if I understood what you're asking for, it is quite simple, you just need to drag down the shit register of the for loop as in the attached example SR.vi.
    If you are not using a shit register to plot your data, then it depends on which display you use, but there are some tricks to get previous data... but in my opinion keeping a cluster with (X,Y) in a shift register is a good idea
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Attachments:
    SR.vi ‏19 KB

  • HT1766 How I restore my IPad to a previous date to recover my pictures and programs

    How I restore my IPad to a previous date to recover my pictures and programs?

    Restore from iTunes or iCloud backup.

  • TS1538 I have just purchased an iPhone5 and created a new user instead of using my previous ID. How can I access my previous data?

    I have just purchased an iPhone5 and created a new user instead of using my iPhone3 ID. How can I access my previous data?

    don't just sign out!
    if you simply sign out, the stuff you recently purchased will be an issue in the future when an update comes out for apps or anything else. restore the device as new from itunes then restore from a back if you have one as stated above...or set up as new and use correct apple id. this will ensure you will be using the apple id that you used originally without issues from the new one.

  • How can i get the previous date?

    Hi,
    I am entering a future date(xx-xx-xxxx) through my application.I need to perform some actions on the previous date of the entered date(xx-xx-xxxx).How can i get that previous date?

    Oh dear god.
    Parse the date using SimpleDateFormat. You can then use Calendar's setTime to set a Calendar instance to your date, and use add(Calendar.DAY_OF_MONTH, -1) to substract a day. getTime() will then provide a new Date. And yes, look it up in the API docs.

  • Lost iPhone - How do I restore data from previous phone to new one?

    I recently lost, then replaced my iPhone. Does anyone kknow how I can access the previous data stored for the old, now lost phone?

    iTunes maintains a backup for the iPhone that is updated as the first step during the iTunes sync process. This link provides the data included with the iPhone's backup.
    http://support.apple.com/kb/HT1766
    When you connect a new iPhone to iTunes the first time, you should be prompted to transfer the backup for a previous iPhone to the new iPhone. This must be followed by a sync with iTunes.
    If you weren't prompted to transfer the backup for your previous iPhone to your new iPhone or you declined this prompt, you can restore your new iPhone with iTunes from the backup for your previous iPhone.

Maybe you are looking for