<?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: Clear Selection-Screen Fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-selection-screen-fields/m-p/968785#M69168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bogdan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think you can achieve this with a flag and export/import to SAP-memory:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;...
AT SELECTION-SCREEN OUTPUT.
  IMPORT back FROM MEMORY ID 'back'.
  IF back = 'X'.
*clear/refresh your sel-opt/param.
    refresh gjahr.
    CLEAR : gjahr , amount.
    CLEAR back.
    FREE MEMORY ID 'back'.
  ENDIF.

START-OF-SELECTION.
...
*end of your program
  back = 'X'.
  EXPORT back TO MEMORY ID 'back'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Aug 2005 06:47:09 GMT</pubDate>
    <dc:creator>andreas_mann3</dc:creator>
    <dc:date>2005-08-24T06:47:09Z</dc:date>
    <item>
      <title>Clear Selection-Screen Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-selection-screen-fields/m-p/968782#M69165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to clear the fields content from a selection-screen when  the user returns from report to sel.screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try in PBO for selection screen to clear all the fields, works fine but with one exception, when it is pressed Enter,&lt;/P&gt;&lt;P&gt;all the fields contents are empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you  &lt;/P&gt;&lt;P&gt;Bogdan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2005 06:12:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-selection-screen-fields/m-p/968782#M69165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-24T06:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Clear Selection-Screen Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-selection-screen-fields/m-p/968783#M69166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope u will return from report to selection screen using leave screen or set screen .&lt;/P&gt;&lt;P&gt;if it so b4 this u clear those selection fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regs&lt;/P&gt;&lt;P&gt;gv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2005 06:16:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-selection-screen-fields/m-p/968783#M69166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-24T06:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Clear Selection-Screen Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-selection-screen-fields/m-p/968784#M69167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;at selection-screen output&amp;lt;/b&amp;gt; clear the fields with clear statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2005 06:20:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-selection-screen-fields/m-p/968784#M69167</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-08-24T06:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Clear Selection-Screen Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-selection-screen-fields/m-p/968785#M69168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bogdan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think you can achieve this with a flag and export/import to SAP-memory:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;...
AT SELECTION-SCREEN OUTPUT.
  IMPORT back FROM MEMORY ID 'back'.
  IF back = 'X'.
*clear/refresh your sel-opt/param.
    refresh gjahr.
    CLEAR : gjahr , amount.
    CLEAR back.
    FREE MEMORY ID 'back'.
  ENDIF.

START-OF-SELECTION.
...
*end of your program
  back = 'X'.
  EXPORT back TO MEMORY ID 'back'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2005 06:47:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-selection-screen-fields/m-p/968785#M69168</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-08-24T06:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Clear Selection-Screen Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-selection-screen-fields/m-p/968786#M69169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry i didnt get the question fully, i think the only way you can achieve is thru what Andreas has given&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2005 07:08:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-selection-screen-fields/m-p/968786#M69169</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-08-24T07:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Clear Selection-Screen Fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clear-selection-screen-fields/m-p/968787#M69170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It's better to clear your fields after INITIALIZATION event. It's started only once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2005 07:12:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clear-selection-screen-fields/m-p/968787#M69170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-24T07:12:03Z</dc:date>
    </item>
  </channel>
</rss>

