<?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: Selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1576120#M260131</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi chandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; im using the same function module....&lt;/P&gt;&lt;P&gt;the "inclusive" columns in the multiple selection screen of the select option should not appear....&lt;/P&gt;&lt;P&gt;iwant to kno the elements i need to pass to the parameter "restrict"..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;MAdan....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Sep 2006 11:16:00 GMT</pubDate>
    <dc:creator>madan_ullasa</dc:creator>
    <dc:date>2006-09-18T11:16:00Z</dc:date>
    <item>
      <title>Selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1576116#M260127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi frnds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; i have a requirement to, not to display the included values ( the green color ) in the multiple selection screen of the select option. i have found the type pools for it.. but im not able to figure out the element to be used. the type pools is SSCR...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;points assured to all replies...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Madan....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 11:08:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1576116#M260127</guid>
      <dc:creator>madan_ullasa</dc:creator>
      <dc:date>2006-09-18T11:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1576117#M260128</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;Sorry misunderstood your req earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here it is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module &amp;lt;b&amp;gt;SELECT_OPTIONS_RESTRICT &amp;lt;/b&amp;gt;allows you to restrict the set of selection options available for a SELECT-OPTION (for example, only single values and patterns, i.e. 'EQ' and 'CP' are allowed). You can also forbid the leading sign 'E' (= 'Exclude from selection'). This means that you can considerably restrict the selections which can be entered on the selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rajasekhar Dinavahi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 11:10:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1576117#M260128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-18T11:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1576118#M260129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Madan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Chk this FM 'SELECT_OPTIONS_RESTRICT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; in the documentation of this FM , there is one program , that may help u&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Chandrasekhar Jagarlamudi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 11:10:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1576118#M260129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-18T11:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1576119#M260130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   try below FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SELECT_OPTION_OPTIONS     &lt;/P&gt;&lt;P&gt;SELECT_OPTIONS_APPLY      &lt;/P&gt;&lt;P&gt;SELECT_OPTIONS_PROVIDE    &lt;/P&gt;&lt;P&gt;SELECT_OPTIONS_RESTRICT   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 11:14:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1576119#M260130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-18T11:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1576120#M260131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi chandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; im using the same function module....&lt;/P&gt;&lt;P&gt;the "inclusive" columns in the multiple selection screen of the select option should not appear....&lt;/P&gt;&lt;P&gt;iwant to kno the elements i need to pass to the parameter "restrict"..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;MAdan....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 11:16:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1576120#M260131</guid>
      <dc:creator>madan_ullasa</dc:creator>
      <dc:date>2006-09-18T11:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1576121#M260132</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;Check this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR FS_OPT_LIST.&lt;/P&gt;&lt;P&gt;  MOVE 'S_AISLE'  TO: FS_OPT_LIST-NAME.&lt;/P&gt;&lt;P&gt;  MOVE 'X'        TO: FS_OPT_LIST-OPTIONS-BT,&lt;/P&gt;&lt;P&gt;                      FS_OPT_LIST-OPTIONS-EQ.&lt;/P&gt;&lt;P&gt;  APPEND FS_OPT_LIST TO IT_RESTRICT-OPT_LIST_TAB.&lt;/P&gt;&lt;P&gt;  CLEAR FS_ASS.&lt;/P&gt;&lt;P&gt;  MOVE: 'A'       TO FS_ASS-KIND,&lt;/P&gt;&lt;P&gt;        'I'       TO FS_ASS-SG_MAIN,&lt;/P&gt;&lt;P&gt;        'S_AISLE' TO FS_ASS-OP_MAIN.&lt;/P&gt;&lt;P&gt;  APPEND FS_ASS TO IT_RESTRICT-ASS_TAB.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            RESTRICTION = IT_RESTRICT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 11:18:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1576121#M260132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-18T11:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1576122#M260133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;    use below logic &lt;/P&gt;&lt;P&gt;     CLEAR wa_optlist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA i_restrict  TYPE sscr_restrict.&lt;/P&gt;&lt;P&gt;DATA wa_optlist  TYPE sscr_opt_list.&lt;/P&gt;&lt;P&gt;DATA wa_assoc    TYPE sscr_ass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;JUST_EQ: Only EQ allowed&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CLEAR wa_optlist.&lt;/P&gt;&lt;P&gt;  MOVE 'JUST_EQ' TO wa_optlist-NAME.&lt;/P&gt;&lt;P&gt;  MOVE 'X'       TO wa_optlist-OPTIONS-EQ.&lt;/P&gt;&lt;P&gt;  APPEND wa_optlist TO i_restrict-OPT_LIST_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;KIND = 'S': applies to SELECT-OPTION s_dtysaf&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CLEAR wa_assoc.&lt;/P&gt;&lt;P&gt;  MOVE: 'S'        TO wa_assoc-KIND,&lt;/P&gt;&lt;P&gt;        'S_DTYSAF' TO wa_assoc-NAME,&lt;/P&gt;&lt;P&gt;        'I'        TO wa_assoc-SG_MAIN,&lt;/P&gt;&lt;P&gt;        ' '        TO wa_assoc-SG_ADDY,&lt;/P&gt;&lt;P&gt;        'JUST_EQ'  TO wa_assoc-OP_MAIN,&lt;/P&gt;&lt;P&gt;        'JUST_EQ'  TO wa_assoc-OP_ADDY.&lt;/P&gt;&lt;P&gt;  APPEND wa_assoc  TO i_restrict-ASS_TAB.&lt;/P&gt;&lt;P&gt;  MOVE  'S_DTYREG' TO wa_assoc-name.&lt;/P&gt;&lt;P&gt;  APPEND wa_assoc  TO i_restrict-ASS_TAB.&lt;/P&gt;&lt;P&gt;  MOVE  'S_DTYDEP' TO wa_assoc-name.&lt;/P&gt;&lt;P&gt;  APPEND wa_assoc  TO i_restrict-ASS_TAB.&lt;/P&gt;&lt;P&gt;  MOVE  'S_DTYBNK' TO wa_assoc-name.&lt;/P&gt;&lt;P&gt;  APPEND wa_assoc  TO i_restrict-ASS_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;activate the restriction:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            RESTRICTION = i_restrict.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also check program RSVTPF01 &lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 11:21:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1576122#M260133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-18T11:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1576123#M260134</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;Look at the sample program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report sample.
