<?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 Reading a ALV after sorting in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-alv-after-sorting/m-p/1221409#M136548</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;       I have a Alv grid display.After the ouput is shown&lt;/P&gt;&lt;P&gt;suppose i have it ascending or descending.Now i want to get the sorted alv into my internal table .Bcoz when i double click a particular row it goes to the next screen with the contents of that particular line.Does any one know how to do that here i am using OOPS Alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ahasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Apr 2006 06:18:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-11T06:18:36Z</dc:date>
    <item>
      <title>Reading a ALV after sorting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-alv-after-sorting/m-p/1221409#M136548</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;       I have a Alv grid display.After the ouput is shown&lt;/P&gt;&lt;P&gt;suppose i have it ascending or descending.Now i want to get the sorted alv into my internal table .Bcoz when i double click a particular row it goes to the next screen with the contents of that particular line.Does any one know how to do that here i am using OOPS Alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ahasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2006 06:18:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-alv-after-sorting/m-p/1221409#M136548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-11T06:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Reading a ALV after sorting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-alv-after-sorting/m-p/1221410#M136549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohammed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab will be updated automatically with sort info if you do any sort. and you can easily access the row which you have clicked using the row number(when you click you get the row number), using that you can directly point it to itab using index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2006 06:29:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-alv-after-sorting/m-p/1221410#M136549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-11T06:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Reading a ALV after sorting</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-alv-after-sorting/m-p/1221411#M136550</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 cannot directly get the SORTED table, but you get the SORT info and do the SORTING yourself, so that the internal table will be the same as that of the display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The method get_frontend_layout will give you the layout info and the method &amp;lt;b&amp;gt; GET_SORT_CRITERIA &amp;lt;/b&amp;gt;, will give you the sort criteria applied by the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table parameter ET_SORT will have the name of the fields sorted. Then what you can do is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT itab BY (FIELDNAME). FIELDNAME is from the ET_SORT table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark the helpful answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2006 06:34:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-a-alv-after-sorting/m-p/1221411#M136550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-11T06:34:13Z</dc:date>
    </item>
  </channel>
</rss>

