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 Issue

Former Member
0 Likes
433

Hi Friends,

I m doing OOPs based ALV using classes.

I want subtotal of my line item(at customer level) but i don't want grand total line that comes at the end of report.

When i use class cl_salv_aggregations to get subtotal, i am also getting grand total line.

Please tell me how can i get only subtotal and NO grand total line ..

Thanks

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
410

There doesn't appear to be a way to turn this off using the ALV Object Model, but I think there is using the CL_GUI_ALV_GRID class or the REUSE function module.

Regards,

Rich Heilman

Hi Friends,

I m doing OOPs based ALV using classes.

I want subtotal of my line item(at customer level) but i don't want grand total line that comes at the end of report.

When i use class cl_salv_aggregations to get subtotal, i am also getting grand total line.

Please tell me how can i get only subtotal and NO grand total line ..

Thanks

2 REPLIES 2
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
411

There doesn't appear to be a way to turn this off using the ALV Object Model, but I think there is using the CL_GUI_ALV_GRID class or the REUSE function module.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
410

Hi,

In your layout add code as below:

gt_layout-no_totalline = 'X'.

Thanks,

Sriram Ponna.