<?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 clearing screen elements at a time in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/clearing-screen-elements-at-a-time/m-p/3132815#M744315</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                  can i have a technique by which i can clear all the screen elements at a time. I mean to reset that screen elements. &lt;/P&gt;&lt;P&gt;One option i have is to call that transaction once again but that has its own limit i,e 6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;other is to manually clear it as many elements we have like p_matnr = ' ',p_mtart = ' '. but it takes time. Can i have a technique which can clear all the elements in a screen at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Dec 2007 08:50:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-06T08:50:52Z</dc:date>
    <item>
      <title>clearing screen elements at a time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clearing-screen-elements-at-a-time/m-p/3132815#M744315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                  can i have a technique by which i can clear all the screen elements at a time. I mean to reset that screen elements. &lt;/P&gt;&lt;P&gt;One option i have is to call that transaction once again but that has its own limit i,e 6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;other is to manually clear it as many elements we have like p_matnr = ' ',p_mtart = ' '. but it takes time. Can i have a technique which can clear all the elements in a screen at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 08:50:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clearing-screen-elements-at-a-time/m-p/3132815#M744315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-06T08:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: clearing screen elements at a time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/clearing-screen-elements-at-a-time/m-p/3132816#M744316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try to do this in the Process Before Output or AT SELECTION-SCREEN OUPUT block :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ZCLRSEL.
TABLES: mara.
PARAMETER para LIKE mara-matnr.
SELECT-OPTIONS selo FOR mara-matnr.

FIELD-SYMBOLS: &amp;lt;fs&amp;gt; TYPE ANY,
               &amp;lt;so&amp;gt; TYPE ANY TABLE.

DATA: fieldname LIKE screen-name,
      dummy.

AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    CHECK screen-input = 1. " only input fields
    IF screen-name CS '-LOW' " SELECT-OPTIONS
    OR screen-name CS '-HICH'.
      SPLIT screen-name AT '-' INTO fieldname dummy.
      CONCATENATE fieldname '[]' INTO fieldname.
      ASSIGN (fieldname) TO &amp;lt;so&amp;gt;.
      REFRESH &amp;lt;so&amp;gt;.
    ELSE. " single PARAMETERS
      fieldname = screen-name.
      ASSIGN (fieldname) TO &amp;lt;fs&amp;gt;.
      CLEAR &amp;lt;fs&amp;gt;.
    ENDIF.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 09:11:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/clearing-screen-elements-at-a-time/m-p/3132816#M744316</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-12-06T09:11:06Z</dc:date>
    </item>
  </channel>
</rss>

