Dynamic subtotal REquired
I have a requirement where user can select (out of 18 in my case) cols in the ALV output, and i shd internally get get subtotals acc to cols selected and divide all the subtotals by one known predetermined field's subtotal and insert the new <b>subtotalled and divided</b> line .
I am able to get the cols selected by get_selected_columns method.
Now to achieve the subtotal ..i am not able to use a dynamic IF condition. I am trying dynamic read,,but thats also giving problems in logic. In short i need to get subtotals dynmically acc to cols selected by user.
Can any one please help...