Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ALV Grid Control: Subtotal Collapse

Hello, I've recently programmed a report using the ALV grid control using the OO methods. For some reason when a user does a total and/or a subtotal, they are not able to click the total/subtotal line to collapse (summarize). Has anyone else experienced this? I'm sure there must be a solution. Thanks.

Former Member

You have to make your ALV as output only inorder to get the expand collapse button working.

I ran the program BCALV_EDIT_08.

I did the total on the Lug. weight

Than I did the subtotal on the Flight No (2nd column)

I have tried to collapse the subtotal .. but it didn't work. When I move cursor over to collapse field , the icon for Hotspot is not coming.

I pressed F5 and it changed the look of the ALV. Now the selection field has gone from the ALV

and Surprisingly, I am able to Collapse and expand the Total and Subtotal line becuase when I move the cursor on the Expand collapse button, I got the Hotspot.

When we press F5, it changes the layout and making the ALV ... only for output.

    call method g_grid->set_ready_for_input               
                    exporting i_ready_for_input = 0.      "<< 


Naimesh Patel

Edited by: Naimesh Patel on Oct 16, 2008 11:15 AM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question