Help for timer

hai guys
i am having script for generating a timer in jsp page.
When i refrehing the page the timer get again started from zero.
I want the timer should not be altered ie) it should be continue from the last value.
how can i do this.
thanks
raju

Hi
You will need to store the last value somewhere, a JavaBean or in the session, and then retrieve this value, if its a simple integer value it may be a better idea to store it in the session information.
Regards
Alex

Similar Messages

  • F4 help for Time field in Webdynpro Screen

    Hi Experts,
    I'm using TIMS data type for my Time field. In ECC we will have F4 function for the same data element, but in Webdynpro screen, am not getting the F4 help.
    I got some information from SCN that I need to go for some custom search help. But with which reference to the table, am I want to create it.
    Please let me know, is there any other possible way to create F4 for time field for webdynpro.
    Even I tried to use some standard search help, but am getting an error as 'Sending of dynpro ' ' not possible. No window system type specified'.
    Expecting valuable information from you experts.
    With Regards,
    RAM.

    Hi RAM,
    For time field, there is no SAP delivered search help in WDA , so we need to go for freely programmed search help.
    Please refer the below link, in which Mr. Thomas, has provided the links for search help document you can follow and create new search help component
    and also nugget of the component which can be imported using ZSAPLINK program.
    search help for time
    Regards,
    Rama

  • F4 help for Time field in webdynpro abap

    Hi Guru's,
    how to get f4 help for time field in webdynpro abap.
    thanks in advance,
    narendra

    Hi Narendra,
    Check this link:
    Re: Time Search Help
    Also few more links here:
    http://forumsa.sdn.sap.com/search.jspa?forumID=249&threadID=&q=time+help&objID=f249&dateRange=lastyear&numResults=15&rankBy=10001
    Also check if this example helps you: WDR_TEST_HELP
    If your query is not yet answered then its advisable to post in webdynpro for abap (Web Dynpro ABAP). You may get some quick repliy.
    Regards,
    Swarna Munukoti.

  • Search help for time

    HI,
    I need a Search help for time field in case of input field ie the one similar to the date field.In webdynpro we have mapped the Tims data type to our input field.here Tims data type is the data type for time in  the backend(R/3 system).Pls help me out its urgent.Pts will be awarded to any of the helpful  solutions.

    Hi Nikhil,
    Create an attribute of type 'time' in context. And inputfield to this attribute.
    Later, while calling BAPI, you can pass this value to Tms type field.
    Regards,
    Deepti

  • F4 help for Time field

    Hi,
    I am using a Time field in Table control, I would like to get F4 help for selecting time on this field.
    Anybody can tell which FM will serve this ?
    Thanks in Advance
    Regards
    Ranjith

    There is no need of any FM. What ever column you want the Time F4 help , You make that field Reference to SYST-UZEIT or some time field.
    They you will get the F4 help automatically.

  • Input Help for TIME type field

    I saw below discussion regarding a dropdown for a "TIME" type field.
    Re: Time Search Help
    It's a resuable component (that Thomas Jung created) and find it very slick.
    I just couldn't make it to work. I'm getting a dump when I pressed the dropdown on the "TIME" field.
    I was wondering, has anyone used this in conjunction with select-options (WDR_SELECT_OPTIONS) ?
    I'm getting a system-dump, "Component usage VALUE_HELP does not exist". I double checked the name that I used on the "USED COMPONENT" tab and it is VALUE_HELP.
    During method ADD_SELECTION_FIELD (for IF_WD_SELECT_OPTIONS) I'm using two parameters I_VALUE_HELP_TYPE = 'APPLDEV' and I_VALUE_HELP_ID = 'VALUE_HELP'.
    Maybe I'm not using the right parameters ?
    Anyway, I would appreciate if anyone could give me directions to correct the problem.Or maybe there is another and better way of having an input help for a "TIME" type field on select-option.
    Thanks.
    Vic

    That is because the TIME is a freely programmed value help and freely programmed value helps are not supported by the Select-Options component.  That limited is listed in the online help:
    Type of input help specified as type IF_WD_VALUE_HELP_HANDLER.
    Note that only ABAP Dictionary-based input help and OVS input help are supported; freely programmable input help is not supported.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/45/bf07361248003de10000000a11466f/frameset.htm
    The reason for this is that the freely programmed value help is accessed via a component usage.  The Select-Options however are a separate component. They have no declaration to your components, component usages.  Therefore they produce the error that the component usage doesn't exist - which is correct.  It doesn't exist in the Select-Options Component.

  • HT201250 Help for Time Machine

    I'm a new user of Time Machine.  I use an external drive.  The progress bar says the backup will finish in 6 days!  is this normal?

    See Pondini's TM FAQs, for details.

  • Search Help in Select - Options for Time field

    Hi,
    I have a select option which is a  time field.
    For date field the F4 help is automatically generated.
    How to get F4 help for time field.
    Regards,
    Remo

    Selection-Options or normal field - it doesn't matter.  There is no system delivered value help for a time field. This is documented in the online help:
    There is no automatic F4 help for data element TIMS.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/9f724642314aabe10000000a42189b/frameset.htm
    You would have to create your freely programmed value help if you want something like the time value help available in the SAPGUI.

  • F4 help for MRP Controller not adjacent to Plant

    Hello Dear all,
    I need F4 help for MRP controller on selection screen but only valid values for the plant value entered in the selection screen
    If select option for Plant and MRP controller are one below the other on selection screen, then F4 help for MRP controller gives relevant values ony for that Plants entered.
    But if they are not adjacent to each other F4 help for MRP controller gives all possible values. In such a case should we code separately for F4 help of MRP controller.
    Any suggestions.
    Thanks and regards,
    Mohit

    >That means F4 help will suppose to come automatically, but it's not providing the F4 functionality on the Time field. It's sounds like a bug in Web dynpro ABAP.
    No, this is normal. There is no time value help in Web Dynpro ABAP.
    From the online help:
    There is no automatic F4 help for data element TIMS.
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/47/9f724642314aabe10000000a42189b/frameset.htm
    You can create your own Freely Programmed Value Help for time however.  I created one and shared it as a sample implementation:
    http://code.google.com/p/abap-sdn-examples-tpj/downloads/detail?name=NUGG_WD_TIMESTAMP_VALUE_HELP_DEC2008.nugg&can=2&q=
    http://code.google.com/p/abap-sdn-examples-tpj/downloads/detail?name=ChapterX%20-%20User%20Programmed%20Value%20Help.pdf&can=2&q=

  • I just purchased Time Capsule today.  I ONLY want to use it as an external drive.  I do not need it for Time Machine. I can see the TC in my finder, but when I click on a file or video to drag and drop, I get message that TC can't be modified. Help please

    I just purchased Time Capsule today.  I ONLY want to use it as an external drive.  I do not need it for Time Machine. I need to free up room on my computer. As of now, I can't even load updates. I can see the TC in my finder, but when I click on a file or video to drag and drop, I get message that TC can't be modified. Help please!

    I agree with Kappy.. passing files and especially via wireless is slow as slow.
    Just need to be sure your TC is the new AC model??
    And the OS on the computer is Lion?
    Have you completed the setup of the TC via the utility? You do still need to get internet via the TC so it has to be plugged into the main router..
    Give us the full picture of the network.
    Then we can help you get into it.. whether you should put your files on it is another question.

  • Help needed for Time Calc Java Script

    Hi,
    I am trying to create a timesheet in PDF and have hit a speed bump. Is there anyone there who could provide me with a script that calculated the difference between 2 times? (Field2 time)-(Feild 1 Time) = Duration.I am desperate and have tried everything.
    I proccess the payroll for a company and all of the 500 or so timesheets that I received each fortnight are paper copies and I am pulling my hair out. I need to use Adobe forms (We have Adobe Pro 9 and I am using the XML forms, not live cycle) as the serach engine that we use for emails cannot search on excel documents.
    I have no Java script experience and I am getting completely lost in the subject. Any help would be greatly appreciated.
    Thanks anyone who can help at all.
    -Sohnia

    hi friend here example for time calulation start and end time example..<br />just copy and paste then run it ur browser.<br /><br /><HTML><br /><script language="JavaScript"><br /><!--<br /><br />var h1 = 1;<br />var h2 = 2;<br />var days = 0;<br />var m1 = 1;<br />var m2 = 2;<br />var am1 = 1;<br />var am2 = 2;<br />function findtime(h1,h2,days,m1,m2,am1,am2)<br />{<br />var answer = "why";<br />var mdiff = 1;<br />var hdiff = 2;<br />pdays = parseInt(days);<br />ph1 = parseInt(h1);<br />ph2 = parseInt(h2);<br />pm1 = parseInt(m1);<br />pm2 = parseInt(m2);<br />if(am1 == 2 & ph1 < 12) ph1 = ph1 + 12;<br />if(am2 == 2 & ph2 < 12) ph2 = ph2 + 12;<br />if(am1 == 1 & ph1 == 12) ph1 = 24;<br />if(am2 == 1 & ph2 == 12) ph2 = 24;<br />if(am1 == 2 & am2 == 1 & ph2 < 24) ph2 = ph2 + 24;<br />if(am1 == am2 & ph1 > ph2) ph2 = ph2 + 24;<br />if(pm2 < pm1){<br />pm2 = pm2 + 60;<br />ph2 = ph2 - 1;<br />}<br />mdiff = pm2 - pm1;<br />hdiff = (ph2 - ph1) + (pdays * 24);<br />if(hdiff == 0) answer = mdiff + ' minutes';<br />else if(hdiff == 1) answer = '1 hour and ' + mdiff + ' minutes'<br />else answer = hdiff + ' hours and ' + mdiff + ' minutes'<br />return answer<br />}<br /><br />//--><br /></script><br /></HEAD><br /><br /><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular"><br /><BODY BGCOLOR=FFFFFF TEXT=000000 LINK=0000FF VLINK=800080><br /><br /><div align="center"><table width="950" border="0" cellpadding="0" bgcolor="#899194" cellspacing="0"><br /><br />  <br /><tr><td valign="middle" width="33%"><br /><br /><center><br /><form><br /><TD WIDTH=80%><br /><center><br /><TABLE ALIGN=MIDDLE BORDER=5 CELLPADDING=5><br /><TR BGCOLOR=#FFFFFF><br /><!--ROW 1--><br /><TD WIDTH=80%><br /><center><br /><TABLE ALIGN=MIDDLE BORDER=5 CELLPADDING=5><br /><TR BGCOLOR="#B6D4D2"><br /><!--ROW 1--><br /><td colspan=4><br /><center>Time Between Times Calculations - Multiple Days</center><br /><br /></td><br /></tr><br /><TR BGCOLOR="#B6D4D2"><br /><TD align="center" colspan=4><br />Required Data Entry<br /></td><br /></tr><br /><tr><br /><td align="center">Start / End</td><br /><td align="center">Hour</td><br /><td align="center">Minute</td><br /><td align="center">AM / PM</td><br /></tr><br /><br /><td align="center">Start time</td><br /><td align="center"><input type="text" name="hour1" size="5"></td><br /><td align="center"><input type="text" name="minute1" size="5"></td><br /><td align="center"><select name="period1"><br /><option value="1">AM<br /><option value="2">PM<br /></select><br /></td><br /></tr><br /><tr><br /><td colspan="3">    Add Complete Interim Days</td><td align="center"><input type="text" name="adays" size="5" value="0"></td><br /></tr><br /><tr><br /><td align="center">Start / End</td><br /><br /><td align="center">Hour</td><br /><td align="center">Minute</td><br /><td align="center">AM / PM</td><br /></tr><br /><td align="center">End time</td><br /><td align="center"><input type="text" name="hour2" size="5"></td><br /><td align="center"><input type="text" name="minute2" size="5"></td><br /><td align="center"><select name="period2"><br /><option value="1">AM<br /><option value="2">PM<br /></select><br /></td><br /></tr><br /><br /><tr><br /><td align="center" colspan=4 BGCOLOR="#B6D4D2"><br /><input type="button" value="Calculate" <br />onclick="h1=form.hour1.value;<br />h2=form.hour2.value;<br />m1=form.minute1.value;<br />m2=form.minute2.value;<br />days=form.adays.value;<br />am1=form.period1.options[period1.selectedIndex].value;<br />am2=form.period2.options[period2.selectedIndex].value;<br />if(h1 < 0 | h1 > 12) alert('Your start hour is not valid');<br />else if(h2 < 0 | h2 > 12) alert('Your end hour is not valid');<br />else if(m1 < 0 | m1 > 59) alert('Your start minute is not valid');<br />else if(m2 < 0 | m2 > 59) alert('Your end minute is not valid');<br />else form.answer.value=findtime(h1,h2,days,m1,m2,am1,am2);"><br />   <br /><input type="reset" value="Clear Values"><br /><br /></td><br /></tr><br /><TR BGCOLOR="#B6D4D2"><br /><TD align="center" colspan=4><br />Calculated Results<br /></td><br /></tr><br /><br /><tr><br /><td align="center" colspan="4"><br />Time Difference <input type="text" name="answer" size="40"><br /><tr><td>[email protected]</td></tr><br /></td><br /></tr><br /></table><br /></form><br /></td><br /></tr><br /></table><br /><br /></center><br /></td><br /></tr><br /></table><br /></center><br /><br /></TD><br /></TR><br /></TABLE><br /></BODY> <br /></HTML>

  • I have just upgraded from a Macbook to a Macbook Air. I have been using a iomega external hard drive for Time Machine, which use a Firewire. However, Macbook Air's do not have a Firewire port and i cannot find an adaptor anywhere. Can anyone help?? Thanks

    I have just upgraded from a Macbook to a Macbook Air. I have been using a iomega external hard drive for Time Machine, which use a Firewire. However, Macbook Air's do not have a Firewire port and i cannot find an adaptor anywhere. Can anyone help?? Thanks

    There has never been a reliable firewire ---> USB adapter suitable for external high speed storage.  This was a major issue when the MacBooks lost the firewire port a number of years ago (Apple subsequently brought it back).
    The only high speed port on the Air is the ThunderBolt port.  There are external ThunderBolt drive options out there, but they're somewhat more expensive than traditional USB/FireWire options.

  • Help for a not so smart computer user on Time Mach and hard drive

    Am sure this is a simple solve but I have tried everything so hoping someone out there can stop me from more frustration.
    Am running time capsule with no problem. Bought a Seagate Free Agent portable drive which I want to use to store all my photos and delete them out of IPhoto. Sooo loaded the pics and all my ITunes music onto portable drive and started to delete all my pics in Iphoto (trying to clean up my computer a bit) so after deleting over 2000 photos...went into the Seagate hard drive and they were no longer on that hard drive either. Thank goodness for time capsule I restored them all but still cant get them off of my computer and onto only the Seagate hard drive. I went into Time Machine preferences and set it so it does not back up to the Seagate drive only the TM drive.....am I missing some other step or something to stop it from acting like an extension of time machine instead of a totally separate drive. All I want to do is copy all my photos on to drive and delete them off the computer. Even if I unplug it while I am deleting once I plug it back into the firewire connection it will delete anything I deleted in IPhoto. I tried connecting it usb and does the same thing.
    Thought I could resolve this myself but after two days of reading the boards I could use a little help here.
    Thanks so so much
    T

    HI Toni,
    Run Disk Utility and Repair Disk Permissions.
    Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select FirstAid, then click: Repair Disk Permissions. Quit DU when it's finished and reboot.
    See if that makes a difference.
    Carolyn

  • To implement search help for date and time fields details

    how can i implement search help for date and time fields in screen painter

    Hi
    Declare the variables as sy-datum and sy-uzeit or any other pre-defined data typ of date and ime types. Serach help will automatically comes.
    Aditya

  • I Need Help for the popup message every time I go to safari: "Warning! Old version of Adobe Flash Player detected. Please download new version."???

    I Need Help for the popup message every time I go to safari: "Warning! Old version of Adobe Flash Player detected. Please download new version."???

    If you are talking about Safari on the iPad, there is no version of Adobe Flash for iOS and there never has been. Clear Safari, close the app and reset the iPad.
    Go to Settings>Safari>Clear History and Website Data
    In order to close apps, you have to drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    If you are talking about Safari on your Mac, you are in the wrong forum. But I would still clear the cache, quit Safari and restart the Mac.

