hello Mr. Korolev..

Question:
hi,
i am unable to program for Subtotals and totals , which we can attain using control events in normal reports,in the ALV LISTS....how to get the subtotals/totals and branching the data for a given user/firm in a report(which we actually do using AT NEW , AT END ETC.. IN NORMAL REPORTING)with different colors.. iwas successful in getting a simple output in ALV LIST but was unable in getting or branching different parts of data for different users, subtotals...how do we do this?
thanks in advance,
anandsap
Answer:
I'm open to correction, but I don't think subtotals is possible in ALV lists? Only ALV grid is the button enabled?
Answer:
First, when using ALV a user can do totals/subtotals for himself/herself by pressing 'total' button. There is one in the default status. If you need to show totals/subtotals by default then you have to populate it_sort parameter of FM REUSE_ALV_GRID_DISPLAY before its call. Just add all the sorting fields to this parameter (it's an internal table) and fill subtot field with 'X' for the numeric fields you want to subtotal. Hope this helps.
_________________
Best regards, Sergey Korolev

More Articles:

[Resolved?] Problem in Table Control with checkbox column?
Display output in HTML?
Why could not commit work with BAPIs?
Changing Select-Options values?
How to handle ULINE?
authorization?