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

error while calculating total in alv list

Former Member
0 Likes
1,066

hi experts,

I have a an ALV list report with some fields like material no, qty,vendor ,price etc.

when i am trying to use summassion icon for calculating the total of qty.

it is throwing an information message that

" The field Quantity cannot be totalled because of field overflow"

what shall i do for this. why it is happening like this???

regards,

mani

hi experts,

I have a an ALV list report with some fields like material no, qty,vendor ,price etc.

when i am trying to use summassion icon for calculating the total of qty.

it is throwing an information message that

" The field Quantity cannot be totalled because of field overflow"

what shall i do for this. why it is happening like this???

regards,

mani

4 REPLIES 4
Read only

Former Member
0 Likes
834

Hi Mani,

I dont know hw much it is useful to you but i am giving my idea.

Check in your list hw many records or there? and ur saying it is showing error as field overflow may be the total length (no of chacters) size is greater than the actual field length thats why it is showing such kind of error.suppose if your field leng is 13 chacters and after the sum it may increased to 15 chacters thats why it may showing that error.

Try to display only 5-10 records in the alv list and try to do sum and check it is giving the same error or not.

<b>Reward if useful</b>

Regards,

sunil kairam.

Read only

Former Member
0 Likes
834

i think it should not go for dump.Please delete the FM from your program and call again,

This is my may work

As i did it many times and please check the field catlog once.

Read only

Clemenss
Active Contributor
0 Likes
834

Hi manikandan,

you should have related your quantity field to a unit field. This can be done in fieldcatalog or in dictionary structure if you use one for display. Then you have separate sums for each unit key.

The sum of all values will be stored in a field with same technical characteristics as the single value field. So you may declare the quantity field longer. Or sort the tzable by quantities and see one or more too big quantities - Some people love it for testing...

You can filter them and everything is fine.

Regards,

Clemens

Read only

former_member156446
Active Contributor
0 Likes
834

colsely look at the field names and the values being based to field catalog...