Maybe you are looking for

  • Error 1003 when building executable

    Hi, I'm using Labview 2010 on Windows 7 and I'm getting an error when I try to build an executable: Error 1003 occurred at Open VI Reference in AB_Engine_EXE_Call_Write_Icons.vi->AB_EXE.lvclass:​Build.vi->AB_Build.lvclass:Build_from_Wizard.vi->A​B_UI

  • GRC AC 5.3 Documents published in December by GRC CAO

    Hi Everyone, The GRC Customer Advisory Office published the following documents to the All Articles area in December. SAP GRC AC 5.3 Implementation Considerations for  Superuser Privilege Management https://www.sdn.sap.com/irj/scn/go/portal/prtroot/d

  • My mini iPad screen is flashing all the time

    My mini iPad screen is flashing all the time

  • How good is the stock thermal compound on the Rx9800?

    I can't overclock my card any higher than 410/370 w/o artifacting, yet when I touch the heatsink it is only mildly warm when I have a big fan on it.  This leads me to believe that the stock thermal compound b/w the heatesink and chip is crappy... per

  • Passing select-options values using call transaction method

    Hi Experts, I have a scenario in which i have three fields BUKRS,WERKS and MATKL in an internal table i_tab and I have MATNR as a selection-option. After this I have to use call transaction <tcode> for all the line items in the internal table and the