<?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: sort statement ... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-statement/m-p/2703692#M626222</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort itab by werks means it will not take the other fields for sorting it will sort the records based on only werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fld1  fld2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;100 10&lt;/P&gt;&lt;P&gt;101 20&lt;/P&gt;&lt;P&gt;90 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u sort on first field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;90 30&lt;/P&gt;&lt;P&gt;100 10&lt;/P&gt;&lt;P&gt;101 20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Kiran Machavarapu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Aug 2007 08:18:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-13T08:18:32Z</dc:date>
    <item>
      <title>sort statement ...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-statement/m-p/2703690#M626220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all ,&lt;/P&gt;&lt;P&gt;I am getting out put as in CS11 (BOM level by level )  with out the sort statement .&lt;/P&gt;&lt;P&gt;But when i sort the internal table with the sort statement based on plant (werks ) . The out put is not in the old fashion , now the out put is of random, level numbers not comming in order , this is the case even when there is only one plant (werks ) .&lt;/P&gt;&lt;P&gt;Can any one help on this .&lt;/P&gt;&lt;P&gt;How the sort statement works here if we sort the final internal table with werks .&lt;/P&gt;&lt;P&gt;Thanks and Regards ,&lt;/P&gt;&lt;P&gt;Prem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2007 08:12:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-statement/m-p/2703690#M626220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-13T08:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: sort statement ...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-statement/m-p/2703691#M626221</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;If u want to sort the internal table based on th efield 'WERKS'. then, use the syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT itab by werks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2007 08:16:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-statement/m-p/2703691#M626221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-13T08:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: sort statement ...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-statement/m-p/2703692#M626222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort itab by werks means it will not take the other fields for sorting it will sort the records based on only werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fld1  fld2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;100 10&lt;/P&gt;&lt;P&gt;101 20&lt;/P&gt;&lt;P&gt;90 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u sort on first field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;90 30&lt;/P&gt;&lt;P&gt;100 10&lt;/P&gt;&lt;P&gt;101 20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Kiran Machavarapu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2007 08:18:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-statement/m-p/2703692#M626222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-13T08:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: sort statement ...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-statement/m-p/2703693#M626223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have used the statement .&lt;/P&gt;&lt;P&gt;SORT itab by werks. &lt;/P&gt;&lt;P&gt;with out this sort statement the out put is as in CS11 .&lt;/P&gt;&lt;P&gt;But after the sort statement the out put is not level by level .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Prem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2007 08:23:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-statement/m-p/2703693#M626223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-13T08:23:55Z</dc:date>
    </item>
  </channel>
</rss>

