Skip to Content
0

How to use SUM in cds?

Dec 05, 2017 at 03:25 AM

43

avatar image
Former Member

Hello Guys,

I need to get the total sum of all rows of a column but when I try to use SUM function I get error:

Could anyone can helpme?

suma.png (12.0 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Lokeswar Reddy Byni Dec 05, 2017 at 06:08 AM
0

hey,

you should use group by along with sum key word.

please refer to the link:

https://sapcodes.com/2016/09/26/abap-cds-on-hana-7/

Thanks,

Lokeswar.

Share
10 |10000 characters needed characters left characters exceeded