‎2010 May 31 12:44 PM
Hello All!
I created cockpit which shows me actual data in tabstrips in ALV list and other data on the screen after doubleclick.
Additionally I would like to create some kind of automatic list refresh, i.e. everty 2 minutes code with selection should be triggered and selected data should be passed back to program and displayed in ALV. Is it possible in ABAP?
If it's possibe I have one more question, is it possible to check how long user hasn't done any operation in SAP?
Thanks in advance
Bartek
‎2010 May 31 1:50 PM
‎2010 May 31 1:04 PM
Hi Bartlomiej,
you can try something like this:
LOOP.
WAIT UP TO 120 SECONDS.
<your refresh code>
ENDLOOP.
As I remember, WAIT implies a rollout and rollin.
Regards, Hubert
‎2010 May 31 2:38 PM
Hubert,
but command WAIT stops whole procedure and I want something what can run in background. I mean all activities can be done in cockpit and simultaneously list is refreshed in backgroung.
‎2010 May 31 3:54 PM
Please try this one CL_GUI_TIMER.I think this one can help you to fix it.
‎2010 Jun 01 2:31 PM
Hi guys!
This class CL_GUI_TIMER is ok. I need to check some things but I think it will be ok, but I have one more question - is there any method to check if user is doing something on the screen (enter some data, move mouse)?
‎2010 May 31 1:50 PM