Skip to Content
0
May 12, 2010 at 12:48 PM

How to calculate the sum of a column in table using ctrl break statements?

26 Views

Hi,

How to calculate the sum of a column in table using ctrl break statements in smartform:

I want to find the sum of salary in my custom table.

1.I defined footer as Total Text Element.

2.In Code part i write like this :

DATA : ITAB LIKE ZDILEEP OCCURS 0 WITH HEADER LINE.

LOOP AT ITAB INTO ITAB.

AT END OF ZZSALARY.

SUM.

ENDAT.

ENDLOOP.

But its not came....! what i want 2 do...? can anybody help me....?