Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10665

Re: expand and collapse total lines in ABAP oo ALV

$
0
0

Hi Mr. Thomas   refer this  code.

 

IF gs_sub_fcat-fieldname = 'PRCTR'.

  REFRESH : gt_sort.

    wa_sort-fieldname = 'PRCTR'.

    wa_sort-up = 'X'.

    wa_sort-subtot = 'X'.

   wa_sort-tabname = 'gt_ordsub1'.

    wa_sort-expa = 'X'.---------------------------------> This is  importand  for  Expand

   APPEND wa_sort TO gt_sort.

  CLEAR : wa_sort.

then pass the gt_sort to FM

Regards
TK.Srithar


Viewing all articles
Browse latest Browse all 10665

Trending Articles



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