<?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: function module reuse_alv_grid_display with multiple calls in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reuse-alv-grid-display-with-multiple-calls/m-p/9314144#M1727550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As your are using full screen ALV FM, let those manage the screen, in the user_command parameter there is a field to exit the FM, so back to previous screen, set it when managing "back" events. (Just read documentation of FM and the thousands of thread on the subject, RS_SELFIELD-EXIT = 'X'.) So when control will get back to your form, e.g. when clicking BACK on another call of th FM, the current ALV will close, leave to previous screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Mar 2013 19:09:54 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2013-03-09T19:09:54Z</dc:date>
    <item>
      <title>function module reuse_alv_grid_display with multiple calls</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reuse-alv-grid-display-with-multiple-calls/m-p/9314141#M1727547</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;For some reasons i've used the old function module reuse_alv_grid_display in a large report.&lt;/P&gt;&lt;P&gt;I'm calling it few times for list outputs, few times for a protocol ...&lt;/P&gt;&lt;P&gt;But when i click on the back button (the one near cancel and exit) i have to walk through all previous list outputs.&lt;/P&gt;&lt;P&gt;What i want is to go immediately to the starting selection screen.&lt;/P&gt;&lt;P&gt;This should have to do with the list index (or similar)...&lt;/P&gt;&lt;P&gt;How can i avoid that previous lists stay in buffer when i call the alv-module again?&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, Ingo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 21:54:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reuse-alv-grid-display-with-multiple-calls/m-p/9314141#M1727547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-08T21:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: function module reuse_alv_grid_display with multiple calls</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reuse-alv-grid-display-with-multiple-calls/m-p/9314142#M1727548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ingo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use the function code of the back button in your program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LEAVE LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN OTHERS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....other processing.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1245/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Mar 2013 12:55:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reuse-alv-grid-display-with-multiple-calls/m-p/9314142#M1727548</guid>
      <dc:creator>former_member491621</dc:creator>
      <dc:date>2013-03-09T12:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: function module reuse_alv_grid_display with multiple calls</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reuse-alv-grid-display-with-multiple-calls/m-p/9314143#M1727549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aniket!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;I've tried already leave to screen ...&lt;/P&gt;&lt;P&gt;but this doesn't work 'cause i'm using a three tabbed selection screen with three subscreens.&lt;/P&gt;&lt;P&gt;So my current code uses leave program but this isn't very comfortable &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'll try your suggestion on Monday (now it's Saturday) and let you know.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, Ingo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Mar 2013 14:50:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reuse-alv-grid-display-with-multiple-calls/m-p/9314143#M1727549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-09T14:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: function module reuse_alv_grid_display with multiple calls</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reuse-alv-grid-display-with-multiple-calls/m-p/9314144#M1727550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As your are using full screen ALV FM, let those manage the screen, in the user_command parameter there is a field to exit the FM, so back to previous screen, set it when managing "back" events. (Just read documentation of FM and the thousands of thread on the subject, RS_SELFIELD-EXIT = 'X'.) So when control will get back to your form, e.g. when clicking BACK on another call of th FM, the current ALV will close, leave to previous screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Mar 2013 19:09:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reuse-alv-grid-display-with-multiple-calls/m-p/9314144#M1727550</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-03-09T19:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: function module reuse_alv_grid_display with multiple calls</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reuse-alv-grid-display-with-multiple-calls/m-p/9314145#M1727551</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;Nothing of the suggested solutions works.&lt;/P&gt;&lt;P&gt;I think this has to do with the three tabbed subscreens i'm using.&lt;/P&gt;&lt;P&gt;I've found something that works:&lt;/P&gt;&lt;P&gt;At start of selection i'm using&lt;/P&gt;&lt;P&gt;function module RS_REFRESH_FROM_SELECTOPTIONS to save the inserted data.&lt;/P&gt;&lt;P&gt;If sy-ucomm is '&amp;amp;F03' i'm using&lt;/P&gt;&lt;P&gt;submit my current program with selection-table 'the saved data' &lt;/P&gt;&lt;P&gt;via selection-screen.&lt;/P&gt;&lt;P&gt;Not highend coding but it works &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks all for the ideas regarding this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, Ingo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Mar 2013 19:15:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-reuse-alv-grid-display-with-multiple-calls/m-p/9314145#M1727551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-03-11T19:15:15Z</dc:date>
    </item>
  </channel>
</rss>

