<?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: Reprocessing ALV screen when we click BACK button in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reprocessing-alv-screen-when-we-click-back-button/m-p/1983610#M401951</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello rajesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First implement the USER COMMAND for the ALV list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the user clicks the back button modifz ur outtab with the refreshed data and set the &amp;lt;b&amp;gt;SELFIELD-REFRESH EQ X&amp;lt;/b&amp;gt; and call the FM REUSE?ALV?LIST?DISPLAY again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Feb 2007 22:51:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-15T22:51:58Z</dc:date>
    <item>
      <title>Reprocessing ALV screen when we click BACK button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reprocessing-alv-screen-when-we-click-back-button/m-p/1983609#M401950</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 executable report program I am using a FM 'REUSE_ALV_LIST_DISPLAY' to display the list. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So after user selecting the records from the list and click submit it will give output results. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question.&lt;/P&gt;&lt;P&gt;When he click's BACK button from output screen I need to display again ALV screen with reprocessing the list of records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one tell me how I can do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 22:43:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reprocessing-alv-screen-when-we-click-back-button/m-p/1983609#M401950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T22:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Reprocessing ALV screen when we click BACK button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reprocessing-alv-screen-when-we-click-back-button/m-p/1983610#M401951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello rajesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First implement the USER COMMAND for the ALV list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the user clicks the back button modifz ur outtab with the refreshed data and set the &amp;lt;b&amp;gt;SELFIELD-REFRESH EQ X&amp;lt;/b&amp;gt; and call the FM REUSE?ALV?LIST?DISPLAY again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 22:51:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reprocessing-alv-screen-when-we-click-back-button/m-p/1983610#M401951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T22:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Reprocessing ALV screen when we click BACK button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reprocessing-alv-screen-when-we-click-back-button/m-p/1983611#M401952</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;Once the records are processed when the submit button is pressed..Modify those internal table records..then use selfield-refresh = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM user_command USING ucomm LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Modify your internal table records here..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  selfield-refresh = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 22:56:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reprocessing-alv-screen-when-we-click-back-button/m-p/1983611#M401952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T22:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Reprocessing ALV screen when we click BACK button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reprocessing-alv-screen-when-we-click-back-button/m-p/1983612#M401953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vasath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the replay.&lt;/P&gt;&lt;P&gt;can u please tell me where I need to call this FM again passing SELFIELD-REFRESH EQ X ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE SY-UCOMM.&lt;/P&gt;&lt;P&gt;    WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after this I need to call this FM again?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 22:58:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reprocessing-alv-screen-when-we-click-back-button/m-p/1983612#M401953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T22:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Reprocessing ALV screen when we click BACK button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reprocessing-alv-screen-when-we-click-back-button/m-p/1983613#M401954</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;Please check my reply..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 22:59:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reprocessing-alv-screen-when-we-click-back-button/m-p/1983613#M401954</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T22:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Reprocessing ALV screen when we click BACK button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reprocessing-alv-screen-when-we-click-back-button/m-p/1983614#M401955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello rajesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No need to call the FM again .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO what I said in USER?COMMAND form. U will be able to see the refreshed data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regadrs,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 23:15:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reprocessing-alv-screen-when-we-click-back-button/m-p/1983614#M401955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T23:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Reprocessing ALV screen when we click BACK button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reprocessing-alv-screen-when-we-click-back-button/m-p/1983615#M401956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rajesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Narendran already said you have to implement subroutine USER_COMMAND. In addition, you have to fill the &amp;lt;b&amp;gt;callback&amp;lt;/b&amp;gt; IMPORTING parameters with appropriate value (see below for an example). If you want to set your own PF-status define subroutine PF_STATUS_SET, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;I_CALLBACK_PROGRAM             = syst-repid
*I_CALLBACK_PF_STATUS_SET   = PF_STATUS_SET
I_CALLBACK_USER_COMMAND  = USER_COMMAND&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These subroutines must have a &amp;lt;b&amp;gt;defined interface&amp;lt;/b&amp;gt; which you can look up in the documentation of the function module. For example, subroutine USER_COMMAND (which can have any other name as well) has the following interface (see documentation):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM user_command  USING r_ucomm LIKE sy-ucomm           
                         rs_selfield TYPE slis_selfield. 
...

  rs_selfield-refresh = 'X'.  " refresh list output
ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A final remark: you should &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; use the BACK button in order to refresh to ALV list because such a behaviour is not in line with the SAP standards for user interfaces. Instead define your own REFRESH push button or handle the existing refresh button of the standard ALV pf-status in the user-command routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 02:56:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reprocessing-alv-screen-when-we-click-back-button/m-p/1983615#M401956</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-02-16T02:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Reprocessing ALV screen when we click BACK button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reprocessing-alv-screen-when-we-click-back-button/m-p/1983616#M401957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;sorry for late reply,  &lt;/P&gt;&lt;P&gt;I could not able to get, I put the code but still its not refreshing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after refreshing my internal table &lt;/P&gt;&lt;P&gt;if I put  &lt;/P&gt;&lt;P&gt;selfield-refresh = 'X'.&lt;/P&gt;&lt;P&gt;perform ALV_DISP, it is refreshing ALV but when we click back button it is showing previous ALV screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can some one send email to &lt;/P&gt;&lt;P&gt;m.rajesh.7@gmail.com  I will send my code please correct it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot.&lt;/P&gt;&lt;P&gt;rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 19:41:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reprocessing-alv-screen-when-we-click-back-button/m-p/1983616#M401957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T19:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Reprocessing ALV screen when we click BACK button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reprocessing-alv-screen-when-we-click-back-button/m-p/1983617#M401958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi thanks for all .. I solved my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Feb 2007 20:01:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reprocessing-alv-screen-when-we-click-back-button/m-p/1983617#M401958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-16T20:01:52Z</dc:date>
    </item>
  </channel>
</rss>

