<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/4687517#M1101902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any specific reason why you want to sort the select options ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Nov 2008 13:59:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-05T13:59:44Z</dc:date>
    <item>
      <title>Select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/4687516#M1101901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;If i have multiple options in select options field then how should i sort these values?&lt;/P&gt;&lt;P&gt;Consider values are numeric and need to be sorted in ascending order.Help me with code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 13:56:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/4687516#M1101901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T13:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/4687517#M1101902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any specific reason why you want to sort the select options ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 13:59:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/4687517#M1101902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T13:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/4687518#M1101903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to sort all values and take in to account the lowest one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 14:08:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/4687518#M1101903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T14:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/4687519#M1101904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nilam,&lt;/P&gt;&lt;P&gt;if you want to sort  teh select options then do it in this way.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT-OPTIONS; S_MATNR FOR MARA-MATNR.

START-OF-SELCTION.

SORT S_MATNR BY LOW.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I could understand your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chidanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 14:10:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/4687519#M1101904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T14:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/4687520#M1101905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nilam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Select options is also an internal table with structure sign,low, high etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as for itab you say sort table itab by f1 f2...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the same way for so_matnr also sort table so_matnr by low(fied in select option's standard structure)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 14:24:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/4687520#M1101905</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-11-05T14:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/4687521#M1101906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Nilam ,&lt;/P&gt;&lt;P&gt;   Select otion is as internal table which consist sign ,option , low , high ...filed ...&lt;/P&gt;&lt;P&gt;here is not the seris of data ...you could no do that ...&lt;/P&gt;&lt;P&gt; you can do one thing ....&lt;/P&gt;&lt;P&gt;  select all you data in an internal table ...using &lt;/P&gt;&lt;P&gt;  Select f1 from database table into table  itab  &lt;/P&gt;&lt;P&gt;  where f1 in s_f1  .&lt;/P&gt;&lt;P&gt;   sort itab .&lt;/P&gt;&lt;P&gt; now put .....all ur itab data  in range ...&lt;/P&gt;&lt;P&gt; range are like select option , except it does not creat selection screen .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;range : r1 .&lt;/P&gt;&lt;P&gt; loop at itab .&lt;/P&gt;&lt;P&gt;  r1-low = itab-f1.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;append r1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now you have ur range (just like select option ) with sorted data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards...&lt;/P&gt;&lt;P&gt;Priyank Dixit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 18:51:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/4687521#M1101906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T18:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Select-options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/4687522#M1101907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you've thought this question through.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you want if you have multiple overlapping ranges?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you want if you have NE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you want if you have exclusions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you want if you have patterns?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The proper way to do this is to SELECT the data using this SELECT-OPTION and then sort the selected set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 19:00:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/4687522#M1101907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-05T19:00:19Z</dc:date>
    </item>
  </channel>
</rss>

