<?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: Refresh basic list Output in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-output/m-p/6135240#M1366094</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For using TOP-OF-PAGE while refreshing, you will have to do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
START-OF-SELECTION.
   PERFORM DISPLAY_REPORT.

TOP-OF-PAGE.
   PERFORM TOP_PAGE.
.
.
.

AT USER-COMMAND.
   CASE SY-UCOMM.
      WHEN 'REFR'. 
         PERFORM DISPLAY_REPORT.

      WHEN OTHERS.
   ENDCASE.

TOP-OF-PAGE DURING LINE-SELECTION.
   CASE SY-LSIND.
      WHEN '1'.   
*         Note: Though you are setting SY-LSIND = 0, it will only take effect *after* this code is executed
         PERFORM TOP_PAGE.

      WHEN OTHERS.
   ENDCASE.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Sep 2009 08:41:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-14T08:41:01Z</dc:date>
    <item>
      <title>Refresh basic list Output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-output/m-p/6135236#M1366090</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 am displaying a BASIC LIST. I have to place a   u2018Refreshu2019 icon to refresh / re-execute the program from the output screen with the previously selected criteria. How can this be acheived?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Sep 2009 09:08:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-output/m-p/6135236#M1366090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-13T09:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh basic list Output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-output/m-p/6135237#M1366091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check my reply in the following thread&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Sep 2009 09:20:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-output/m-p/6135237#M1366091</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-09-13T09:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh basic list Output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-output/m-p/6135238#M1366092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arvind,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The logic is pretty simple. To stay on the basic list inside AT LINE-SELECTION or AT USER-COMMAND, you simply have to set &lt;STRONG&gt;sy-lsind = 0&lt;/STRONG&gt; inside your DISPLAY_REPORT form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;   PERFORM DISPLAY_REPORT.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT USER-COMMAND.&lt;/P&gt;&lt;P&gt;   CASE SY-UCOMM.&lt;/P&gt;&lt;P&gt;      WHEN 'REFR'. &lt;/P&gt;&lt;P&gt;         PERFORM DISPLAY_REPORT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WHEN OTHERS.&lt;/P&gt;&lt;P&gt;   ENDCASE.&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Sep 2009 10:58:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-output/m-p/6135238#M1366092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-13T10:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh basic list Output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-output/m-p/6135239#M1366093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep.&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I have done that. But, top-of-page won't trigger when the user refreshes the output screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Sep 2009 14:51:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-output/m-p/6135239#M1366093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-13T14:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh basic list Output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-output/m-p/6135240#M1366094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For using TOP-OF-PAGE while refreshing, you will have to do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
START-OF-SELECTION.
   PERFORM DISPLAY_REPORT.

TOP-OF-PAGE.
   PERFORM TOP_PAGE.
.
.
.

AT USER-COMMAND.
   CASE SY-UCOMM.
      WHEN 'REFR'. 
         PERFORM DISPLAY_REPORT.

      WHEN OTHERS.
   ENDCASE.

TOP-OF-PAGE DURING LINE-SELECTION.
   CASE SY-LSIND.
      WHEN '1'.   
*         Note: Though you are setting SY-LSIND = 0, it will only take effect *after* this code is executed
         PERFORM TOP_PAGE.

      WHEN OTHERS.
   ENDCASE.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 08:41:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-basic-list-output/m-p/6135240#M1366094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-14T08:41:01Z</dc:date>
    </item>
  </channel>
</rss>

