Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SALV Issue

Former Member
0 Likes
404

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

2 REPLIES 2
Read only

Former Member
0 Likes
378

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

Read only

Former Member
0 Likes
378

Thx