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

total

Former Member
0 Likes
405

Hi

My req is i have customer, number and total in output

now based on customer/number combination i want to add the total.

how can i do it

Thanks in advance

2 REPLIES 2
Read only

Former Member
0 Likes
349

Hi,

sort itab by customer number.

loop at itab.

on change of itab-customer or itab-number.

sum .

write: / itab-customer, itab-number, itab-total.

end on.

endloop.

thanks & regards,

Venkatesh

Read only

kiran_k8
Active Contributor
0 Likes
349

Krk,

If you are using an alv report then all you have to do is highlight the customer number column and then click on subtotals buttons.Then highlight the total column and click on the button aggregation.This will give you the totals based on the customer number.

K.Kiran.

Message was edited by:

Kiran K