<?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 sort text internale table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-text-internale-table/m-p/2752693#M640327</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i have an internal table with a field of 10 character type length,  i need to sort by this field descending and its value could be numeric or character.&lt;/P&gt;&lt;P&gt;this is order i want &amp;#145;TR&amp;#146;&amp;#145;10&amp;#146;&amp;#145;9&amp;#146;, for example, &lt;/P&gt;&lt;P&gt;this the order i got now &amp;#145;TR&amp;#146;&amp;#145;9&amp;#146;&amp;#145;10&amp;#146;, 'cause by byte compare 9 is greater that 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so how to sort this kind of table, is there any FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Sep 2007 09:25:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-11T09:25:28Z</dc:date>
    <item>
      <title>sort text internale table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-text-internale-table/m-p/2752693#M640327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i have an internal table with a field of 10 character type length,  i need to sort by this field descending and its value could be numeric or character.&lt;/P&gt;&lt;P&gt;this is order i want &amp;#145;TR&amp;#146;&amp;#145;10&amp;#146;&amp;#145;9&amp;#146;, for example, &lt;/P&gt;&lt;P&gt;this the order i got now &amp;#145;TR&amp;#146;&amp;#145;9&amp;#146;&amp;#145;10&amp;#146;, 'cause by byte compare 9 is greater that 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so how to sort this kind of table, is there any FM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 09:25:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-text-internale-table/m-p/2752693#M640327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-11T09:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: sort text internale table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-text-internale-table/m-p/2752694#M640328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CATT_SORT_TABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this FM...may it help u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 09:29:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-text-internale-table/m-p/2752694#M640328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-11T09:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: sort text internale table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-text-internale-table/m-p/2752695#M640329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;too complicated FM,hehe~~~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 09:49:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-text-internale-table/m-p/2752695#M640329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-11T09:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: sort text internale table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-text-internale-table/m-p/2752696#M640330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Derek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you use a conversion exit before population your internal table like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF tab OCCURS 10,&lt;/P&gt;&lt;P&gt;        field TYPE char10,&lt;/P&gt;&lt;P&gt;       END OF tab.&lt;/P&gt;&lt;P&gt;CALL 'CONVERSION_EXIT_ALPHA_INPUT'  ID 'INPUT'  FIELD '9'&lt;/P&gt;&lt;P&gt;                                    ID 'OUTPUT' FIELD tab-field.&lt;/P&gt;&lt;P&gt;APPEND tab.&lt;/P&gt;&lt;P&gt;CALL 'CONVERSION_EXIT_ALPHA_INPUT'  ID 'INPUT'  FIELD 'TR'&lt;/P&gt;&lt;P&gt;                                    ID 'OUTPUT' FIELD tab-field.&lt;/P&gt;&lt;P&gt;APPEND tab.&lt;/P&gt;&lt;P&gt;CALL 'CONVERSION_EXIT_ALPHA_INPUT'  ID 'INPUT'  FIELD '10'&lt;/P&gt;&lt;P&gt;                                    ID 'OUTPUT' FIELD tab-field.&lt;/P&gt;&lt;P&gt;APPEND tab.&lt;/P&gt;&lt;P&gt;SORT tab DESCENDING.&lt;/P&gt;&lt;P&gt;LOOP AT tab.&lt;/P&gt;&lt;P&gt;  WRITE:/ tab-field.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chester&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 09:49:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-text-internale-table/m-p/2752696#M640330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-11T09:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: sort text internale table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-text-internale-table/m-p/2752697#M640331</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;Try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT ITAB BY &amp;lt;FIELD&amp;gt; AS TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward if Helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 09:56:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-text-internale-table/m-p/2752697#M640331</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-09-11T09:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: sort text internale table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-text-internale-table/m-p/2752698#M640332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chester Drawers  &lt;/P&gt;&lt;P&gt;thanks, gave u the points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as text is not working~~~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 10:08:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-text-internale-table/m-p/2752698#M640332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-11T10:08:50Z</dc:date>
    </item>
  </channel>
</rss>

