How to do dynamic subtotal and total texts in ALV list...
I am currently using the old ALV version to display my report. Currently, I need
to write the subtotal and total texts but depending on the a given value in one of the
fields in my internal table. So for example, that field is for plant and the value is 1000
so I need to write 'Subtotal for Plant 1000:'. My initial code below is not working:
gs_layout-colwidth_optimize = 'X'.
gs_layout-zebra = 'X'.
gs_layout-subtotals_text = 'Subtotal'.
gs_layout-totals_text = 'Total'.
Hope you can help me guys. Thank you and take care!