<?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: ALV Sorting Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sorting-problem/m-p/7575633#M1565805</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello guru,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort the internal table for the first column ok .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anji.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jan 2011 06:53:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-01-19T06:53:44Z</dc:date>
    <item>
      <title>ALV Sorting Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sorting-problem/m-p/7575628#M1565800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing an issue while using SORT option in 'REUSE_ALV_GRID_DISPLAY'.&lt;/P&gt;&lt;P&gt;Suppose i have Equipment number, characteristics and Date of Creation fields in the layout.&lt;/P&gt;&lt;P&gt;I have values of these two fields a follows:&lt;/P&gt;&lt;P&gt;Equipment No.                         Date of Creation        Characteristics&lt;/P&gt;&lt;P&gt;1                                               26.10.2010               MAP-ID&lt;/P&gt;&lt;P&gt;1                                               26.10.2010               CERTIFICATION-DATE&lt;/P&gt;&lt;P&gt;2                                               26.10.2010               MAP-ID&lt;/P&gt;&lt;P&gt;2                                               26.10.2010               CERTIFICATION-DATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when i use sort optoin in ALV, it gives me a layout as below&lt;/P&gt;&lt;P&gt;Equipment No.                         Date of Creation        Characteristics&lt;/P&gt;&lt;P&gt;1                                               26.10.2010               MAP-ID&lt;/P&gt;&lt;P&gt;.                                                 .                               CERTIFICATION-DATE&lt;/P&gt;&lt;P&gt;2                                                .                               MAP-ID&lt;/P&gt;&lt;P&gt;.                                                 .                               CERTIFICATION-DATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date of Creation field value is common for both the equipments so it is getting diplayed just one for both the equipments.&lt;/P&gt;&lt;P&gt;I want to sort the table but Date field should come seperate for both the equipment. I want layout like below:&lt;/P&gt;&lt;P&gt;Equipment No.                         Date of Creation        Characteristics&lt;/P&gt;&lt;P&gt;1                                               26.10.2010               MAP-ID&lt;/P&gt;&lt;P&gt;.                                                 .                               CERTIFICATION-DATE&lt;/P&gt;&lt;P&gt;2                                               26.10.2010               MAP-ID&lt;/P&gt;&lt;P&gt;.                                                 .                              CERTIFICATION-DATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to get this layout in 'REUSE_ALV_GRID_DISPLAY' ?&lt;/P&gt;&lt;P&gt;Please help me out with this requirement. Just using SORT option is not helping me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nitin Karamchandani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 06:02:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sorting-problem/m-p/7575628#M1565800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-19T06:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Sorting Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sorting-problem/m-p/7575629#M1565801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;declare the internal table with type SLIS_T_SORTINFO_ALV  .&lt;/P&gt;&lt;P&gt;an pass to parameter in function module REUSE_ALV_GRID_DISPLAY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 06:07:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sorting-problem/m-p/7575629#M1565801</guid>
      <dc:creator>Rushikesh_Yeole</dc:creator>
      <dc:date>2011-01-19T06:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Sorting Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sorting-problem/m-p/7575630#M1565802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RUSHIKESH,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is after using SORT option in ALV.&lt;/P&gt;&lt;P&gt;So this is already in my code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nitin Karamchandani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 06:10:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sorting-problem/m-p/7575630#M1565802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-19T06:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Sorting Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sorting-problem/m-p/7575631#M1565803</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;&lt;/P&gt;&lt;P&gt;  Directly use  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT internal table  according to your requirment before passing to  ALV grid Function module  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 06:12:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sorting-problem/m-p/7575631#M1565803</guid>
      <dc:creator>deepak_dhamat</dc:creator>
      <dc:date>2011-01-19T06:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Sorting Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sorting-problem/m-p/7575632#M1565804</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 there is no need of calculating subtotals or anything specific available in it_sort of REUSE_ALV_GRID_DISPLAY, just comment this it_sort in the FM and for sort basing on equipment no., sort your final internal table by equipment no. just before the fm REUSE_ALV_GRID_DISPLAY call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check. This should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 06:50:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sorting-problem/m-p/7575632#M1565804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-19T06:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Sorting Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sorting-problem/m-p/7575633#M1565805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello guru,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort the internal table for the first column ok .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anji.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 06:53:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sorting-problem/m-p/7575633#M1565805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-19T06:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Sorting Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sorting-problem/m-p/7575634#M1565806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you added a sort entry to an ALV grid, the groupings will automatically happen and cannot be changed. You can view the contents of the sort entry by holding ctrl and shift in and double-right click on the header next to the last column. Now click on the Sort Sequence. I tried changing the COMP == ' ', but that does not help either. The only way to display all data entries is to propose sort sequences on the selection screen, sort your data this way internally and remove this sort buttons - use IT_TOOLBAR_EXCLUDING as part of your first call to CALL METHOD GRID-&amp;gt;SET_TABLE_FOR_FIRST_DISPLAY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, else post a bit more info if we're misunderstand your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards, Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 07:23:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sorting-problem/m-p/7575634#M1565806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-19T07:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Sorting Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sorting-problem/m-p/7575635#M1565807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check by passing no_merge as 'X' in the layout while creating the grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Archna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 17:07:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sorting-problem/m-p/7575635#M1565807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-19T17:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Sorting Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sorting-problem/m-p/7575636#M1565808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt; Equipment number, characteristics and Date of Creation fields &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the order of the fields in ur internal table to equipment no., date..and then character..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 22:43:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-sorting-problem/m-p/7575636#M1565808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-19T22:43:50Z</dc:date>
    </item>
  </channel>
</rss>

