Hi,
Can I calculate Subtotal for for Hierarchial ALV Items.
Thanks ,
Basheer
Hi,
Yes you can do it. Have a look at BCALV_TEST_HIERSEQ_LIST report.
KR Jaideep,
Hello
you need to pass do sum in field catlog for the fields
lw_fcat-do_sum = 'X'.
you have to use
sort table
lw_sort-tabname = 'IT_FINAL'. lw_sort-fieldname = 'BRNCH'. lw_sort-up = 'X'. lw_sort-subtot = 'X'. APPEND lw_sort TO it_sort.
you will the sub total of Hierarchial item.
Reagrds
Nilesh