<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic CL_GUI_TIMER in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-timer/m-p/778186#M38954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a great problem with the class CL_GUI_TIMER. We want to use this class to refresh a CL_GUI_ALV_GRID after i.e. 10 seconds. Therefore I wrote an eventhandler which reacts on the event FINISHED of the timer by refreshing the grid an starting the timer once again. But when a modal windows was opened then framework seems to block the event (it's a system event) an the timer stops. I've enhanced the timer to react on the event himself but that doesn't help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have anybody a solution for this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Feb 2004 19:38:27 GMT</pubDate>
    <dc:creator>gerwin_borkowsky</dc:creator>
    <dc:date>2004-02-24T19:38:27Z</dc:date>
    <item>
      <title>CL_GUI_TIMER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-timer/m-p/778186#M38954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a great problem with the class CL_GUI_TIMER. We want to use this class to refresh a CL_GUI_ALV_GRID after i.e. 10 seconds. Therefore I wrote an eventhandler which reacts on the event FINISHED of the timer by refreshing the grid an starting the timer once again. But when a modal windows was opened then framework seems to block the event (it's a system event) an the timer stops. I've enhanced the timer to react on the event himself but that doesn't help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have anybody a solution for this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2004 19:38:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-timer/m-p/778186#M38954</guid>
      <dc:creator>gerwin_borkowsky</dc:creator>
      <dc:date>2004-02-24T19:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: CL_GUI_TIMER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-timer/m-p/778187#M38955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following is untested but I recall doing something like it in the past.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the end of your PAI logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'RZL_SLEEP'&lt;/P&gt;&lt;P&gt;     STARTING NEW TASK 'TIMER'&lt;/P&gt;&lt;P&gt;     PERFORMING timer_finished ON END OF TASK&lt;/P&gt;&lt;P&gt;     ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM timer_finished USING taskid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SET USER-COMMAND 'REFRESH'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously you need to handle PAI function code REFRESH.  Can't recall whether SET USER-COMMAND works in this context (it is intended for interactive reporting), but if not you should be able to use function module SAPGUI_SET_FUNCTIONCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2004 21:37:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-timer/m-p/778187#M38955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-02-24T21:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: CL_GUI_TIMER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-timer/m-p/778188#M38956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We had the same problem with the SAP timer.  We opened a problem with SAP through OSS but got a response that the Timer was working as designed.  Our solution was to create our own timer ActiveX control in Visual Basic.  We created our timer to automatically reset itself after it fires its event.  This way if the Control Framework is blocked (by a modal window or other processing) you will miss the events that fire during that time, but the timer will keep on firing.  You will have to create your own proxy class for the new control.  To do this you can study the existing SAP proxy classes.  The hardest part is distributing the ActiveX control to all the frontend PCs.  To get around this we loaded the Control installer into the Mime repository.  If the proxy class can't instantiate the control, we download the installer using the function module DOWNLOAD_WEB_OBJECT and start the installation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2004 13:08:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-timer/m-p/778188#M38956</guid>
      <dc:creator>thomas_jung</dc:creator>
      <dc:date>2004-02-25T13:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: CL_GUI_TIMER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-timer/m-p/778189#M38957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that does work until I create an object(container or grid). I tried Set user-command, sapgui_set_funtioncode an cl_gui_cfw=&amp;gt;set_new_ok_code but nothing works.&lt;/P&gt;&lt;P&gt;Anyway, thanks for answering.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2004 19:24:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-timer/m-p/778189#M38957</guid>
      <dc:creator>gerwin_borkowsky</dc:creator>
      <dc:date>2004-02-25T19:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: CL_GUI_TIMER</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-timer/m-p/778190#M38958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; We had the same problem with the SAP timer.  We&lt;/P&gt;&lt;P&gt;&amp;gt; opened a problem with SAP through OSS but got a&lt;/P&gt;&lt;P&gt;&amp;gt; response that the Timer was working as designed.  Our&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm still waiting on the answer to my ticket. I think I now know the content of the response. &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[workaround]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, that's a nice idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gerwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2004 07:22:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-timer/m-p/778190#M38958</guid>
      <dc:creator>gerwin_borkowsky</dc:creator>
      <dc:date>2004-02-26T07:22:14Z</dc:date>
    </item>
  </channel>
</rss>

