<?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: When time has reached in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-time-has-reached/m-p/4264093#M1017437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi... Deniz...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Good thought...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But.. I think its not posible with ABAP.&lt;/P&gt;&lt;P&gt;We can these kind of things only with Mark-up languages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example we will take a small code ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; do 100 times.&lt;/P&gt;&lt;P&gt;&amp;gt; write:/ SY-UZEIT.&lt;/P&gt;&lt;P&gt;&amp;gt; enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here if you put break point for DO statements... stay 1 hour in that mode..... but we can get first excution time only as output!&lt;/P&gt;&lt;P&gt;The system field SY-UZEIT can't change in runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you want to disapper that button in one perticuler time width always.. it is possible...&lt;/P&gt;&lt;P&gt;Ex: We can post documents on month ending date auto matically in the end of the month with reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get back to you if i got any Idea on this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naveen Inuganti,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jul 2008 10:48:28 GMT</pubDate>
    <dc:creator>naveen_inuganti2</dc:creator>
    <dc:date>2008-07-31T10:48:28Z</dc:date>
    <item>
      <title>When time has reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-time-has-reached/m-p/4264092#M1017436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to control the flow of code part depending on the time passed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example when passed time reached up to 20 seconds,I want to disappear a button on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have controlled time as the difference of what has done between two events(click).If this difference is &amp;gt; 20, made button disappeared.&lt;/P&gt;&lt;P&gt;But I want to do it when difference is ok. Without need to click second time.&lt;/P&gt;&lt;P&gt;When clicked for example on execute, if he did not use a button for 20 seconds, just make it disappear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do this auto-triggering?&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;Deniz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 10:26:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-time-has-reached/m-p/4264092#M1017436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T10:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: When time has reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-time-has-reached/m-p/4264093#M1017437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi... Deniz...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Good thought...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But.. I think its not posible with ABAP.&lt;/P&gt;&lt;P&gt;We can these kind of things only with Mark-up languages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example we will take a small code ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; do 100 times.&lt;/P&gt;&lt;P&gt;&amp;gt; write:/ SY-UZEIT.&lt;/P&gt;&lt;P&gt;&amp;gt; enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here if you put break point for DO statements... stay 1 hour in that mode..... but we can get first excution time only as output!&lt;/P&gt;&lt;P&gt;The system field SY-UZEIT can't change in runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you want to disapper that button in one perticuler time width always.. it is possible...&lt;/P&gt;&lt;P&gt;Ex: We can post documents on month ending date auto matically in the end of the month with reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get back to you if i got any Idea on this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naveen Inuganti,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 10:48:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-time-has-reached/m-p/4264093#M1017437</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2008-07-31T10:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: When time has reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-time-has-reached/m-p/4264094#M1017438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen and thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use this auto-triggering as CTRL + Z, that is, undo event. I have coded it through a button on screen numbered as 100.&lt;/P&gt;&lt;P&gt;If the user did not use this button for 20 seconds, I want to make it disappear automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deniz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 10:55:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-time-has-reached/m-p/4264094#M1017438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T10:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: When time has reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-time-has-reached/m-p/4264095#M1017439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi do like this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;get time  .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;get time stamp field v_var1&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 10:56:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-time-has-reached/m-p/4264095#M1017439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T10:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: When time has reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-time-has-reached/m-p/4264096#M1017440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.... Venkat... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Can you please xplain how it can be possible with time stamp...??&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hmmmm... venkat is guest!! &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And..,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi.. Deniz...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I understtod your requirement actually... But what iam saying with my frist reply is... We can not change screen automatically with out user interaction.....by using ABAP coding..,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you are aware of WAIT UP TO N SECONDS statement...&lt;/P&gt;&lt;P&gt;c this code...&lt;/P&gt;&lt;P&gt;&amp;gt;do 10 times.&lt;/P&gt;&lt;P&gt;&amp;gt;wait up to 1 seconds.&lt;/P&gt;&lt;P&gt;&amp;gt;write:/ sy-uzeit.&lt;/P&gt;&lt;P&gt;&amp;gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which can give output after 10 secs... &lt;/P&gt;&lt;P&gt;02:00:13&lt;/P&gt;&lt;P&gt;02:00:14&lt;/P&gt;&lt;P&gt;02:00:15&lt;/P&gt;&lt;P&gt;02:00:16&lt;/P&gt;&lt;P&gt;02:00:17&lt;/P&gt;&lt;P&gt;02:00:18&lt;/P&gt;&lt;P&gt;02:00:19&lt;/P&gt;&lt;P&gt;02:00:20&lt;/P&gt;&lt;P&gt;02:00:21&lt;/P&gt;&lt;P&gt;02:00:22&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and one more thing...&lt;/P&gt;&lt;P&gt;It may be possible if user presses other buttons in that screen.... &lt;/P&gt;&lt;P&gt;we can write code for this...&lt;/P&gt;&lt;P&gt;with that we can disable that button after certain time...&lt;/P&gt;&lt;P&gt;I think you can do it or If you want I can suggest logic for this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ANY BODY MORE IDEAS ON THIS REQUIREMENT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naveen Inuganti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 09:04:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-time-has-reached/m-p/4264096#M1017440</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2008-08-01T09:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: When time has reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-time-has-reached/m-p/4264097#M1017441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i can probably help you how to do it using webdynpro abap but i don't think it is possible using standard abap reports...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in webdynpro you can use the timedtrigger control and can refresh your view automatically after a certain amount of time has passed.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in traditional abap i don't think there is any such refresh possible for a selection screen or a module pool screen....u can determine how much time has passed by capturing the sy-uzeit variable at different points of time and calculating the difference....but you will have to write your code to make the button invisible in some event that has to be initiated by the user....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i will also suggest that in case you want that whatever action your button does should not be done after 20 seconds, then probably you can check on the click of the button that how much time has passed....you can do this by first capturing the value of sy-uzeit when your program starts and then when the button is clicked...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the difference is found to be 20 secs or more, you can write an if condition so that your code is not executed...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just some suggestions.....don't think the button invisibility can be automatic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 09:12:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-time-has-reached/m-p/4264097#M1017441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-01T09:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: When time has reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-time-has-reached/m-p/4264098#M1017442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.. Priyank.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your attention...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you said is exactly correct.., we can do it if user interacting with screen....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Hi friends Please share your valuebale ideas on this...&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Can we disappear a button on module pool screen after certain time with out user interaction with screen?&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naveen Inuganti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 09:28:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-time-has-reached/m-p/4264098#M1017442</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2008-08-01T09:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: When time has reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-time-has-reached/m-p/4264099#M1017443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not by means of classic ABAP. With OO ABAP I'm not sure, but if there is no event or user interaction of any kind, I can't see how this could be done.&lt;/P&gt;&lt;P&gt;Things like auto log off after x minutes of inactivity are all done on the kernel or OS level, as far as I know.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 09:58:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-time-has-reached/m-p/4264099#M1017443</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-08-01T09:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: When time has reached</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/when-time-has-reached/m-p/4264100#M1017444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deniz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's very interesting question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although I haven't tried it, I guess following should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You write a FM and call it in asynchronous mode in PBO of screen. Use starting new task. In this FM write logic for waiting 20 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set a flag to indicate if PBO is called first time of called implicitely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION func STARTING NEW TASK task &lt;/P&gt;&lt;P&gt;              DESTINATION dest &lt;/P&gt;&lt;P&gt;              parameter_list &lt;/P&gt;&lt;P&gt;              PERFORMING subr / CALLING meth ON END OF TASK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In call back routine (PERFORMING subr) call the screen again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the flag and if it is set do not call function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI set another flag to indicate if user has performed some action.&lt;/P&gt;&lt;P&gt;Check this flag in subroutine SUBR and if set do not call the screen again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if above logic works. I haven't tried it myself yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohaiyuddin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Mohaiyuddin Soniwala on Aug 1, 2008 3:41 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 10:09:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/when-time-has-reached/m-p/4264100#M1017444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-01T10:09:34Z</dc:date>
    </item>
  </channel>
</rss>

