<?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: CL_SALV_TABLE sort without merging in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985351#M1493154</link>
    <description>&lt;P&gt;Hi, &lt;BR /&gt;You can achieve this by using the display settings instead of sorts or layout setting.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;DATA: lo_display TYPE REF TO cl_salv_display_settings.&lt;/P&gt;&lt;P&gt;  lo_display = co_alv-&amp;gt;get_display_settings( ).&lt;/P&gt;&lt;P&gt;  lo_display-&amp;gt;set_no_merging( value = 'X' ).&lt;/P&gt;</description>
    <pubDate>Fri, 13 Oct 2023 08:59:20 GMT</pubDate>
    <dc:creator>ultimate_kapoor</dc:creator>
    <dc:date>2023-10-13T08:59:20Z</dc:date>
    <item>
      <title>CL_SALV_TABLE sort without merging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985339#M1493142</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;Does anyone know how to manage a sort using the SALV factory method (cl_salv_table) - WITHOUT the sort fields merging, i.e. the same function as with field NO_MERGING in LVC_S_FCAT using old style ALV?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sorts all work fine using the following:&lt;/P&gt;&lt;P&gt;DATA: lr_salv_sorts              TYPE REF TO cl_salv_sorts.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;lr_salv_sorts-&amp;gt;add_sort( EXPORTING columnname = 'YEAR'&lt;/P&gt;&lt;P&gt;                                       position   = '1'&lt;/P&gt;&lt;P&gt;                                       sequence   = '2'&lt;/P&gt;&lt;P&gt;                                       subtotal   = ' ' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the sort fields are all merged - you used to be able to switch this off using NO_MERGING in LVC_S_FCAT.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to switch this merging off for ALV OM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 15:09:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985339#M1493142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-08T15:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE sort without merging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985340#M1493143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SALV doesn't handle NO_MERGING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the method GET_LVC_LAYOUT of the Class CL_SALV_CONTROLLER_METADATA which fills the Layout. This method doesn't fill the NO_MERGING option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One way to achieve this is using the ALV Display Layout. You can set the default Layout with the option Display &amp;gt; Without cell merging during sorts Set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Naimesh Patel on Jun 8, 2010 10:17 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 15:17:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985340#M1493143</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2010-06-08T15:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE sort without merging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985341#M1493144</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;Thanks for this, did you mean the following?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cl_salv_controller_metadata=&amp;gt;get_lvc_layout( CHANGING s_layout = lv_lvc_s_layo ).&lt;/P&gt;&lt;P&gt;lv_lvc_s_layo-no_merging = 'X'.&lt;/P&gt;&lt;P&gt;cl_salv_controller_metadata=&amp;gt;set_lvc_layout( EXPORTING s_layout = lv_lvc_s_layo ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It still merges sort fields, sorry if I've mis-understood.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 15:50:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985341#M1493144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-08T15:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE sort without merging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985342#M1493145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NO. I just provided the class &amp;amp; method for your reference to understand the where SALV doesn't handle the NO_MERGING. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 16:13:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985342#M1493145</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2010-06-08T16:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE sort without merging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985343#M1493146</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;This is clear now, thanks for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points awarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 16:21:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985343#M1493146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-08T16:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE sort without merging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985344#M1493147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is great - thanks for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 11:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985344#M1493147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-26T11:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE sort without merging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985345#M1493148</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;there's some news, see Note 1818083 - ALV layout: Merging behavior in object model&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 09:50:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985345#M1493148</guid>
      <dc:creator>Daniele_Sgi</dc:creator>
      <dc:date>2013-06-12T09:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE sort without merging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985346#M1493149</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;I implemented the note and set the display setting set_no_merging to TRUE but still the sorted cells are merged.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 10:23:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985346#M1493149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-20T10:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE sort without merging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985347#M1493150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I know &lt;SPAN __jive_emoticon_name="cry"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have opened a "&lt;SPAN class="urTxtEmph urTxtColor" id="WD11"&gt;SAP Message Number" for this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 10:35:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985347#M1493150</guid>
      <dc:creator>Daniele_Sgi</dc:creator>
      <dc:date>2013-06-26T10:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE sort without merging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985348#M1493151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note 1818083 - ALV layout: Merging behavior in object model&lt;/P&gt;&lt;P&gt;Reply to Notification from SAP:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="urFTxtV" id="WD042B"&gt;&amp;lt;&amp;lt;This method does only influence the display of ALV grids in their own conatiner. It can not influence the display of fullscreen grids because of techical reasons. &lt;/SPAN&gt;&lt;SPAN class="urFTxtV" id="WD042B"&gt;We will update the documentation to clarify the use of this method. To solve this problem please pass a container to the factory method of &lt;BR /&gt;class cl_salv_table.&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="urFTxtV"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 12:55:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985348#M1493151</guid>
      <dc:creator>Daniele_Sgi</dc:creator>
      <dc:date>2013-07-19T12:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE sort without merging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985349#M1493152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello folks,&lt;/P&gt;&lt;P&gt;I am having a similar issue. I did the sorting part using cl_salv_sorts which merged the columns on which I applied sorting. But at the same time I don't want columns in the merged fashion. I tried below piece of code to set no merging but it didn't work.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;data&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;lv_s_layout &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;lvc_s_layo&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;call &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;method &lt;/SPAN&gt;cl_salv_controller_metadata&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;get_lvc_layout&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;changing&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s_layout &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lv_s_layout&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; lv_s_layout&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;no_merging &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'X'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;call &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;method &lt;/SPAN&gt;cl_salv_controller_metadata&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;set_lvc_layout&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;exporting&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s_layout &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lv_s_layout&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt; Any help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 11:31:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985349#M1493152</guid>
      <dc:creator>Harsh9</dc:creator>
      <dc:date>2014-09-11T11:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE sort without merging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985350#M1493153</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;BR /&gt;I had the same issue and solved it with a little workaround. &lt;/P&gt;&lt;P&gt;You can copy the values from the column you want to sort by into a another field which you are going to hide on the Screen. Then you can sort by that hidden field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tommy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 14:15:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985350#M1493153</guid>
      <dc:creator>bauert</dc:creator>
      <dc:date>2015-05-12T14:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: CL_SALV_TABLE sort without merging</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985351#M1493154</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;You can achieve this by using the display settings instead of sorts or layout setting.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;DATA: lo_display TYPE REF TO cl_salv_display_settings.&lt;/P&gt;&lt;P&gt;  lo_display = co_alv-&amp;gt;get_display_settings( ).&lt;/P&gt;&lt;P&gt;  lo_display-&amp;gt;set_no_merging( value = 'X' ).&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 08:59:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-salv-table-sort-without-merging/m-p/6985351#M1493154</guid>
      <dc:creator>ultimate_kapoor</dc:creator>
      <dc:date>2023-10-13T08:59:20Z</dc:date>
    </item>
  </channel>
</rss>

