Skip to Content
0
Dec 17, 2018 at 05:24 AM

Aggregating itab according to subset of char

80 Views

I have a itab (internal table) with 150 fields with 67 characteristics(non measures) and the rest measures. it is a standard internal table.

I have to aggregate the keyfigures (measures) according a a subset of those char fields (12 of them).

The 'collect' keyword considers all the char fields for aggregation. "COLLECT wa INTO itab."

Any way where we can collect/aggregate itab only according to certain chars?

Regards,

Cleo