<?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 TIME Computing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-computing/m-p/2533075#M574605</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;&lt;/P&gt;&lt;P&gt;Do you know a FM like START_TIME_DETERMINE which &lt;/P&gt;&lt;P&gt;computes the startime &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;outgoing not from sy-uzeit&amp;lt;/b&amp;gt; but outgoing any time &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;specified by user.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ilhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jul 2007 08:51:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-20T08:51:20Z</dc:date>
    <item>
      <title>TIME Computing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-computing/m-p/2533075#M574605</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;&lt;/P&gt;&lt;P&gt;Do you know a FM like START_TIME_DETERMINE which &lt;/P&gt;&lt;P&gt;computes the startime &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;outgoing not from sy-uzeit&amp;lt;/b&amp;gt; but outgoing any time &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;specified by user.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ilhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2007 08:51:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-computing/m-p/2533075#M574605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-20T08:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: TIME Computing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-computing/m-p/2533076#M574606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ilhan,&lt;/P&gt;&lt;P&gt;I haven't understood you properly, but see if this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT zeureka. 

CLASS lcl_handler DEFINITION.
PUBLIC SECTION.
METHODS: when_done FOR EVENT finished OF cl_gui_timer.
ENDCLASS. "lcl_event_handler DEFINITION


CLASS lcl_handler IMPLEMENTATION.
METHOD when_done.
cl_gui_cfw=&amp;gt;set_new_ok_code( new_code = 'ONLI' ). "ONLI = Execute
ENDMETHOD. "explode
ENDCLASS. "lcl_event_handler IMPLEMENTATION



TABLES: spfli, sscrfields.
PARAMETERS: pa_carr TYPE s_carrid DEFAULT 'AA'.
DATA: timer TYPE REF TO cl_gui_timer.
DATA: href TYPE REF TO lcl_handler.


AT SELECTION-SCREEN OUTPUT.
*Create the timer as well as the handler
CREATE OBJECT: timer, href.
*Register event handler
SET HANDLER href-&amp;gt;when_done FOR timer.
*Set value according to your requirement
timer-&amp;gt;interval = 10.
*Start timer
timer-&amp;gt;run( ).

START-OF-SELECTION.
*Stop Timer once list processing begins
timer-&amp;gt;cancel( ).

SELECT * FROM spfli WHERE carrid = pa_carr.

WRITE:/ spfli-connid, spfli-cityfrom.

ENDSELECT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can change the time interval there in the code...&lt;/P&gt;&lt;P&gt;I got this from : /people/dushyant.shetty/blog/2007/06/06/abap-programming-technique-if-you-dont-run-this-report-in-10-seconds-itll-run-itself&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out that blog..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jul 2007 21:50:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-computing/m-p/2533076#M574606</guid>
      <dc:creator>former_member189059</dc:creator>
      <dc:date>2007-07-21T21:50:39Z</dc:date>
    </item>
  </channel>
</rss>

