‎2009 Feb 27 12:46 PM
Hello all,
I am stuck in a peculiar problem.
I have developed a SALV and i am sorting on 2 fileds say 'LOCATION' and 'PAYMENT METHOD'.
Now when i an clicking on the summary button for the amount it is showing me the summary(I have aggregated the amount field 'AMOUNT) based on the 'LOCATION'.
But i want the summary based on the ''PAYMENT METHOD''.
Problem is my order of sorting is 'LOCATION' and then 'PAYMENT METHOD'.
Please suggest how can i solve the same.
Regards,
Arun
‎2009 Feb 27 2:51 PM
Hi,
If I understand you right, you want to have subtotals based on "Payment_method".
Therefore you can use method set_subtotal of Class cl_salv_sort.
Regards,
Karl
‎2010 Mar 29 9:35 PM