<?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: SELECT_OPTIONS_RESTRICT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-restrict/m-p/3410281#M819030</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;did u try like dis........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data date type dats.
select-options s_date for date no-EXTENSION NO INTERVALS.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;jose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Feb 2008 04:47:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-23T04:47:12Z</dc:date>
    <item>
      <title>SELECT_OPTIONS_RESTRICT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-restrict/m-p/3410278#M819027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all. &lt;/P&gt;&lt;P&gt;In a select option I want to allow the user to select only single values, &lt;/P&gt;&lt;P&gt;i.e. no ranges, as included values (green values) and as excluded values &lt;/P&gt;&lt;P&gt;(red values) in the same select-option &lt;/P&gt;&lt;P&gt;I was able to do it for the include values, but I couldn't figure out to do &lt;/P&gt;&lt;P&gt;the exclude. &lt;/P&gt;&lt;P&gt;Does anybody know what is the correct way to use the FM &lt;/P&gt;&lt;P&gt;SELECT_OPTIONS_RESTRICT to do it? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Feb 2008 04:42:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-restrict/m-p/3410278#M819027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-23T04:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT_OPTIONS_RESTRICT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-restrict/m-p/3410279#M819028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi rupesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do this way ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options : s_vbeln like vbak-vbeln &lt;STRONG&gt;no intervals no-extension&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to this related thread&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2964315"&gt;&lt;/A&gt;;&amp;amp;#57179;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Santosh Kumar Patha on Feb 23, 2008 10:18 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Feb 2008 04:44:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-restrict/m-p/3410279#M819028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-23T04:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT_OPTIONS_RESTRICT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-restrict/m-p/3410280#M819029</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;REPORT selectoptionsrestrict. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Include type pool SSCR &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TYPE-POOLS sscr. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES : &lt;/P&gt;&lt;P&gt;marc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;defining the selection-screen &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;select-options : &lt;/P&gt;&lt;P&gt;s_matnr for marc-matnr, &lt;/P&gt;&lt;P&gt;s_werks for marc-werks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Define the object to be passed to the RESTRICTION parameter &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA restrict TYPE sscr_restrict. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Auxiliary objects for filling RESTRICT &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA : optlist TYPE sscr_opt_list, &lt;/P&gt;&lt;P&gt;ass type sscr_ass. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Restricting the MATNR selection to only EQ and 'BT'. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;optlist-name = 'OBJECTKEY1'. &lt;/P&gt;&lt;P&gt;optlist-options-eq = 'X'. &lt;/P&gt;&lt;P&gt;optlist-options-bt = 'X'. &lt;/P&gt;&lt;P&gt;APPEND optlist TO restrict-opt_list_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ass-kind = 'S'. &lt;/P&gt;&lt;P&gt;ass-name = 'S_MATNR'. &lt;/P&gt;&lt;P&gt;ass-sg_main = 'I'. &lt;/P&gt;&lt;P&gt;ass-sg_addy = space. &lt;/P&gt;&lt;P&gt;ass-op_main = 'OBJECTKEY1'. &lt;/P&gt;&lt;P&gt;APPEND ass TO 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;Restricting the WERKS selection to CP, GE, LT, NE. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;optlist-name = 'OBJECTKEY2'. &lt;/P&gt;&lt;P&gt;optlist-options-cp = 'X'. &lt;/P&gt;&lt;P&gt;optlist-options-ge = 'X'. &lt;/P&gt;&lt;P&gt;optlist-options-lt = 'X'. &lt;/P&gt;&lt;P&gt;optlist-options-ne = 'X'. &lt;/P&gt;&lt;P&gt;APPEND optlist TO restrict-opt_list_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ass-kind = 'S'. &lt;/P&gt;&lt;P&gt;ass-name = 'S_WERKS'. &lt;/P&gt;&lt;P&gt;ass-sg_main = 'I'. &lt;/P&gt;&lt;P&gt;ass-sg_addy = space. &lt;/P&gt;&lt;P&gt;ass-op_main = 'OBJECTKEY2'. &lt;/P&gt;&lt;P&gt;APPEND ass TO 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 = restrict &lt;/P&gt;&lt;P&gt;EXCEPTIONS &lt;/P&gt;&lt;P&gt;TOO_LATE = 1 &lt;/P&gt;&lt;P&gt;REPEATED = 2 &lt;/P&gt;&lt;P&gt;SELOPT_WITHOUT_OPTIONS = 3 &lt;/P&gt;&lt;P&gt;SELOPT_WITHOUT_SIGNS = 4 &lt;/P&gt;&lt;P&gt;INVALID_SIGN = 5 &lt;/P&gt;&lt;P&gt;EMPTY_OPTION_LIST = 6 &lt;/P&gt;&lt;P&gt;INVALID_KIND = 7 &lt;/P&gt;&lt;P&gt;REPEATED_KIND_A = 8 &lt;/P&gt;&lt;P&gt;OTHERS = 9 &lt;/P&gt;&lt;P&gt;. &lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0. &lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO &lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. &lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Chaitanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Feb 2008 04:45:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-restrict/m-p/3410280#M819029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-23T04:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT_OPTIONS_RESTRICT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-restrict/m-p/3410281#M819030</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;did u try like dis........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data date type dats.
select-options s_date for date no-EXTENSION NO INTERVALS.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;jose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Feb 2008 04:47:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-restrict/m-p/3410281#M819030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-23T04:47:12Z</dc:date>
    </item>
  </channel>
</rss>

