cancel
Showing results for 
Search instead for 
Did you mean: 

total into variable

Former Member
0 Kudos

hi guys

i have values like

10.00

10.00

10.00

i wanna sum them up and the total should be

lv_total = 30.00

plz advise...

thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

What's this?

you can simply add the variables

v_sum = var1 + var2 + var3.

or keep ina internal table and loop it and add the fields

Regards

Anji

Former Member
0 Kudos

hi ..thanks for ya reply...the values iam getting are in the internal table they are not three variables..

Former Member
0 Kudos

loop at itab.

at last.

sum.

write 😕 itab-var. "field u want

endat.

endloop.

Answers (0)