<?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 Re: Timer function in ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/timer-function-in-abap/m-p/1234025#M140154</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harprit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this FM &amp;lt;b&amp;gt;SWE_CD_TST_DELAY&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'SWE_CD_TST_DELAY'
  EXPORTING
    DELAY = '10'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Apr 2006 02:25:08 GMT</pubDate>
    <dc:creator>ferry_lianto</dc:creator>
    <dc:date>2006-04-06T02:25:08Z</dc:date>
    <item>
      <title>Timer function in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timer-function-in-abap/m-p/1234023#M140152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have requirement to cancel execution of a function module if it exceeds 10 Sec. How do i do this in ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This FM is sending data through XI and waiting on confirmation from a external system through XI. But the requirement is to wait only for 10 sec and if no response continue the process after the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help in this highly appreciated.&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;Harprit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 01:20:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timer-function-in-abap/m-p/1234023#M140152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-06T01:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Timer function in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timer-function-in-abap/m-p/1234024#M140153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried the following statement ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WAIT up to 10 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 01:29:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timer-function-in-abap/m-p/1234024#M140153</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-04-06T01:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Timer function in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timer-function-in-abap/m-p/1234025#M140154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harprit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this FM &amp;lt;b&amp;gt;SWE_CD_TST_DELAY&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'SWE_CD_TST_DELAY'
  EXPORTING
    DELAY = '10'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 02:25:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timer-function-in-abap/m-p/1234025#M140154</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2006-04-06T02:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Timer function in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timer-function-in-abap/m-p/1234026#M140155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi harprit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. as soon as we call the FM,&lt;/P&gt;&lt;P&gt;   the program won't return&lt;/P&gt;&lt;P&gt;   until it is finished (or some error has occurred)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. So our abap code of&lt;/P&gt;&lt;P&gt;  checking for 10 seconds / waiting for 10 seconds&lt;/P&gt;&lt;P&gt;  / any time code&lt;/P&gt;&lt;P&gt;  won't get executed&lt;/P&gt;&lt;P&gt;  (as we desire)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. It may get exected only after the FM returns.&lt;/P&gt;&lt;P&gt;4. I don't think there is any direct way&lt;/P&gt;&lt;P&gt;   of achieving the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 04:27:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timer-function-in-abap/m-p/1234026#M140155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-06T04:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Timer function in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timer-function-in-abap/m-p/1234027#M140156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;GET_JOB_RUNTIME_INFO&amp;lt;/b&amp;gt; Get the current job number from a program. Also returns other useful info about the current job. &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ENQUE_SLEEP&amp;lt;/b&amp;gt; Wait a specified period of time before continuing processing. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ENQUEUE_ESFUNCTION&amp;lt;/b&amp;gt; Lock an abap program so that it cannot be executed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set the parameters as follows:&lt;/P&gt;&lt;P&gt;  RELID = 'ZZ' &lt;/P&gt;&lt;P&gt;  SRTF2 = 0 &lt;/P&gt;&lt;P&gt;  SRTF = (your report name) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Please note that you should not use SY-REPID to pass your report name to the function. The value of SY-REPID will change as it is being passed to the function module, and will no longer hold the value of the calling report.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 04:48:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timer-function-in-abap/m-p/1234027#M140156</guid>
      <dc:creator>vinod_gunaware2</dc:creator>
      <dc:date>2006-04-06T04:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Timer function in ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timer-function-in-abap/m-p/1234028#M140157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi harprit&lt;/P&gt;&lt;P&gt;the control returns to the program once the fm got executed so you cannot set a time and skip from fm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Abdul Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 04:53:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timer-function-in-abap/m-p/1234028#M140157</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2006-04-06T04:53:52Z</dc:date>
    </item>
  </channel>
</rss>

