‎2012 May 02 1:14 PM
Hello All,
I am using Timer class CL_GUI_TIMER for refreshing my ALV Grid report every 5 minutes.
In the report there are hotspots for some of the fields, so user will click them such that other columns values are clauculted & again displayed in ALV Grid.
I face a strange issue, when user clicks any hotspot and at the same time if event 'FINISHED' is also triggered ( assume both happens at the same time i.e User cicking the hotspot, code in 'AT USER COMMAND' is being executed, & event is also raised), the event is lost in my report.
Since this event is lost, refreshing the report is permanently stopped.
Please suggest any solution, such that event 'FINISHED' is always received by the report.
Thanks,
Sridhar
‎2012 May 02 1:47 PM
‎2012 May 02 2:21 PM
Hello Raymond,
Thanks for your reply.
This is report , so no PBO, this reports needs to be refreshed every 5 minutes, so evertime I should not
CALL METHOD timer->cancel & then set
timer->interval = value.
CALL METHOD timer->run, if @ all PBO is present.
Thanks,
Sridhar
‎2012 May 02 2:27 PM
‎2012 May 02 3:14 PM
This a good idea, I thought about it earlier by my timer is every time cancelled, started for each hotspot clicked, I thought there may be better way to handle this...
Anyway thanks for understanding the issue.
Finally using AT USER COMMAND, as i dont find any other solutions, thanks you all