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
419

Hello!

how can I sum one col in ext.table?

Thanks!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
404

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
405

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
404

Thanks!

it works, fine!