<?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: Check All select-options NOT initial ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-all-select-options-not-initial/m-p/6019582#M1347411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Siddarth,&lt;/P&gt;&lt;P&gt;Yes this will also work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but Loop at screen will not work in start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 Aug 2009 23:19:07 GMT</pubDate>
    <dc:creator>former_member194669</dc:creator>
    <dc:date>2009-08-23T23:19:07Z</dc:date>
    <item>
      <title>Check All select-options NOT initial ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-all-select-options-not-initial/m-p/6019579#M1347408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have report with 269 fields select-options inputs. I need to check any select-options have any value or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know each select-option have is initial or not &lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if not s_matnr[] is initial
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not want to check each input field as initial or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other easy way do this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Aug 2009 21:50:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-all-select-options-not-initial/m-p/6019579#M1347408</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-08-23T21:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Check All select-options NOT initial ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-all-select-options-not-initial/m-p/6019580#M1347409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  call function 'RS_REFRESH_FROM_SELECTOPTIONS'
    exporting
      curr_report     = v_program
    tables
      selection_table = i_seltab
    exceptions
      not_found       = 1
      no_report       = 2.
loop at i_seltab.
   if not i_seltab-low is initial.
    v_not_initial = c_x.
   endif.
endloop.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Aug 2009 22:52:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-all-select-options-not-initial/m-p/6019580#M1347409</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-08-23T22:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Check All select-options NOT initial ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-all-select-options-not-initial/m-p/6019581#M1347410</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;you can do that in two ways,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;firstly use OBLIGATORY Addition with the select-option declaration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA w_c TYPE char20.
SELECT-OPTIONS : s_matnr FOR w_c OBLIGATORY.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                     OR Use this method using field-symbols.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA w_c TYPE char20.
SELECT-OPTIONS : s_matnr FOR w_c.

FIELD-SYMBOLS: &amp;lt;fs&amp;gt; TYPE ANY.
DATA w_string TYPE string.

AT SELECTION-SCREEN.
  LOOP AT SCREEN.
    IF screen-name CS '-LOW'.
      w_string = screen-name.
      REPLACE '-LOW' IN w_string WITH space.
      ASSIGN (w_string) TO &amp;lt;fs&amp;gt;.
      IF &amp;lt;fs&amp;gt; IS ASSIGNED.
        IF &amp;lt;fs&amp;gt; IS INITIAL.
          " WRITE YOUR LOGIC...........
        ELSE.
          " WRITE YOUR LOGIC...........
        ENDIF.
      ENDIF.
    ENDIF.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Aug 2009 23:06:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-all-select-options-not-initial/m-p/6019581#M1347410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-23T23:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Check All select-options NOT initial ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-all-select-options-not-initial/m-p/6019582#M1347411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Siddarth,&lt;/P&gt;&lt;P&gt;Yes this will also work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but Loop at screen will not work in start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Aug 2009 23:19:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-all-select-options-not-initial/m-p/6019582#M1347411</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-08-23T23:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Check All select-options NOT initial ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-all-select-options-not-initial/m-p/6019583#M1347412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought you wanted that in AT Selection-screen itself.... anyways nice solution using the FM... thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Aug 2009 23:47:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-all-select-options-not-initial/m-p/6019583#M1347412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-23T23:47:16Z</dc:date>
    </item>
  </channel>
</rss>

