Skip to Content
Jul 28, 2009 at 09:45 AM

ALV OO does not remember subtotals expand situation



I'm working with ECC6 and i had to change a program that was working with FM 'REUSE_ALV_GRID_DISPLAY' in 4/6C to OO.

When i refresh the screen the subtotals expand situation does not return to the last one.

I've tried to search for something like the GET_FRONTEND_FIELDCATALOG method that i've used to return the screen to the last column state, but couldn't find. I saw in debug mode that SAP uses a private method GET_GROUPLEVELS but i coudn't find another method that brings the data and is public.

I also tried to call directly to the 'LVC_TRANSFER_TO_KKBLO' FM but didn't succeed to get the relevant data.

There is a method GET_SUBTOTALS but there is no SET_SUBTOTALS or another way to pass it to SET_TABLE_FOR_FIRST_DISPLAY.

Any ideas?