Requirement to some thing similar to display a 5 mins timer running in program(timer must be runnning in runtime) for set of 5 question.
Some thing like this shown in image below the right hand top timer..
Is it possible to do it?i thought of using sy-uziet offset for seconds and manipulating with current time??
![]()
Hi Deepan,
In our application we issued a pop-up (message for user to leave the application or continue after a certain amount of time).
1.About the timer you showed in image it can be done , what Netweaver version are you guys using?
2.When time is about to reach 5mins say 4mins it must alert user only 1 min left:
You need to use Time Triggered UI element and some of the steps are:
1.Create a attribute of type i ( For example ZTIMEOUT )
2.Add UI element Time Triggered to your view.
3.Bind the delay property of the ui element with the attribute ZTIMEOUT
4.Create an on action method for the ui element.
Set the attribute of ZTIMEOUT to the desired one (Can be based out of the calculation,icfservice time settings etc)
2.
For this in the action method of the above ui element create a popup window which gives any custom message "Session closed" and exit the app.
see this thread and blog
http://scn.sap.com/thread/2152168
http://scn.sap.com/community/web-dynpro-abap/blog/2012/04/06/timer-in-webdynpro-abap
Karthik.R
You can also do this using Adobe Flash Islands...
You can refer this link for Adobe Flash Islands tutorial by Thomas Jung.
Hi Deepan,
I have written a blog for your requirement sometime back using IFrame and Javascript. Check it out. Timer in Webdynpro ABAP
Regards,
Fareez
I used a Timed trigger event and set delay 1sec on every 1 sec .I am calling a method to set the incremented value to an input/ouput field..Its working now..!!!