<?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: Regarding Multiple values in selection in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-multiple-values-in-selection/m-p/2758243#M642011</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you explain more what you're problem is ? I really don't get why select options is limiting you towards the future ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you talk about a new plant so the values for the range are coming from the plant table ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Sep 2007 14:19:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-03T14:19:35Z</dc:date>
    <item>
      <title>Regarding Multiple values in selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-multiple-values-in-selection/m-p/2758241#M642009</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;           I want to design my selection-screen by giving multiple value ranges but i dont want to use select-options bcoz i dont have any specific range of values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont want to hard code the values bcoz in future it may happen that a new plant or new garrage my added up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So frnds any technique to overcome this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking u,&lt;/P&gt;&lt;P&gt;sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2007 14:12:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-multiple-values-in-selection/m-p/2758241#M642009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-03T14:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Multiple values in selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-multiple-values-in-selection/m-p/2758242#M642010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you can create a new domain, add some values...Create a new data element and assing it to your Select-Option...If new values are added, you just need to update your domain -;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2007 14:18:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-multiple-values-in-selection/m-p/2758242#M642010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-03T14:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Multiple values in selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-multiple-values-in-selection/m-p/2758243#M642011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you explain more what you're problem is ? I really don't get why select options is limiting you towards the future ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you talk about a new plant so the values for the range are coming from the plant table ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2007 14:19:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-multiple-values-in-selection/m-p/2758243#M642011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-03T14:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Multiple values in selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-multiple-values-in-selection/m-p/2758244#M642012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use SELECT-OPTIONS with NO INTERVALS  option, so no range will be allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you only want exact values (no generic) use SELECT_OPTIONS_RESTRICT in the INITIALIZATION. (sample follows)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM restrict_select.
  DATA: restrict TYPE sscr_restrict,
        opt_list TYPE sscr_opt_list,
        ass TYPE sscr_ass.

* Defeine select modes
* - ALL all kinds of select allowed
  CLEAR opt_list.
  MOVE 'ALL' TO opt_list-name.
  MOVE 'X' TO: opt_list-options-bt,
               opt_list-options-cp,
               opt_list-options-eq,
               opt_list-options-ge,
               opt_list-options-gt,
               opt_list-options-le,
               opt_list-options-lt,
               opt_list-options-nb,
               opt_list-options-ne,
               opt_list-options-np.
  APPEND opt_list TO restrict-opt_list_tab.
* - KEY no exclusion
  CLEAR opt_list.
  MOVE 'KEY' TO opt_list-name.
  MOVE 'X' TO: opt_list-options-bt,
               opt_list-options-cp,
               opt_list-options-eq,
               opt_list-options-ge,
               opt_list-options-gt,
               opt_list-options-le,
               opt_list-options-lt.
  APPEND opt_list TO restrict-opt_list_tab.
* - EQU only exact values
  CLEAR opt_list.
  MOVE 'EQU' TO opt_list-name.
  MOVE 'X' TO opt_list-options-eq.
  APPEND opt_list TO restrict-opt_list_tab.

* Affect modes to  select-options
* ALL to all select-options
  CLEAR ass.
  MOVE: 'A'          TO ass-kind,
        '*'          TO ass-sg_main,
        'ALL'        TO ass-op_main.
  APPEND ass TO restrict-ass_tab.
* KEY to key fields
  CLEAR ass.
  MOVE: 'B'          TO ass-kind,
        'B02'        TO ass-name, " selection-screen block name &amp;lt;&amp;lt;&amp;lt;
        'I'          TO ass-sg_main, " no exclude
        'KEY'        TO ass-op_main. " no generic
  APPEND ass TO restrict-ass_tab.
* I/EQ to your exact values fields
  CLEAR ass.
  MOVE: 'S'          TO ass-kind,
        'S-MATNR'    TO ass-name, " Field name &amp;lt;&amp;lt;&amp;lt;
        'I'          TO ass-sg_main, " no exclude
        'EQU'        TO ass-op_main. " only exact values
  APPEND ass TO restrict-ass_tab.
* Appel FM
  CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
       EXPORTING
            restriction = restrict
       EXCEPTIONS
            OTHERS      = 1.
ENDFORM.                    " restrict_select&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2007 14:21:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-multiple-values-in-selection/m-p/2758244#M642012</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-09-03T14:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Multiple values in selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-multiple-values-in-selection/m-p/2758245#M642013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alvaro,&lt;/P&gt;&lt;P&gt;                   Can you please tell me how to pass data element to select-option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking u.&lt;/P&gt;&lt;P&gt;sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2007 15:28:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-multiple-values-in-selection/m-p/2758245#M642013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-03T15:28:39Z</dc:date>
    </item>
  </channel>
</rss>

