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: 

SUM in ALV REPORT

Former Member
0 Kudos

hi all

i want a sum in alv report. but i have two company seling amount and both in one row. so if i want to sepret this both field means i want to leave one or two line between this two party. and want sum of this two party in same line.

please help me out as soon as possible

thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

I believe u shkd be having two company number on the out put of ALV list...

U can use that feild & do a subtotal for AMOUNT grouping by company fields.

U will be having a Sub-total button on ALV Grid output...

Regards.

Bhargava

2 REPLIES 2

Former Member
0 Kudos

Hi,

In alv we get the sum of any fields by settting the attribute do_sum = 'X' for which field we need sum

while populating fiel catalog of a internal table used.

Regards

Poornima

Former Member
0 Kudos

Hi,

I believe u shkd be having two company number on the out put of ALV list...

U can use that feild & do a subtotal for AMOUNT grouping by company fields.

U will be having a Sub-total button on ALV Grid output...

Regards.

Bhargava