I have created a new method(not attribute method) in the context node class to have some common code for my requirement. Now I want call this method in Event Handler of the IMPL class. My code in Event Handler is below
DATA: lr_node TYPE REF TO ZL_BP_HEAD1_MAINSEARCH_IMPL.
CALL METHOD lr_node->zcustom_method * EXPORTING * attribute_path = attribute_path * iterator = RECEIVING value = lv_value
I am not getting the value in lv_value.
Please help me to call Context node Zmethod in Implementation class mtethod.