<?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 problem in classes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-problem-in-classes/m-p/1588152#M264982</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 you have the name of the fields you need to sort the table, you can try to use this statament:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT ITAB BY (FIELD1) (FIELD2) (FIELD3) .... (FIELDN).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD1,....are variables where you store the name of the fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Oct 2006 16:23:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-09T16:23:21Z</dc:date>
    <item>
      <title>SORT problem in classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-problem-in-classes/m-p/1588151#M264981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing sort sequence problem in classes.Here is my situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Displayed data to ALV.&lt;/P&gt;&lt;P&gt;2.Suppose user has his own layout sorted on some fields&lt;/P&gt;&lt;P&gt;3.Click on Refresh button (not standard its custom)&lt;/P&gt;&lt;P&gt;4.Submitting the Z* program upon refresh to get the latest data into internal table&lt;/P&gt;&lt;P&gt;5.I want to apply the user sorted criteria whatever the criteria onlayout...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tries with set sort criteria  but its is giving the sequence of fields but my question is how do i apply those fields to our internal table....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any light just throw on me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;appreciate your ideas and advises...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2006 15:57:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-problem-in-classes/m-p/1588151#M264981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-09T15:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: SORT problem in classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-problem-in-classes/m-p/1588152#M264982</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 you have the name of the fields you need to sort the table, you can try to use this statament:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT ITAB BY (FIELD1) (FIELD2) (FIELD3) .... (FIELDN).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD1,....are variables where you store the name of the fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2006 16:23:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-problem-in-classes/m-p/1588152#M264982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-09T16:23:21Z</dc:date>
    </item>
  </channel>
</rss>

