I have an application where the user is required to read an external document displayed in an HTML Viewer. I've scratched my head over how to determine if they have read it and have come to the conclusion that you can't as such. What I am now doing is disabling all functionality apart from scrolling in the HTML viewer and waiting 2 minutes, displaying a progress indicator every 1.2 seconds or so. ( ie 100 * 1.2 = 120 2 minutes plus a full stopwatch).
However, when I use the cl_gui_Timer class it appears to generate a PAI during the timer finished event and instantly clears the progress indicator from the screen. When I change that to a remote call to ENQUE_SLEEP when the at end of task method is called (which calls the cl_Progress_Indicator=>Progress_Indicate method I get a short dump RPERF_ILLEGAL_STATEMENT telling me that the function SAPGUI_PROGRESS_INDICATOR was probably called in a field or conversion exit (???) (SPI Is called by the method above).
So, does anyone know of another technique to get a timer displayed on the screen which does not result in a short dump or a PAI ??
ps: Trying to select a primary tag is not working - all matching tags are displayed as lines....