Hello Marc Altabus,
Thanks for your reply .
if i write leave to screen 0 .after that it goes to handle double click event and leading to dump .
Method call sequence .
INITIALIZATION.
* *class declaration
DATA : lcl_storage TYPE REF TO lcl_storage.
DATA : lcl_event TYPE REF TO lcl_event.
CREATE OBJECT : lcl_storage.
*-------------------------------------------------------------------------------------*
* Start of selection
*-------------------------------------------------------------------------------------*
START-OF-SELECTION.
CALL METHOD : lcl_storage->get_mlgn,
lcl_storage->get_mlgt ,
lcl_storage->get_text,
lcl_storage->get_final,
lcl_storage->build_fieldcat,
lcl_storage->hotspot_click,
lcl_event->handle_double_click.
Dump :
An exception has occurred which is explained in more detail below. The
exception, which is assigned to class 'CX_SY_REF_IS_INITIAL' was not caught and
therefore caused a runtime error. The reason for the exception is:
You are trying to access a component with a 'ZERO' object reference
(points to 'nothing'). Variable: "LCL_EVENT".
An object reference must point to an object (an instance of a class)
before it can be used to access a component. The reference has either
never been set, or it was set to 'ZERO' with a CLEAR statement.
79 START-OF-SELECTION.
80 CALL METHOD : lcl_storage->get_mlgn,
81 lcl_storage->get_mlgt ,
82 lcl_storage->get_text,
>>>>> lcl_storage->get_final,
84 lcl_storage->build_fieldcat,
85 lcl_storage->hotspot_click,
86 lcl_event->handle_double_click.