<?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: About select options. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/8093858#M1615717</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ups! What is such thing as an (exclude) pattern? &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jul 2011 21:51:13 GMT</pubDate>
    <dc:creator>Clemenss</dc:creator>
    <dc:date>2011-07-08T21:51:13Z</dc:date>
    <item>
      <title>About select options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/8093854#M1615713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any chance to sort an internal table (it_result) comparing an internal range table (s_ktorr) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Example :&lt;/U&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Select-Options on screen&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;s_ktorr =  &lt;/P&gt;&lt;P&gt;DESK9A56KS&lt;/P&gt;&lt;P&gt;DESK9AU634&lt;/P&gt;&lt;P&gt;DESK9A53JD&lt;/P&gt;&lt;P&gt;DESK9A7878&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then when I select those tkorr from e071 table, the final result is :&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;SELECT trkorr obj_name object&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;FROM e071&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;INTO CORRESPONDING FIELDS OF TABLE it_result&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;   &lt;STRONG&gt;WHERE trkorr IN s_ktorr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_result =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESK9A7878 OBJ1&lt;/P&gt;&lt;P&gt;DESK9A7878 OBJ2&lt;/P&gt;&lt;P&gt;DESK9A56KS OBJ1 &lt;/P&gt;&lt;P&gt;DESK9A56KS OBJ2 &lt;/P&gt;&lt;P&gt;DESK9A56KS OBJ3&lt;/P&gt;&lt;P&gt;DESK9A53JD OBJ1&lt;/P&gt;&lt;P&gt;DESK9AU634 OBJ1&lt;/P&gt;&lt;P&gt;DESK9AU634 OBJ2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see the final result is &lt;STRONG&gt;out of order&lt;/STRONG&gt; comparing the s_ktorr order on the screen..&lt;/P&gt;&lt;P&gt;My question is.. Is there any syntax or some SORT method to do not lose the original sort?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;E.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 18:33:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/8093854#M1615713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-08T18:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: About select options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/8093855#M1615714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;SQL do not sort data, except if you use ORDER BY. But it is not advised with a SAP system (because of its scalable architecture, i.e. to do load balancing on several application servers), prefer to use SORT statement after the SELECT.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 19:05:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/8093855#M1615714</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2011-07-08T19:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: About select options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/8093856#M1615715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, but it the arrangement of data must match the original input list, one could loop at the input ranges table, then loop at the result looking for those values and increment a counter defined in the results table, then resort by that counter no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example something like this (not very efficient, to be sure):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: lv_counter(4) type n value 1.&lt;/P&gt;&lt;P&gt;loop at ranges table.&lt;/P&gt;&lt;P&gt;   loop at result table where &amp;lt;fieldname&amp;gt; = ranges-low.&lt;/P&gt;&lt;P&gt;   result-counter = lv_counter.&lt;/P&gt;&lt;P&gt;   lv_counter = lv_counter + 1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort result table by counter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, I don't understand why this would be important....a simple sort statement, as Sandra noted, would be desirable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 19:07:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/8093856#M1615715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-08T19:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: About select options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/8093857#M1615716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A mugs game &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if you have ranges or patterns or exclusions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 20:09:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/8093857#M1615716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-08T20:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: About select options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/8093858#M1615717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ups! What is such thing as an (exclude) pattern? &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 21:51:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/8093858#M1615717</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-07-08T21:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: About select options.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/8093859#M1615718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ups! What is such thing as an (exclude) pattern? &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the HIGH column is initial then exclude pattern is the 'NP' OPTION &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 21:55:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-select-options/m-p/8093859#M1615718</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-07-08T21:55:55Z</dc:date>
    </item>
  </channel>
</rss>

