Skip to Content
0
Former Member
Jan 08, 2008 at 09:21 PM

To find sum in an internal table - Bit urgent

28 Views

Hi SAP experts,

I have an internal table with the following fields and data :

Emp_number Section Days

1 A 10

1 B 20

3 A 20

3 B 10

2 A 20

2 B 10

Now I want to calculate the total days for each employee which is a sum of days of section A and days of section B.

I want the data as below into another internal table

:

Emp_number Total_days

1 30

2 30

3 30

Could any one tell the code for the same.

Useful answers wud be rewarded.

Vishnu.