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 Method set_table_for_first_display - Summarization error

Former Member
0 Likes
600

Hi all.

I'm facing an issue when trying to create the subtotal line in my ALV OO.

Is there anything different that I have to do because it's in a subscreen?

I've already done the following steps (that I assumed enough) to create the subtotal line.

1. For FIELDCAT, DO_SUM = 'X';

2. In SORT I have SPOS = 1, FIELDNAME = 'DMBTR', SUBTOT = 'X';

The result I'm getting is the following one:

Thanks for your help and attention.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
566


Hello,

"2. In SORT I have SPOS = 1, FIELDNAME = 'DMBTR', SUBTOT = 'X';"

Sub-total ideally should be on non summation field. (or level of sub total required )for example material number or storage bin

Cheers,
Nag

2 REPLIES 2
Read only

Former Member
0 Likes
567


Hello,

"2. In SORT I have SPOS = 1, FIELDNAME = 'DMBTR', SUBTOT = 'X';"

Sub-total ideally should be on non summation field. (or level of sub total required )for example material number or storage bin

Cheers,
Nag

Read only

0 Likes
566

Hi Naga.

You response helped me to find what was wrong with my code.

Working fine now.

Thanks for your attention and reply.