Hi,
I want to subtotaling on two different columns in ALV by sorting single or multiple columns. I have tried by following piece of code.
ls_sort-fieldname = document no.
ls_sort-subtot = X.
ls_sort-up = abap_true.
and for field catalog
*Field SETT_NET_AMOUNT
WHEN totalamount
<ls_fieldcat>-do_sum = X.
*Field WRBTR
WHEN ap/ar amount.
<ls_fieldcat>-do_sum = X.
But in this case both the subtotal displayed in different row.
Please suggest any solution so that both subtotal will be displayed in same row
Thanks
Sandeep Kumar Singh