<?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 query problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-query-problem/m-p/5762582#M1305127</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please use statement SORT on Required fileds after SELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;J.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jun 2009 07:29:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-29T07:29:23Z</dc:date>
    <item>
      <title>Selection query problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-query-problem/m-p/5762581#M1305126</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;I am selecting line items based on an invoice. But after selection, line items are not sequentially. But if I go to SE16 and view those data, they are coming in correct sequence( ascending order ). I checked with the fields' positions in the table level also. Query has the same sequence. But still it is in mis order. What may be the reason. How can I get in ascending order while selection itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2009 07:26:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-query-problem/m-p/5762581#M1305126</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-29T07:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Selection query problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-query-problem/m-p/5762582#M1305127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please use statement SORT on Required fileds after SELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;J.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2009 07:29:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-query-problem/m-p/5762582#M1305127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-29T07:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Selection query problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-query-problem/m-p/5762583#M1305128</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;Use &lt;STRONG&gt;ORDER BY&lt;/STRONG&gt; addition in your select statement with the fields you want to be in order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do F1 on select to get more information about order by&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;check this link [ORDER BY|http://help.sap.com/erp2005_ehp_04/helpdata/EN/fc/eb3a53358411d1829f0000e829fbfe/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sarves&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2009 07:29:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-query-problem/m-p/5762583#M1305128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-29T07:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Selection query problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-query-problem/m-p/5762584#M1305129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ideally the select statement picks the records in order which the where clause condition matches, you are using QUERY for your report or a custom program?. Try to sort the table after the select by invoice and item number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2009 07:29:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-query-problem/m-p/5762584#M1305129</guid>
      <dc:creator>alex_m</dc:creator>
      <dc:date>2009-06-29T07:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Selection query problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-query-problem/m-p/5762585#M1305130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are not geting item number in sequence then you can sort internal table according to item number after selection. But if you want it in your select query itselft then put key work ASCENDING in select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2009 07:31:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-query-problem/m-p/5762585#M1305130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-29T07:31:37Z</dc:date>
    </item>
  </channel>
</rss>

