Skip to Content
0
Former Member
May 15, 2008 at 05:37 AM

ABAP OO question

26 Views

Hi,

Can someone please explain me the concept withe the below behavior ?

System : SAPCRM 20007.

Class : CL_BT311H_C_CSROVERVIEW_IMPL

Super Class : CL_BT311H_C_CSROVERVIEW.(A)

Super class of A : CL_CRM_UIU_BT_H_OVW_VIEWSET (B)

Method Do_Handle_event is defined in the Super class.

Please look at method call EH_ONCREATE_CLOSED(line 64) in the above do_handle_event method. This method is not defined in the super class (A) but is defined in Sper class B. In this case, wouldn't we need to use keyword 'SUPER' ?

When I double click on EH_ONCREATE_CLOSED method it takes me to the Super class B. I would expect the same behavior when I debuf, i.e control must go to the definition of the method in super class B. But in debug mode EH_ONCREATE_CLOSED takes us to the definition in implementation class ( CL_BT311H_C_CSROVERVIEW_IMPL) ( There is a method with same name EH_ONCREATE_CLOSED in the impl class. Why this behavior ?