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: 

Summation button in ALV report is giving shortdump

Former Member
0 Kudos

Dear All,

I have developed a ALV report. The report is a simple ALV report (Using REUSE_ALV_GRID_DISPLAY). When I am pressing the summation button at the top, it is giving a shortdump. The reason I have found out is the no. of columns are very large (45 to 50). Can anyone suggest how to handle this situation?

Best wishes,

Atanu

5 REPLIES 5

former_member181962
Active Contributor
0 Kudos

It looks like it is an overflow error.

The summation button is trying to sum up the column which amounts to more than what it can hold.

Change the declaration of that columns field to accomodate more value.

Regards,

Ravi

0 Kudos

Hi Ravi,

This is not because of overflow error. When I have reduced number of columns to 15-20 the summation is coming properly. But we will require to show all the fields( around 63). Any idea, how to handle?

Best wishes,

Atanu

0 Kudos

What is the dump's error id?

former_member188685
Active Contributor
0 Kudos

Hi atanu,

on what field you are using summing option, and what is the output length you mentioned for that field in fieldcat.

Regards

vijay

former_member188685
Active Contributor
0 Kudos

Hi atanu,

then you can use DO_SUM = 'X' (for the field which you want to sum option) in the fieldcat , this will try to sum while display it self.i mean in list display it will show the totals also.

then you need not to explicitly click on SUM button.

Regards

vijay