on 10-08-2008 4:56 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.