<?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: Clearing the selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/clearing-the-selection-screen/m-p/12736560#M2020802</link>
    <description>&lt;P&gt;providing the code would be easier to check the root problem&lt;/P&gt;</description>
    <pubDate>Mon, 29 May 2023 09:46:43 GMT</pubDate>
    <dc:creator>xiswanto</dc:creator>
    <dc:date>2023-05-29T09:46:43Z</dc:date>
    <item>
      <title>Clearing the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clearing-the-selection-screen/m-p/12736558#M2020800</link>
      <description>&lt;P&gt;Hi . I have a transaction for my report and I have designed the screen using module pool screen for selection option. Whenever I enter to transaction it shows the previous entered data I have cleared my work area also I am unable to clear my field in my transaction could any one help me to clear the field value initially and only enter manual data &lt;/P&gt;
  &lt;P&gt;Thanks &lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 09:14:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clearing-the-selection-screen/m-p/12736558#M2020800</guid>
      <dc:creator>madhuchandan</dc:creator>
      <dc:date>2023-05-29T09:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clearing-the-selection-screen/m-p/12736559#M2020801</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;madhuchandan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You can use the following code to clear the screen in ABAP:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLEAR: wa_field1, wa_field2.
&lt;/CODE&gt;&lt;/PRE&gt;Copy&lt;P&gt;This will clear the values of the fields &lt;CODE&gt;wa_field1&lt;/CODE&gt; and &lt;CODE&gt;wa_field2&lt;/CODE&gt;. You can replace these fields with the fields you want to clear&lt;A href="https://answers.sap.com/questions/2685800/clear-screen.html" target="_blank"&gt;&lt;SUP&gt;1&lt;/SUP&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;To clear the field value initially, you can set the initial value for the field in the module pool screen. You can also use the following code to clear the field value:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLEAR: wa_field.
&lt;/CODE&gt;&lt;/PRE&gt;Copy&lt;P&gt;This will clear the value of the field &lt;CODE&gt;wa_field&lt;/CODE&gt;. You can replace this field with the field you want to clear&lt;A href="https://wiki.scn.sap.com/wiki/display/ABAP/Transaction+and+Screen+variants" target="_blank"&gt;&lt;SUP&gt;2&lt;/SUP&gt;&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 09:44:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clearing-the-selection-screen/m-p/12736559#M2020801</guid>
      <dc:creator>Yogananda</dc:creator>
      <dc:date>2023-05-29T09:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clearing-the-selection-screen/m-p/12736560#M2020802</link>
      <description>&lt;P&gt;providing the code would be easier to check the root problem&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 09:46:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clearing-the-selection-screen/m-p/12736560#M2020802</guid>
      <dc:creator>xiswanto</dc:creator>
      <dc:date>2023-05-29T09:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clearing-the-selection-screen/m-p/12736561#M2020803</link>
      <description>&lt;P&gt;You could dynamically in event &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abapinitialization.htm"&gt;INITIALIZATION&lt;/A&gt; or &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abapat_selection-screen_events.htm#!ABAP_ALTERNATIVE_1@1@"&gt;AT SELECTION-SCREEN OUTPUT&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;Read current content of selection-screen using FM RS_REFRESH_FROM_SELECTOPTIONS&lt;/LI&gt;&lt;LI&gt;Loop at returned values and &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abapclear.htm"&gt;CLEAR&lt;/A&gt; &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abapparameters.htm"&gt;parameters&lt;/A&gt;  fields (kind = 'P') and &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abapselect-options.htm"&gt;select-options&lt;/A&gt; (kind = 'S') internal range tables, in second case use selecrit[] /or/ even use FM RS_SELECTIONSCREEN_UPDATE)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;NB: But check also, why those data are persistent, are some parameters or select options carrying a &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abapparameters_value.htm#!ABAP_ADDITION_4@4@"&gt;MEMORY ID pid&lt;/A&gt; (in this case remove this option, or insure your program doersn't change their values, saving values at start of program, and restoring those at end)&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 10:53:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clearing-the-selection-screen/m-p/12736561#M2020803</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2023-05-29T10:53:25Z</dc:date>
    </item>
  </channel>
</rss>

