Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

CL_SALV_TABLE sort without merging

$
0
0

Hi all

 

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?

 

The sorts all work fine using the following:

DATA: lr_salv_sorts              TYPE REF TO cl_salv_sorts.

....

lr_salv_sorts->add_sort( EXPORTING columnname = 'YEAR'

                                       position   = '1'

                                       sequence   = '2'

                                       subtotal   = ' ' ).

 

However, the sort fields are all merged - you used to be able to switch this off using NO_MERGING in LVC_S_FCAT.....

 

I need to switch this merging off for ALV OM

 

Many thanks in advance.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>