<?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: Retain Selection-Screen Values in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/retain-selection-screen-values/m-p/4708027#M1106115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Not sure if anything supported by SAP to persist values of selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I think this can be acheived using IMPORT/EXPORT statement.&lt;/P&gt;&lt;P&gt;In INITIALIZATION event use IMPORT to retrieve values from memory&lt;/P&gt;&lt;P&gt;and in START-OF-SELECTION event use EXPORT to write values to memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vishal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Nov 2008 11:37:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-04T11:37:55Z</dc:date>
    <item>
      <title>Retain Selection-Screen Values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retain-selection-screen-values/m-p/4708023#M1106111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;After executing a report, output list is generated .Now upon clicking on the 'Back' button the selection screen is reached with blank values.... May i know if there is any way we can retain the selection screen values which we submitted to the program before executing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No "defalut"  values are allowed as any variant can be selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly Advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 11:26:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retain-selection-screen-values/m-p/4708023#M1106111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T11:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Retain Selection-Screen Values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retain-selection-screen-values/m-p/4708024#M1106112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;check out if there is any event in reporting .. like after processing ...&lt;/P&gt;&lt;P&gt;if yes u can go ahead and write ur logic there..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 11:29:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retain-selection-screen-values/m-p/4708024#M1106112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T11:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Retain Selection-Screen Values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retain-selection-screen-values/m-p/4708025#M1106113</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;try using memory id or matchcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 11:33:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retain-selection-screen-values/m-p/4708025#M1106113</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2008-11-04T11:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Retain Selection-Screen Values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retain-selection-screen-values/m-p/4708026#M1106114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi R.p.&lt;/P&gt;&lt;P&gt;There is no need of any code to hold the values in the seelctuon screen when you come back, have you tested your code.&lt;/P&gt;&lt;P&gt;Usually when we give the values in the selection screen and execute the program and click back the values are holded in the parameters or select options names workarea.&lt;/P&gt;&lt;P&gt;If you can show your code then we can find the bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!1&lt;/P&gt;&lt;P&gt;VEnk@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 11:34:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retain-selection-screen-values/m-p/4708026#M1106114</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T11:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Retain Selection-Screen Values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retain-selection-screen-values/m-p/4708027#M1106115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Not sure if anything supported by SAP to persist values of selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I think this can be acheived using IMPORT/EXPORT statement.&lt;/P&gt;&lt;P&gt;In INITIALIZATION event use IMPORT to retrieve values from memory&lt;/P&gt;&lt;P&gt;and in START-OF-SELECTION event use EXPORT to write values to memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vishal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 11:37:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retain-selection-screen-values/m-p/4708027#M1106115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T11:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Retain Selection-Screen Values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retain-selection-screen-values/m-p/4708028#M1106116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use MEMORY-ID to store the values of selection screen. Selection screen values will always be lost because it hits the INITIALIZATION event when you press back button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jayant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 11:40:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retain-selection-screen-values/m-p/4708028#M1106116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T11:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Retain Selection-Screen Values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retain-selection-screen-values/m-p/4708029#M1106117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jayanth,&lt;/P&gt;&lt;P&gt;I've checked few programs which are retaining the sel-screen values but i didnt find any usage of Memory Id concepts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wondering if this is any GUI related and session independent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly Advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 11:45:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retain-selection-screen-values/m-p/4708029#M1106117</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T11:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Retain Selection-Screen Values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retain-selection-screen-values/m-p/4708030#M1106118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can just use "EXPORT TO MEMORY-ID ..." just after your START-OF-SELECTION event to store the selection screen vaules in a memory ID and in the INITIALIZATION event use 'EXPORT FROM MEMORY-ID .." to get the value from memory id and again assign it to the selection screen parameter defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give it a try. Has worked for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jayant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 11:52:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retain-selection-screen-values/m-p/4708030#M1106118</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T11:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Retain Selection-Screen Values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/retain-selection-screen-values/m-p/4708031#M1106119</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;do this on leaving:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: g_sel_tab TYPE TABLE OF rsparams.&lt;/P&gt;&lt;P&gt; ...&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      curr_report           = sy-repid&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      selection_table       = g_sel_tab&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     not_found             = 1&lt;/P&gt;&lt;P&gt;     no_report             = 2&lt;/P&gt;&lt;P&gt;     OTHERS                = 3&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF sy-subrc is INITIAL.&lt;/P&gt;&lt;P&gt;    SUBMIT (sy-repid) WITH SELECTION-TABLE g_sel_tab VIA SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Walter Habich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2008 12:52:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/retain-selection-screen-values/m-p/4708031#M1106119</guid>
      <dc:creator>former_member435013</dc:creator>
      <dc:date>2008-11-27T12:52:38Z</dc:date>
    </item>
  </channel>
</rss>

