2014 Feb 28 10:12 AM
Hi,
I need help regarding to alv grid - totals and subtotals.
At this moment on bottom of alv grid i have text descriptions for total and subtotals in one row.
| Text1 | Text2 | Subtotal text | Total Value (sum of subtotals) |
|---|---|---|---|
| A | A1 | A1A | 1234567 |
*Text1 and Text2 are descriptions of categories of totals
I need to have every description in separate row like this:
| Text1 | Text2 | Subtotal text | Total Value (sum of subtotals) |
|---|---|---|---|
| A | |||
| A1 | |||
| A1A | 1234567 |
Thanx in advance.
Hi,
I need help regarding to alv grid - totals and subtotals.
At this moment on bottom of alv grid i have text descriptions for total and subtotals in one row.
| Text1 | Text2 | Subtotal text | Total Value (sum of subtotals) |
|---|---|---|---|
| A | A1 | A1A | 1234567 |
*Text1 and Text2 are descriptions of categories of totals
I need to have every description in separate row like this:
| Text1 | Text2 | Subtotal text | Total Value (sum of subtotals) |
|---|---|---|---|
| A | |||
| A1 | |||
| A1A | 1234567 |
Thanx in advance.
2014 Feb 28 10:20 AM
2014 Feb 28 10:36 AM
2014 Feb 28 7:04 PM
Hello,
Only option is to create you own field in output structure as total & subtotal..
In this case you need to do subtotal & total in your code before calling ALV.
for eg.
TYPES: BEGIN OF ty_output,
col001(255) TYPE c,
col002(255) TYPE c,
col003(255) TYPE c,
col004(255) TYPE c,
col005(255) TYPE c,
col006(255) TYPE c,
col007(255) TYPE c,
subtotal(20) TYPE c,
total(20) TYPE c,
END OF ty_output.
Regards,
Sameer