<?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 Selection Screen with Free memory in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-with-free-memory/m-p/9071304#M1703465</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;Well, the use of free memory statement without the ID has been flagged obsolete for this sole reason of beeing quite "dangerous"... Apart from that, it only concerns the memory shared by objects from the same internal session, so I'd say if you are not running another program at the same time that uses an export/import statement, you should not be in trouble &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1050/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway there should be a more convenient way of doing this! I'll keep it posted if I have a better idea...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Oct 2012 18:56:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-10-29T18:56:40Z</dc:date>
    <item>
      <title>Refresh Selection Screen with Free memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-with-free-memory/m-p/9071303#M1703464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurus.......I am searching for a routine which will refresh my selection fields by returning from a report display.&amp;nbsp; I have tried all sorts of various alternatives, but have found only one which works and that is:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0063a4; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS : &amp;lt;fs1&amp;gt; .&lt;/P&gt;&lt;P&gt;ASSIGN ('(RSDBRUNT)MEMKEY-INT_MODE') TO &amp;lt;fs1&amp;gt; .&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0 .&lt;/P&gt;&lt;P&gt; &amp;lt;FS1&amp;gt; = '01' .&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, it works for me and not the users.&amp;nbsp; Kind of strange, but I started to use FREE MEMORY instead.&amp;nbsp; FREE MEMORY seems to work for muself and the users, but I'm concerned that it will free the memory for another ABAP program running at the same time.&amp;nbsp; Is FREE MEMORY fine to use without worrying about it ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks, Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 18:15:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-with-free-memory/m-p/9071303#M1703464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-29T18:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Selection Screen with Free memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-with-free-memory/m-p/9071304#M1703465</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;Well, the use of free memory statement without the ID has been flagged obsolete for this sole reason of beeing quite "dangerous"... Apart from that, it only concerns the memory shared by objects from the same internal session, so I'd say if you are not running another program at the same time that uses an export/import statement, you should not be in trouble &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1050/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway there should be a more convenient way of doing this! I'll keep it posted if I have a better idea...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 18:56:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-with-free-memory/m-p/9071304#M1703465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-29T18:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Selection Screen with Free memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-with-free-memory/m-p/9071305#M1703466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manu.....Thanks for your contribution....I decided not to use FREE MEMORY after all.&amp;nbsp; I bit the bullet and created my own PF-STATUS and with the BACK button being defined as 'BK1' I coded the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;END-OF-SELECTION.&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 'BK1'.&lt;/P&gt;&lt;P&gt;LEAVE TO TRANSACTION 'ZSTOCKTOSTALE'.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works like a charm for refreshing the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 19:16:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-with-free-memory/m-p/9071305#M1703466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-29T19:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Selection Screen with Free memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-with-free-memory/m-p/9071306#M1703467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls use clear statement to clear selection screen input values before(after) going to display report.&lt;/P&gt;&lt;P&gt;I think this will solve your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 19:23:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-with-free-memory/m-p/9071306#M1703467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-29T19:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Selection Screen with Free memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-with-free-memory/m-p/9071307#M1703468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yup why not! &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1050/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I was thinking about another way of doing it by using load-of-program event and import/export statement. With proper usage of rs_refresh_from_selectoptions fm, you could clear dynamically your ss fields under at-selection screen output event.. this way no need of custom pf-status or resubmission.. but your solution is definitly quicker! &lt;SPAN __jive_emoticon_name="laugh" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1050/images/emoticons/laugh.gif"&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kr,&lt;/P&gt;&lt;P&gt;Manu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 19:27:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-with-free-memory/m-p/9071307#M1703468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-29T19:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Selection Screen with Free memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-with-free-memory/m-p/9071308#M1703469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Manu....That looks like another way to do it as well !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 20:54:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-with-free-memory/m-p/9071308#M1703469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-29T20:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Selection Screen with Free memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-with-free-memory/m-p/9071309#M1703470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shravan.....Seems like I tried many variations of clearing the values, but they wouldn't work.&amp;nbsp; The problem seems to be that the selection values are stored in memory.&amp;nbsp; After the report is displayed, the selction screen values from memory are brought back in.&amp;nbsp; I tried clearing them "AT SELECTION SCREEN OUTPUT", but the problem with this is that if the user would hit the "ENTER" key after entering some values, then they get wiped out again as "AT SELECTION SCREEN OUTPUT" is triggered again.&amp;nbsp; This is why the FREE MEMORY was so attractive to use !!&amp;nbsp;&amp;nbsp; However, my current solution will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your contribution,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 21:18:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-with-free-memory/m-p/9071309#M1703470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-29T21:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Selection Screen with Free memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-with-free-memory/m-p/9071310#M1703471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mike, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why don't you clear them at end of event end-of-selection. I think this is simple way of doing this instead of creating pf-status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Shravan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 13:10:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-with-free-memory/m-p/9071310#M1703471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-30T13:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Selection Screen with Free memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-with-free-memory/m-p/9071311#M1703472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shravan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried clearing the selection screen values at end-of-selection event, but when you press the 'back' button after displaying the report the selection screen with values from memory will overlay what I just cleared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried cearing the values with PARAMETER ID's, but this didn't work either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to somehow clear the memory where the selection values are stored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mike&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 15:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-with-free-memory/m-p/9071311#M1703472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-30T15:01:31Z</dc:date>
    </item>
  </channel>
</rss>

