2008 Apr 24 2:54 PM
Hello,
We have made an upgrade from 4.6C to ECC6.
In a report with ALV, I accessed to the attributes "mt_grouplevels_filter" and "mt_grouplevels" of the CL_GUI_ALV_GRID class, to set group levels.
Now in ECC6, the sames attributes don't exist. We should use 'm_cl_variant->mt_grouplevels_filter'. (cf. method 'get_subtotals'). But the attribute m_cl_variant is private !
I can't access it from my report (I use a local class INHERITING FROM cl_gui_alv_grid).
How can I set values to m_cl_variant attribute ??
Thank you very much.
Bernard Pochin.
Hello,
We have made an upgrade from 4.6C to ECC6.
In a report with ALV, I accessed to the attributes "mt_grouplevels_filter" and "mt_grouplevels" of the CL_GUI_ALV_GRID class, to set group levels.
Now in ECC6, the sames attributes don't exist. We should use 'm_cl_variant->mt_grouplevels_filter'. (cf. method 'get_subtotals'). But the attribute m_cl_variant is private !
I can't access it from my report (I use a local class INHERITING FROM cl_gui_alv_grid).
How can I set values to m_cl_variant attribute ??
Thank you very much.
Bernard Pochin.
2008 Apr 25 9:15 AM
2008 Apr 28 10:59 AM
2008 Apr 28 5:13 PM
I'm sorry to insist but it's very important for me.
There is a method 'GET_SUBTOTALS' in CL_GUI_ALV_GRID but there is not a method to set subtotals.
I want to get subtotals, modify it, and set to the ALV. In fact I want to access m_cl_variant->mt_grouplevels_filter.
How can I do ?
Thank you very much.
Bernard Pochin.