tables: usr02.
type-pools: sscr.
select-options: usrbnam for usr02-bname no intervals,
                creator for usr02-aname no intervals.
data: restrict type sscr_restrict,
      opt_list type sscr_opt_list,
      ass      type sscr_ass.

initialization.
  clear: opt_list.
  opt_list-name = 'EQAL'.
  opt_list-options-eq = 'X'.
  append opt_list to restrict-opt_list_tab.

  clear: ass.
  ass-kind = 'S'.
  ass-name = 'USRBNAM'.
  ass-sg_main = 'I'.
  ass-sg_addy = ' '.
  ass-op_main = 'EQAL'.
  ass-op_addy = 'EQAL'.
  append ass to restrict-ass_tab.

  call function 'SELECT_OPTIONS_RESTRICT'
       exporting
            restriction            = restrict
       exceptions
            too_late               = 1
            repeated               = 2
            selopt_without_options = 3
            selopt_without_signs   = 4
            invalid_sign           = 5
            empty_option_list      = 6
            invalid_kind           = 7
            repeated_kind_a        = 8
            others                 = 9.
  if sy-subrc &amp;lt;&amp;gt; 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  endif.

start-of-selection.
  select * from usr02 where bname in usrbnam
                        and aname in creator.
    write: / usr02-bname, usr02-aname.
  endselect.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look at the below link for more examples:&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap4.com/wiki/index.php?title=SELECT_OPTIONS_RESTRICT" target="test_blank"&gt;http://sap4.com/wiki/index.php?title=SELECT_OPTIONS_RESTRICT&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/how-to-restrict-the-select-options.htm" target="test_blank"&gt;http://www.sap-img.com/abap/how-to-restrict-the-select-options.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2006 11:21:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1576123#M260134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-18T11:21:37Z</dc:date>
    </item>
  </channel>
</rss>

