<?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 DYNAMIC SORT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-sort/m-p/2537115#M575960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HOW CAN I MAKE DYNAMIC SORT&lt;/P&gt;&lt;P&gt;ANT IDEA??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 Jul 2007 12:20:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-15T12:20:22Z</dc:date>
    <item>
      <title>DYNAMIC SORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-sort/m-p/2537115#M575960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HOW CAN I MAKE DYNAMIC SORT&lt;/P&gt;&lt;P&gt;ANT IDEA??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jul 2007 12:20:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-sort/m-p/2537115#M575960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-15T12:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: DYNAMIC SORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-sort/m-p/2537116#M575961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eaxmple, your ITAB has following fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB,&lt;/P&gt;&lt;P&gt;field01,&lt;/P&gt;&lt;P&gt;field02,&lt;/P&gt;&lt;P&gt;field03,&lt;/P&gt;&lt;P&gt;.............&lt;/P&gt;&lt;P&gt;..............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dynamic sorting:&lt;/P&gt;&lt;P&gt;DATA: filedname01(10),&lt;/P&gt;&lt;P&gt;          filedname02(10),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE 'FIELD02' to filedname01.&lt;/P&gt;&lt;P&gt;MOVE 'FIELD01' to filedname02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT ITAB BY (fieldname01) (fieldname02).&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;&amp;gt;this is same as:&lt;/P&gt;&lt;P&gt;SORT ITAB BY FIELD02 FIELD01. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you are specifying the sorting order at run time by moving the field name to the varibale filedname01 &amp;amp; fieldname02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is filedname01 &amp;amp; fieldname 02 is blank at run time ?&lt;/P&gt;&lt;P&gt;-Sorting on that field is innored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;MOVE space to filedname01.&lt;/P&gt;&lt;P&gt;MOVE 'FIELD01' to filedname02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT ITAB BY (fieldname01) (fieldname02).&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;&amp;gt; this is same as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT ITAB BY FIELD01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;A.Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2007 01:09:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-sort/m-p/2537116#M575961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-16T01:09:38Z</dc:date>
    </item>
  </channel>
</rss>

