<?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 refreshing the screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-the-screen/m-p/930249#M60664</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i'm trying to throw an error message in the selection screen if there is any unwanted selection in the selection screen and im doing that in at selection-screen. it works well but the screen is not being refreshed, every time it shows an error message i need to refresh the screen .how can i do this. i'm not using modification groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;ravi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Aug 2005 23:20:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-08T23:20:43Z</dc:date>
    <item>
      <title>refreshing the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-the-screen/m-p/930249#M60664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i'm trying to throw an error message in the selection screen if there is any unwanted selection in the selection screen and im doing that in at selection-screen. it works well but the screen is not being refreshed, every time it shows an error message i need to refresh the screen .how can i do this. i'm not using modification groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;ravi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2005 23:20:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-the-screen/m-p/930249#M60664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-08T23:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: refreshing the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-the-screen/m-p/930250#M60665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If are validating at selection screen event, why dont you initialize your selection fields before your pop-up the error message?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2005 23:56:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-the-screen/m-p/930250#M60665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-08T23:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: refreshing the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-the-screen/m-p/930251#M60666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Shankar said, Try clearing that value before you throw the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Parameters: p_datum type sy-datum.

at selection-screen.

if p_datum &amp;gt; sy-datum.
clear p_datum.
message E000(00) with 'Date must be before today'.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2005 00:24:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-the-screen/m-p/930251#M60666</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-08-09T00:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: refreshing the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-the-screen/m-p/930252#M60667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;But why exactly do you want to refresh ur screen ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you refresh the screen before throwing the error, the user may or may not understand the error any more, for he doesnt see the values entered by him anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls tell as to why you want to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reg,&lt;/P&gt;&lt;P&gt;PP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2005 03:45:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-the-screen/m-p/930252#M60667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-09T03:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: refreshing the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-the-screen/m-p/930253#M60668</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;Here is the sample code for refreshing the screen.Kindly reward points,if it is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can accomplish this with a RFC enabled Function module.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;1. Create a function module. The only functionality will be to wait for 10 secs.&lt;/P&gt;&lt;P&gt;2. Create a subroutine which will set a user-command.&lt;/P&gt;&lt;P&gt;3. and at user-command call the function module.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Below is the code, I found on the web. It is quite simple..&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATA: ZNUM LIKE SY-TABIX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;: GET TIME.&lt;/P&gt;&lt;P&gt;: WRITE: /01 'Update Number:', ZNUM, SY-UZEIT.&lt;/P&gt;&lt;P&gt;: CALL FUNCTION 'Z_WAIT_30_SECS'&lt;/P&gt;&lt;P&gt;: STARTING NEW TASK 'IF'&lt;/P&gt;&lt;P&gt;: PERFORMING START_REFRESH ON END OF TASK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;: AT USER-COMMAND.&lt;/P&gt;&lt;P&gt;: IF SY-UCOMM = 'REFR'.&lt;/P&gt;&lt;P&gt;: SY-LSIND = SY-LSIND - 1.&lt;/P&gt;&lt;P&gt;: ADD 1 TO ZNUM.&lt;/P&gt;&lt;P&gt;: GET TIME.&lt;/P&gt;&lt;P&gt;: WRITE: /01 'Update Number:', ZNUM, SY-UZEIT.&lt;/P&gt;&lt;P&gt;: CALL FUNCTION 'Z_WAIT_30_SECS'&lt;/P&gt;&lt;P&gt;: STARTING NEW TASK 'IF'&lt;/P&gt;&lt;P&gt;: PERFORMING START_REFRESH ON END OF TASK.&lt;/P&gt;&lt;P&gt;: ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;: FORM START_REFRESH USING TASKNAME.&lt;/P&gt;&lt;P&gt;: SET USER-COMMAND 'REFR'.&lt;/P&gt;&lt;P&gt;: ENDFORM. "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;: FUNCTION Z_WAIT_30_SECS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;: DATA: ZTIME LIKE SY-UZEIT.&lt;/P&gt;&lt;P&gt;: GET TIME.&lt;/P&gt;&lt;P&gt;: ZTIME = SY-UZEIT + 30.&lt;/P&gt;&lt;P&gt;: DO.&lt;/P&gt;&lt;P&gt;: GET TIME.&lt;/P&gt;&lt;P&gt;: IF SY-UZEIT &amp;gt;= ZTIME.&lt;/P&gt;&lt;P&gt;: EXIT.&lt;/P&gt;&lt;P&gt;: ENDIF.&lt;/P&gt;&lt;P&gt;: ENDDO.&lt;/P&gt;&lt;P&gt;: ENDFUNCTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2005 05:04:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-the-screen/m-p/930253#M60668</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-08-09T05:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: refreshing the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-the-screen/m-p/930254#M60669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN &amp;lt;b&amp;gt;ON&amp;lt;/b&amp;gt; p_datum. 
  if p_datum &amp;gt; sy-datum.
   message E000(00) .
  endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2005 06:01:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-the-screen/m-p/930254#M60669</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-08-09T06:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: refreshing the screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-the-screen/m-p/930255#M60670</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;In the&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON s_budat.&lt;/P&gt;&lt;P&gt; perform validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/selscr/selscrhome.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/selscr/selscrhome.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2005 06:41:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refreshing-the-screen/m-p/930255#M60670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-09T06:41:03Z</dc:date>
    </item>
  </channel>
</rss>

