<?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 (select-options) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-select-options/m-p/11163993#M1907735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,solved my problem.&lt;/P&gt;&lt;P&gt;Just curious to know, can the same be achieved from FM &lt;SPAN style="color: #333333; font-size: 12px;"&gt;RS_SELECTIONSCREEN_UPDATE .If yes then how?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2015 11:29:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-06-30T11:29:26Z</dc:date>
    <item>
      <title>Refresh selection screen (select-options)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-select-options/m-p/11163987#M1907729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please guide me on this: i have a selection screen with few fixed select-options and few dynamic options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to clear all selection screen variables .&lt;/P&gt;&lt;P&gt;I am reading all selection screen variables using FM&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'RS_REFRESH_FROM_SELECTOPTIONS'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curr_report&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;repid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;TABLES&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; selection_table &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;itab1&lt;SPAN class="L0S55"&gt;. -&amp;gt; all variables got in itab1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Now, i want to clear all select-options and parameter which are captured in itab1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;i saw somewhere that FM&amp;nbsp; RS_SELECTIONSCREEN_UPDATE can be used for this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;But i tried .may be i am mistaken somewhere. Please guide me if this is the right FM to refresh selection screen variables and if yes how to use it?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 10:19:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-select-options/m-p/11163987#M1907729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-30T10:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh selection screen (select-options)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-select-options/m-p/11163988#M1907730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhishek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By clear you mean erase all the data in the select option right? Did you try REFRESH itab1[] and see if it is refreshed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;~Athreya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 10:25:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-select-options/m-p/11163988#M1907730</guid>
      <dc:creator>former_member185613</dc:creator>
      <dc:date>2015-06-30T10:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh selection screen (select-options)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-select-options/m-p/11163989#M1907731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abhishek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why can't we try with simple clear statement once you fill the selection screen data in Itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check whether Itab is initial or not initial.depending on this you can simply write the statement clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear : P_var1,s_var1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 10:25:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-select-options/m-p/11163989#M1907731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-30T10:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh selection screen (select-options)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-select-options/m-p/11163990#M1907732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;itab1[] contains names of variables only. not the exact values that user entered on selection screen.&lt;/P&gt;&lt;P&gt;So, refreshing itab1 not serves any purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose there are 5 &lt;SPAN style="font-size: 13.3333330154419px;"&gt;select-options &lt;SPAN style="font-size: 13.3333330154419px;"&gt;select-options are there on selection screen:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;select-options1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;select-option2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;select-options3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;select-options4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;select-options5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User entered multiple values (say 50) in each of them. now itab1 will only contain 5 values i.e name of selection screen variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 10:30:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-select-options/m-p/11163990#M1907732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-30T10:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh selection screen (select-options)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-select-options/m-p/11163991#M1907733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't write p_var1 or s_var1 because most of the selection screen variables are dynamically created.so at run time i dont know their names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That why i am using FM :&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;'RS_REFRESH_FROM_SELECTOPTIONS'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;EXPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; curr_report&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;repid&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;TABLES&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; selection_table &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;= &lt;/SPAN&gt;itab1&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;. -&amp;gt; all variables got in itab1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;Now , itab1 containes all the variable names and now i need to refresh each variable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;something like this,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;loop at itab1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;refresh(itab1-selname). =&amp;gt; itab1-selname will contain the name of select-option S_VAR1 so i need to write something like Clear S_VAR1[]. dynamically!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;endloop.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 10:33:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-select-options/m-p/11163991#M1907733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-30T10:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh selection screen (select-options)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-select-options/m-p/11163992#M1907734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN class="L0S52"&gt;SELECT-OPTIONS&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;s_uname &lt;SPAN class="L0S52"&gt;FOR &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;uname&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;l_string &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;string&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="L0S52"&gt;FIELD-SYMBOLS&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;&amp;lt;dyn&amp;gt; &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;any&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;l_string &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'s_uname' &lt;/SPAN&gt;&amp;amp;&amp;amp; &lt;SPAN class="L0S33"&gt;'[]'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="L0S52"&gt;ASSIGN &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;l_string&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;&amp;lt;dyn&amp;gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="L0S52"&gt;CLEAR &lt;/SPAN&gt;&amp;lt;dyn&amp;gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 10:52:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-select-options/m-p/11163992#M1907734</guid>
      <dc:creator>Tomas_Buryanek</dc:creator>
      <dc:date>2015-06-30T10:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh selection screen (select-options)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-select-options/m-p/11163993#M1907735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,solved my problem.&lt;/P&gt;&lt;P&gt;Just curious to know, can the same be achieved from FM &lt;SPAN style="color: #333333; font-size: 12px;"&gt;RS_SELECTIONSCREEN_UPDATE .If yes then how?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 11:29:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-select-options/m-p/11163993#M1907735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-30T11:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh selection screen (select-options)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-select-options/m-p/11163994#M1907736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is used only for F4 events on selection screen. According to FM documentation and where-used list:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;This function module allows you to supply values to any fields of the&lt;/P&gt;
&lt;P&gt;standard selection screen in the&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;AT SELECTION-SCREEN ON VALUE REQUEST&lt;/STRONG&gt;.... event.&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 11:57:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/refresh-selection-screen-select-options/m-p/11163994#M1907736</guid>
      <dc:creator>Tomas_Buryanek</dc:creator>
      <dc:date>2015-06-30T11:57:30Z</dc:date>
    </item>
  </channel>
</rss>

