<?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: Sorting problem with ALV. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorting-problem-with-alv/m-p/4654185#M1095110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do use standard 'manual' sort but after that my itab is not sorted according to what I see on screen.&lt;/P&gt;&lt;P&gt;So after 2clicking on one line I don't get the correct values. You know what I mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I am using OOALV.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Oct 2008 09:26:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-28T09:26:06Z</dc:date>
    <item>
      <title>Sorting problem with ALV.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorting-problem-with-alv/m-p/4654182#M1095107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo guyes,&lt;/P&gt;&lt;P&gt;I have an usual ALV grid where I dispaly some documents f.e. &lt;/P&gt;&lt;P&gt;When I sort the content according to marked column using standard ALV button and&lt;/P&gt;&lt;P&gt;after that I want to jump into choosen document by 2clicking on it I jump into&lt;/P&gt;&lt;P&gt;the wrong one.&lt;/P&gt;&lt;P&gt;Problem is that my 'program itab' is not sorted. Itab lines are still in position like&lt;/P&gt;&lt;P&gt;after first dispaly.&lt;/P&gt;&lt;P&gt;How can I handle this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to use before_user_command event to sort my itab according to marked column&lt;/P&gt;&lt;P&gt;but it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF e_ucomm = '&amp;amp;SORT_DSC'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD ref_alv-&amp;gt;get_selected_columns&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      et_index_columns = lt_index_columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR ls_index_columns.&lt;/P&gt;&lt;P&gt;  READ TABLE lt_index_columns INTO ls_index_columns&lt;/P&gt;&lt;P&gt;                              INDEX 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SORT gt_best BY ls_index_columns-fieldname DESCENDING.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD ref_alv-&amp;gt;set_user_command&lt;/P&gt;&lt;P&gt;     EXPORTING i_ucomm = space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2008 08:04:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorting-problem-with-alv/m-p/4654182#M1095107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-28T08:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting problem with ALV.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorting-problem-with-alv/m-p/4654183#M1095108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2008 08:39:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorting-problem-with-alv/m-p/4654183#M1095108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-28T08:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting problem with ALV.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorting-problem-with-alv/m-p/4654184#M1095109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you using the OOALV or normal alv. why can't you use Normal(Standard )Sort functionality.&lt;/P&gt;&lt;P&gt;i am not getting what is the reason you are going for it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2008 08:52:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorting-problem-with-alv/m-p/4654184#M1095109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-28T08:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting problem with ALV.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorting-problem-with-alv/m-p/4654185#M1095110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do use standard 'manual' sort but after that my itab is not sorted according to what I see on screen.&lt;/P&gt;&lt;P&gt;So after 2clicking on one line I don't get the correct values. You know what I mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I am using OOALV.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2008 09:26:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorting-problem-with-alv/m-p/4654185#M1095110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-28T09:26:06Z</dc:date>
    </item>
  </channel>
</rss>

