ALV GRID Formatting

Question:
Hi,
I am displaying a list in ALV grid. In that list are e.g. 5 entries with the description 'A', 6 entries wit 'B' and 2 with 'C'. When sorting in the ALV by description it should add up the entries with the same description and display a totals line for each, e.g. for 'A' there are a total of 5.....
Maybe someone can help....
THANX!!
Answer:
A simple, though I admit not very aesthetic option is to include a new column with 1 in for all lines and then total it and group by your ABC.
_________________
Regards,
Angelis.
Answer:
It is looking to me that by default at the time of display of list total should be displayed, in that case you can prepare the catalog in which you can set you default sum feature.

More Articles:

currency?
function module?
Error in Screen painter?
A note for Dr.SidewalkKindly read?
ST05 Question about 'Explain one SQL request'?
Storage space of internal table?