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: 

Query issue

Former Member
0 Kudos

I have a query and it works great. However, when I total a column in the ALV (after the Query is executed) it gives me an overflow error. How can I correct this issue?

Regards,

Davis

Edited by: Davis on Oct 20, 2008 6:23 PM

6 REPLIES 6

Former Member
0 Kudos

Try changing the output length of the field you are summing up and it must work.

0 Kudos

I tried that and it didn't work. I changed it from 6 to 30; I would suspect that 30 would be plenty big.

Any other ideas?

Regards,

Davis

Former Member
0 Kudos

I am just hoping that somebody has an idea.

Thanks,

Davis

0 Kudos

Is any character values in the column?

former_member598013
Active Contributor
0 Kudos

Hi Davis,

check out the field declaration. this might cause you a problem.

Thanks,

Chidanand

0 Kudos

This does cause the problem; I need to change it somehow. The issue is that the field is p0007-wostd. It is the number of hours worked (output length of 6 with decimals). When you try to total this column the value will sometimes (most of the time) be larger than 6 thus the overflow. I need to avoid this overflow issue by increasing the output length somehow.

I tried manually increasing it in the Basic List screen (on the left hand side) but that didn't help.

Thanks,

Davis