Skip to Content
Former Member
May 06, 2013 at 09:16 AM

accessing protected method from class CL_GUI_ALV_TREE



I have delveloped tree report using class CL_GUI_ALV_TREE.

I want to access a method CALCULATE_SUBTREE in that class.But it was protected method implemented in

super class CL_ALV_TREE_BASE class.

How to access this mehtod?

I created a local class inheriting the suprecalss and inside that i am accessing CALCULATE_SUBTREE .

But inside the mehtod the table values mt_outtab-> is initial.It gives the terinimation with access null reference.

Pleae let me know how do i access the values from the base class.