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

ALV Column Totalling

Former Member
0 Likes
643

I have written an ALV report but have a problem whereby when a numeric column is selected and the "total" button is pressed an ABAP dump occurs - message "the current application program detected a situation which really should not occur".

Does anyone have any idea what may be causing this?

Thanks

KB

1 ACCEPTED SOLUTION
Read only

former_member632991
Active Contributor
0 Likes
624

Hi,

Plesase post the complete dump.

Regards,

Sonika

I have written an ALV report but have a problem whereby when a numeric column is selected and the "total" button is pressed an ABAP dump occurs - message "the current application program detected a situation which really should not occur".

Does anyone have any idea what may be causing this?

Thanks

KB

4 REPLIES 4
Read only

former_member632991
Active Contributor
0 Likes
625

Hi,

Plesase post the complete dump.

Regards,

Sonika

Read only

Former Member
0 Likes
624

change the fieldcatalog for that field

wa_fieldcatalog-datatype = 'CURR'.
wa_fieldcatalog-do_sum = 'X'.

Read only

Former Member
0 Likes
624

hi kevin,

just try to calculate the total for the intiger data type field istead somether data type.

regards..

seshu.

Message was edited by:

maddipatla Seshu chowdary

Read only

Former Member
0 Likes
624

Thanks everyone, I have managed to solve the problem. I had named a field differently in my internal table than in the structure I set up. Why this caused the dump it did I do not know, but correcting the error has solved the problem.