Application Development 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: 

ERR IN SELECT

Former Member
0 Kudos

select SUM( KAWRT )

from konv

INTO Z_KAWRT

where knumv = Z_KNUMV

and kschl = Z_KSCHL.

I GET ERR T "AGGREGATE...THE ADDITION distinct ARE NOT SUPPORTED ...."

1 ACCEPTED SOLUTION

nishanthbhandar
Contributor
0 Kudos

KONV is a cluster table and so u cannot use the addition SUM ( fieldname ) with this table. That is why u r getting the error message.If the purpose of your select is to sum up KAWRT then select the required records into an internal table and add them up.

2 REPLIES 2

nishanthbhandar
Contributor
0 Kudos

KONV is a cluster table and so u cannot use the addition SUM ( fieldname ) with this table. That is why u r getting the error message.If the purpose of your select is to sum up KAWRT then select the required records into an internal table and add them up.

Former Member
0 Kudos

hi Liat tal,

please use this query.

select SUM( KAWRT )

INTO Z_KAWRT

from konv

where knumv = Z_KNUMV

and kschl = Z_KSCHL.

hope this help you.

~John