<?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 Controlling loop by using timer and exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/controlling-loop-by-using-timer-and-exit/m-p/4755549#M1115335</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 applied the belwo object but i need your help in one thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set a timer for one mint but my problem how i can interact between the methode FOR EVENT FINISHED OF CL_GUI_TIMER and my while loop. because even the time is set finish i could not go to the method due to the Infinity while loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please, let me know if any one has any information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: loc_subrc  type sy-subrc value 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while loc_subrc ne  0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from aufk &lt;/P&gt;&lt;P&gt;where aufnr = loc_aufnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loc_subrc = 0.&lt;/P&gt;&lt;P&gt;*// logic will be applied&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*//for the record with fail extracting  for one mint exit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endwhile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Lezarazo Thoram on Nov 9, 2008 2:53 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Lezarazo Thoram on Nov 9, 2008 2:54 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Lezarazo Thoram on Nov 9, 2008 2:57 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 09 Nov 2008 13:52:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-09T13:52:29Z</dc:date>
    <item>
      <title>Controlling loop by using timer and exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/controlling-loop-by-using-timer-and-exit/m-p/4755549#M1115335</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 applied the belwo object but i need your help in one thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set a timer for one mint but my problem how i can interact between the methode FOR EVENT FINISHED OF CL_GUI_TIMER and my while loop. because even the time is set finish i could not go to the method due to the Infinity while loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please, let me know if any one has any information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: loc_subrc  type sy-subrc value 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while loc_subrc ne  0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from aufk &lt;/P&gt;&lt;P&gt;where aufnr = loc_aufnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loc_subrc = 0.&lt;/P&gt;&lt;P&gt;*// logic will be applied&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*//for the record with fail extracting  for one mint exit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endwhile&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Lezarazo Thoram on Nov 9, 2008 2:53 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Lezarazo Thoram on Nov 9, 2008 2:54 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Lezarazo Thoram on Nov 9, 2008 2:57 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Nov 2008 13:52:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/controlling-loop-by-using-timer-and-exit/m-p/4755549#M1115335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-09T13:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling loop by using timer and exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/controlling-loop-by-using-timer-and-exit/m-p/4755550#M1115336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lezarazo,&lt;/P&gt;&lt;P&gt;Check out the link for CL_GUI_TIMER. This might helpful for you to understand the concept. This is a good blog just go through this blog you will get the concept of the class CL_GUI_TIMER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_blogpost" href="https://community.sap.com/" __jive_macro_name="blogpost" modifiedtitle="true" __default_attr="40938"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chidanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Nov 2008 17:25:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/controlling-loop-by-using-timer-and-exit/m-p/4755550#M1115336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-09T17:25:24Z</dc:date>
    </item>
  </channel>
</rss>

