cancel
Showing results for 
Search instead for 
Did you mean: 

ALV grid

gautam_totekar
Active Participant
0 Kudos

How to display sub totals and some calculated values in ALV grid.

Say company wise Employee details..

For Each Company display employee count = total number of employees.

Company salary = total employee salary for the company.

company Due = company salary * 0.00025/12.

Eg.

COMAPANY 1000

Employee 1 2000.00

Employee2 1000.00

Company count = 2

Company salary = 3000.00.

company Due = 0.625

COMAPANY 3000

Employee3 2000.00

Employee count = 1

Company salary = 2000.00.

company Due = 0.0416

grand count = 3

grand salary = 5000.00

grand due = 0.1

Edited by: Gautam Totekar on Oct 8, 2008 9:26 PM

Edited by: Gautam Totekar on Oct 8, 2008 9:27 PM

Accepted Solutions (1)

Accepted Solutions (1)

former_member188685
Active Contributor
0 Kudos

check the transaction FBL5n if the similar look you want debug it.

if not using the SORT options based on company code and pass it to ALV function.

in the sort mention the subtotal = 'X' at company code level.

Answers (0)