Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ALV Count the records in group

Former Member
0 Kudos

I have a report which list the billing documents which sort and group by sales office. The layout is something like this

Sales Office Billing Document Amount

A 0001 1000

A 0002 1000

Doc. count = 2

B 0003 1500

Doc. count = 1

I know that I can add a column with the value 1 in each cell and sum them up.

Is that any other alternatives?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Where do you want to show this count. Do you want to show it as the column in output or in the header of the ALV. You can just see the entries in the output table and print that count.

Reward points if useful.

Regards,

Atish

2 REPLIES 2

Former Member
0 Kudos

Hi,

Where do you want to show this count. Do you want to show it as the column in output or in the header of the ALV. You can just see the entries in the output table and print that count.

Reward points if useful.

Regards,

Atish

Former Member
0 Kudos

Hi TY, I dont think there's any alternative to it.

The best to way to go about this is by the method which you have described.