cancel
Showing results for 
Search instead for 
Did you mean: 

Shift total

Former Member
0 Kudos

Hai Friends,

The following is my requirement

Cost Center Shift Total

102 1 2

102 1

102 2 1

102 3 1

In my internal table i have cost center and shift.

I want the total count of shifts(1,2 and 3) based on the cost center.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi!

SORT itab.

LOOP AT itab INTO wa.

...

AT END OF shift.

SUM.

"here you can find the sum of the shifts in the wa-total field

ENDAT.

ENDLOOP.

Regards

Tamá