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

Sum

Former Member
0 Likes
417

Hello!

how can I sum one col in ext.table?

Thanks!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
402

This code is untested, but should get you in the right direction.


data: rslt   type i,

select SUM( column ) into rslt from my_table
  where your_conditions.

write:/ rslt.

2 REPLIES 2
Read only

Former Member
0 Likes
403

This code is untested, but should get you in the right direction.


data: rslt   type i,

select SUM( column ) into rslt from my_table
  where your_conditions.

write:/ rslt.

Read only

0 Likes
402

Thanks!

it works, fine!