on 04-21-2004 7:39 AM
Hi Guys,
I have a requirement that in the ALV Grid display, I want a group column that consists of subsequent columns.
Group Column |
-
Col A | Col B | Col C |
-
Can some one tell me how we might achieve this and how the field catalog must be filled in such a case.
Regards,
Pavan
Hi,
You must use the IT_SORT table of set_table_for_first_display method to create the groups.
It will create the subtotals/groups after the registers contained in it. If you want to show it before, you must use the field IS_LAYOUT-TOTALS_BEF (also in method set_table_...)
regards,
David R.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
I am not exactly looking for grouping of columns or subtotals.
I want the column headers to read in such a way.
Like
Quantity | |
Min | Max |
And I will have only two columns in my internal table, its just that the column headers should read in this manner, hope my question is clear.
Regards,
Pavan
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.