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

CL_GUI_ALV_GRID and ECC6

Former Member
0 Likes
544

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.

3 REPLIES 3
Read only

Former Member
0 Likes
502

Nobody can help me ?

Read only

Former Member
0 Likes
502

How can I set the group levels ?

thank you

Read only

Former Member
0 Likes
502

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.