<?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 Using CL_GUI_TIMER class, event FINISHED lost in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-cl-gui-timer-class-event-finished-lost/m-p/8754808#M1675762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I am using Timer class CL_GUI_TIMER for refreshing my ALV Grid report every 5 minutes.&lt;/P&gt;&lt;P&gt;In the report there are hotspots for some of the fields, so user will click them such that other columns values are clauculted &amp;amp; again displayed in ALV Grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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, &amp;amp; event is also raised), the event is lost in my report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since this event is lost, refreshing the report is permanently stopped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest any solution, such that event 'FINISHED' is always received by the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2012 12:14:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-05-02T12:14:24Z</dc:date>
    <item>
      <title>Using CL_GUI_TIMER class, event FINISHED lost</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-cl-gui-timer-class-event-finished-lost/m-p/8754808#M1675762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I am using Timer class CL_GUI_TIMER for refreshing my ALV Grid report every 5 minutes.&lt;/P&gt;&lt;P&gt;In the report there are hotspots for some of the fields, so user will click them such that other columns values are clauculted &amp;amp; again displayed in ALV Grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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, &amp;amp; event is also raised), the event is lost in my report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since this event is lost, refreshing the report is permanently stopped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest any solution, such that event 'FINISHED' is always received by the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 12:14:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-cl-gui-timer-class-event-finished-lost/m-p/8754808#M1675762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-02T12:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using CL_GUI_TIMER class, event FINISHED lost</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-cl-gui-timer-class-event-finished-lost/m-p/8754809#M1675763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to start the timer in PBO&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #000080;"&gt;MODULE timer OUTPUT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #000080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF timer IS INITIAL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #000080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CREATE OBJECT: timer,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #000080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; event_timer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #000080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SET HANDLER event_timer-&amp;gt;on_finished FOR time_timer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #000080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #000080;"&gt;*&amp;nbsp;&amp;nbsp; CALL METHOD timer-&amp;gt;cancel. " not required&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #000080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; timer-&amp;gt;interval = value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #000080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL METHOD timer-&amp;gt;run.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #000080;"&gt;ENDMODULE.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; " TIMER OUTPUT&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 12:47:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-cl-gui-timer-class-event-finished-lost/m-p/8754809#M1675763</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-05-02T12:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using CL_GUI_TIMER class, event FINISHED lost</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-cl-gui-timer-class-event-finished-lost/m-p/8754810#M1675764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Raymond,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;This is report , so no PBO, this reports needs to be refreshed every 5 minutes, so evertime I should not &lt;/P&gt;&lt;P&gt;CALL METHOD timer-&amp;gt;cancel &amp;amp; then set&lt;/P&gt;&lt;P&gt;timer-&amp;gt;interval = value.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier; color: #000080;"&gt;CALL METHOD timer-&amp;gt;run, if @ all PBO is present.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier; color: #000080;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier; color: #000080;"&gt;Sridhar&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 13:21:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-cl-gui-timer-class-event-finished-lost/m-p/8754810#M1675764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-02T13:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using CL_GUI_TIMER class, event FINISHED lost</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-cl-gui-timer-class-event-finished-lost/m-p/8754811#M1675765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you could try to execute the code at the end of the &lt;A href="http://help.sap.com/abapdocu_70/en/ABAPAT_USER-COMMAND.htm"&gt;AT USER-COMMAND &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 13:27:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-cl-gui-timer-class-event-finished-lost/m-p/8754811#M1675765</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-05-02T13:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using CL_GUI_TIMER class, event FINISHED lost</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-cl-gui-timer-class-event-finished-lost/m-p/8754812#M1675766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway thanks for understanding the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally using AT USER COMMAND, as i dont find any other solutions, thanks you all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 14:14:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-cl-gui-timer-class-event-finished-lost/m-p/8754812#M1675766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-02T14:14:23Z</dc:date>
    </item>
  </channel>
</rss>

