<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701538#M307525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here we have some more details:&lt;/P&gt;&lt;P&gt;SORT itab &lt;A href="https://community.sap.com/DESCENDING"&gt;ASCENDING&lt;/A&gt; &lt;/P&gt;&lt;P&gt;          &lt;A href="AS TEXT"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;          &lt;A href="https://community.sap.com/STABLE"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;          &lt;A href="https://community.sap.com/sort_key"&gt;&lt;/A&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;Extras: &lt;/P&gt;&lt;P&gt;1. ... ASCENDING|DESCENDING &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. ... AS TEXT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. ... STABLE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;This statement sorts an internal table itab. As standard, numeric and byte-type components are sorted according to their value and character-type by their binary representation (code page). For text-based sorting of character-type components, you can use the addition AS TEXT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For itab, a standard table or hashed table is expected. Sorted tables cannot be sorted using SORT. If no explicit sort key sort_key is specified, the internal table itab is sorted by the table key, whereby the table key can contain a maximum of 250 components. The priority of sorting is determined by the order in which the key fields are specified in the table definition. For the standard key, the priority of the sort depends on the order of the key fields in the line type of the table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is syntactically forbidden to use the SORT statement on sorted tables. If it is not determined until runtime that a sorted table is to be sorted, this leads to an untreatable exception if the sort could change the existing sorted order. This happens in the following cases: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the sort key specified in sort_key is different to the initial part of the table key &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the addition DESCENDING is used &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the addition AS TEXT is used &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If an attribute of an object is specified as a component in sort_key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise the SORT statement is ignored for sorted tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 1 &lt;/P&gt;&lt;P&gt;... ASCENDING|DESCENDING &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;You can use the additions ASCENDING or DESCENDING to explicitly define whether the table is sorted in ascending or descending order. If neither addition is specified, the data is sorted in ascending order by default. This sort order can be overwritten for individual components in the explicit sort key sort_key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2 &lt;/P&gt;&lt;P&gt;... AS TEXT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The addition AS TEXT specifies that text-type components are sorted according to the locale of the current text environment. If AS TEXT is not specified, text-type components are sorted according to the coding in the code page of the current text environment. This specification can be overwritten for individual text-type components in the explicit sort key sort_key. The text environment is set when an internal session is opened, or using the statement SET LOCALE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;Sorting without the AS TEXT addition is considerably faster than sorting using the addition. If text-type components only contain characters of the ASCII character set, both sort options result in the same sort order and the addition AS TEXT is not necessary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result of lexicographic sorting depends on the operating system of the application server. While the sequence of the individual letters that belong to the activated language is the same for all operating systems, there are differences in the characters that do not belong to the alphabet of the activated language. When sorting whole words, there are also slight differences even if only using letters from the alphabet of the activated language. The order of upper and lower case letters also depends on the operating system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the AS TEXT addition to function correctly, the profile parameter install/collate/active must not have the value 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The use of the AS TEXT addition normally renders the statement CONVERT TEXT superfluous. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 3 &lt;/P&gt;&lt;P&gt;...STABLE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;You can use STABLE to ensure a stable sort order. This means that the order of lines, which is the same in the sort key, remains unchanged after sorting. Without the STABLE addition, the order is not preserved and repeated sorting of a table by the same sort key changes the order each time the table is sorted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;Sorting a hashed table text_tab by the order in the code page and according to the locale of the current text environment. If a Western European text environment is set, sorting results in the orders Miller, Moller, Muller, Möller, or Miller, Moller, Möller, Muller (also see the example for SET LOCALE). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA text_tab TYPE HASHED TABLE OF string &lt;/P&gt;&lt;P&gt;              WITH UNIQUE KEY table_line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT: `Muller` INTO TABLE text_tab, &lt;/P&gt;&lt;P&gt;        `Möller` INTO TABLE text_tab, &lt;/P&gt;&lt;P&gt;        `Moller` INTO TABLE text_tab, &lt;/P&gt;&lt;P&gt;        `Miller` INTO TABLE text_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT text_tab. &lt;/P&gt;&lt;P&gt;PERFORM write_text_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT text_tab AS TEXT. &lt;/P&gt;&lt;P&gt;PERFORM write_text_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM write_text_tab. &lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS TYPE string. &lt;/P&gt;&lt;P&gt;  LOOP AT text_tab ASSIGNING  . &lt;/P&gt;&lt;P&gt;    WRITE /  . &lt;/P&gt;&lt;P&gt;  ENDLOOP. &lt;/P&gt;&lt;P&gt;  SKIP. &lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Nov 2006 11:50:57 GMT</pubDate>
    <dc:creator>Sandeep_Panghal</dc:creator>
    <dc:date>2006-11-28T11:50:57Z</dc:date>
    <item>
      <title>Sort</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701533#M307520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you tell how to write Sort statement in ABAP 4.6 Version&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 11:48:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701533#M307520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T11:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sort</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701534#M307521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;SORT by fieldname.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 11:50:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701534#M307521</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2006-11-28T11:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sort</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701535#M307522</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;You can write&lt;/P&gt;&lt;P&gt;SORT ITAB by f1 f2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 11:50:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701535#M307522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T11:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sort</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701536#M307523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SORT ITAB BY field1 field2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 11:50:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701536#M307523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T11:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sort</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701537#M307524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sort itab by field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 11:50:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701537#M307524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T11:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sort</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701538#M307525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here we have some more details:&lt;/P&gt;&lt;P&gt;SORT itab &lt;A href="https://community.sap.com/DESCENDING"&gt;ASCENDING&lt;/A&gt; &lt;/P&gt;&lt;P&gt;          &lt;A href="AS TEXT"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;          &lt;A href="https://community.sap.com/STABLE"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;          &lt;A href="https://community.sap.com/sort_key"&gt;&lt;/A&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;Extras: &lt;/P&gt;&lt;P&gt;1. ... ASCENDING|DESCENDING &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. ... AS TEXT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. ... STABLE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;This statement sorts an internal table itab. As standard, numeric and byte-type components are sorted according to their value and character-type by their binary representation (code page). For text-based sorting of character-type components, you can use the addition AS TEXT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For itab, a standard table or hashed table is expected. Sorted tables cannot be sorted using SORT. If no explicit sort key sort_key is specified, the internal table itab is sorted by the table key, whereby the table key can contain a maximum of 250 components. The priority of sorting is determined by the order in which the key fields are specified in the table definition. For the standard key, the priority of the sort depends on the order of the key fields in the line type of the table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is syntactically forbidden to use the SORT statement on sorted tables. If it is not determined until runtime that a sorted table is to be sorted, this leads to an untreatable exception if the sort could change the existing sorted order. This happens in the following cases: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the sort key specified in sort_key is different to the initial part of the table key &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the addition DESCENDING is used &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the addition AS TEXT is used &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If an attribute of an object is specified as a component in sort_key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise the SORT statement is ignored for sorted tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 1 &lt;/P&gt;&lt;P&gt;... ASCENDING|DESCENDING &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;You can use the additions ASCENDING or DESCENDING to explicitly define whether the table is sorted in ascending or descending order. If neither addition is specified, the data is sorted in ascending order by default. This sort order can be overwritten for individual components in the explicit sort key sort_key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2 &lt;/P&gt;&lt;P&gt;... AS TEXT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The addition AS TEXT specifies that text-type components are sorted according to the locale of the current text environment. If AS TEXT is not specified, text-type components are sorted according to the coding in the code page of the current text environment. This specification can be overwritten for individual text-type components in the explicit sort key sort_key. The text environment is set when an internal session is opened, or using the statement SET LOCALE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;Sorting without the AS TEXT addition is considerably faster than sorting using the addition. If text-type components only contain characters of the ASCII character set, both sort options result in the same sort order and the addition AS TEXT is not necessary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result of lexicographic sorting depends on the operating system of the application server. While the sequence of the individual letters that belong to the activated language is the same for all operating systems, there are differences in the characters that do not belong to the alphabet of the activated language. When sorting whole words, there are also slight differences even if only using letters from the alphabet of the activated language. The order of upper and lower case letters also depends on the operating system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the AS TEXT addition to function correctly, the profile parameter install/collate/active must not have the value 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The use of the AS TEXT addition normally renders the statement CONVERT TEXT superfluous. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 3 &lt;/P&gt;&lt;P&gt;...STABLE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;You can use STABLE to ensure a stable sort order. This means that the order of lines, which is the same in the sort key, remains unchanged after sorting. Without the STABLE addition, the order is not preserved and repeated sorting of a table by the same sort key changes the order each time the table is sorted. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;Sorting a hashed table text_tab by the order in the code page and according to the locale of the current text environment. If a Western European text environment is set, sorting results in the orders Miller, Moller, Muller, Möller, or Miller, Moller, Möller, Muller (also see the example for SET LOCALE). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA text_tab TYPE HASHED TABLE OF string &lt;/P&gt;&lt;P&gt;              WITH UNIQUE KEY table_line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT: `Muller` INTO TABLE text_tab, &lt;/P&gt;&lt;P&gt;        `Möller` INTO TABLE text_tab, &lt;/P&gt;&lt;P&gt;        `Moller` INTO TABLE text_tab, &lt;/P&gt;&lt;P&gt;        `Miller` INTO TABLE text_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT text_tab. &lt;/P&gt;&lt;P&gt;PERFORM write_text_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT text_tab AS TEXT. &lt;/P&gt;&lt;P&gt;PERFORM write_text_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM write_text_tab. &lt;/P&gt;&lt;P&gt;  FIELD-SYMBOLS TYPE string. &lt;/P&gt;&lt;P&gt;  LOOP AT text_tab ASSIGNING  . &lt;/P&gt;&lt;P&gt;    WRITE /  . &lt;/P&gt;&lt;P&gt;  ENDLOOP. &lt;/P&gt;&lt;P&gt;  SKIP. &lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 11:50:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701538#M307525</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2006-11-28T11:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sort</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701539#M307526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1.Sory itab BY f1 f2 ... fn &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. ... ASCENDING &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. ... DESCENDING &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. ... AS TEXT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. ... STABLE &lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 11:51:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701539#M307526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T11:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sort</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701540#M307527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;now u have internal table with fields matnr, maktx, werks etc....&lt;/P&gt;&lt;P&gt;say Matnr is primary key along with werks...So, need to sort on these fields for further processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort &amp;lt;internaltable&amp;gt; by matnr werks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 11:51:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701540#M307527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T11:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sort</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701541#M307528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SORT table name BY fields(in that table).&lt;/P&gt;&lt;P&gt;ex: sort it_vbak by vbeln.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 11:52:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701541#M307528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T11:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sort</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701542#M307529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajasekhar,&lt;/P&gt;&lt;P&gt;welcome to SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;basic systax of sort is &lt;/P&gt;&lt;P&gt;SORT itab.&lt;/P&gt;&lt;P&gt;with following addition&lt;/P&gt;&lt;P&gt;1. ... BY f1 f2 ... fn (field names)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. ... ASCENDING &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. ... DESCENDING &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. ... AS TEXT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. ... STABLE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps .&lt;/P&gt;&lt;P&gt;award forum points to helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 11:52:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701542#M307529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T11:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sort</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701543#M307530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got the solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 11:53:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701543#M307530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T11:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sort</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701544#M307531</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;sort itab by &amp;lt;fields&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vikranth khimavath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 11:53:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort/m-p/1701544#M307531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T11:53:36Z</dc:date>
    </item>
  </channel>
</rss>

