Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ALV grid

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

Tags:
Former Member
replied

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.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question