2007 Mar 13 4:17 AM
Hi Gurus
I am developing the ALV report as follows:
Confirmed Qty | SalesUnit
10 EA
20 EA
30(TOTAL) EA
10 KG
5 KG
15(TOTAL) KG
Please suggest me the idea.
Regards,
Kumar
2007 Mar 13 4:27 AM
Hi sree,
coudnt clearly understand wat u are looking for...but if u are looking for subtotals..
the following sample code might help..
data: i_sort type slis_t_sortinfo_alv,
wa_sort type slis_sortinfo_alv.
wa_sort-spos = '1'.
wa_sort-fieldname = 'line'.
wa_sort-up = 'x'.
wa_sort-subtot = 'x'.
append wa_sort to i_sort.
clear wa_sort.
and use the internal table in the respective fm...
hope this helps u a bit,
all the best,
regards,
sampath
mark helpful answers
if solved please close multiple threads to make sdn easy and better
Message was edited by:
sampath pilla
Hi Gurus
I am developing the ALV report as follows:
Confirmed Qty | SalesUnit
10 EA
20 EA
30(TOTAL) EA
10 KG
5 KG
15(TOTAL) KG
Please suggest me the idea.
Regards,
Kumar
2007 Mar 13 4:27 AM
Hi sree,
coudnt clearly understand wat u are looking for...but if u are looking for subtotals..
the following sample code might help..
data: i_sort type slis_t_sortinfo_alv,
wa_sort type slis_sortinfo_alv.
wa_sort-spos = '1'.
wa_sort-fieldname = 'line'.
wa_sort-up = 'x'.
wa_sort-subtot = 'x'.
append wa_sort to i_sort.
clear wa_sort.
and use the internal table in the respective fm...
hope this helps u a bit,
all the best,
regards,
sampath
mark helpful answers
if solved please close multiple threads to make sdn easy and better
Message was edited by:
sampath pilla
2007 Mar 13 4:31 AM
You have to sorting onUnit of measure and sum on Qty.
Regards,
Sujatha.
2007 Mar 14 12:17 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |