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

exclude rows for total summation ?

Former Member
0 Likes
888

is it possible to exclude rows from the totalization process with cl_gui_alv_grid

or if not possible to write a footer which can be set to the same alignment as the alv fields on the screen ??

kind regards

arthur

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
765

if you want to exclude the total line then in layout use this..

data : wa_layout type LVC_S_LAYO.

wa_layout-NO_TOTLINE = 'X'.

If you want to remove the total option for NUMC fields , then

wa_layout-NUMC_TOTAL = 'X'.

Message was edited by:

Chandrasekhar Jagarlamudi

is it possible to exclude rows from the totalization process with cl_gui_alv_grid

or if not possible to write a footer which can be set to the same alignment as the alv fields on the screen ??

kind regards

arthur

3 REPLIES 3
Read only

Former Member
0 Likes
766

if you want to exclude the total line then in layout use this..

data : wa_layout type LVC_S_LAYO.

wa_layout-NO_TOTLINE = 'X'.

If you want to remove the total option for NUMC fields , then

wa_layout-NUMC_TOTAL = 'X'.

Message was edited by:

Chandrasekhar Jagarlamudi

Read only

0 Likes
765

nop, I want to exlude certain rows that meet certain conditions to be summed into the grandtotal for a certain column

so I make subtotals for instance of declared hours I have

order1 10

order2 20

order3 5

Subtotal 35

then I want to add a 2 rows underneath with the scheduled and available hours

scheduled 50

available 15 (sheduled minus subtotal of worked which can be calculated in abap before output)

but I don't want to subtotal or grandtotal those rows since the value

100 hours makes no point

Read only

Former Member
0 Likes
765

to old have to close down