Skip to Content
Aug 26, 2008 at 06:55 AM

Calculating Total with Checkbox in ALV Grid


Hi Experts,

I am having a Checkbox field in my ALV grid and using the method SET_TABLE_FOR_FIRST_DISPLAY for displaying

the grid.

In my internal table, I am having an amount field.

The structure of the table is as under :

Chkbox Name City Amount

My requirement is whenever I select a checkbox the corresponding amount should be added to the total.

That is as and when the checkbox get selected, the corresponding amount in the amount field should be

added to the Total.

How can I accomplish this, please help me out.