How to check wether node is initial or not ?
we have a variable MO_Current_ORGval which refers to IF_WD_CONTEXT_element.
During runtime i need to check wether the node is initial or not ?
how to achieve this ?
i have tried using MO_Current_ORGval->get_node( ) is initial .
But no use.
check wd_comp_controller->mo_current_orgval is not initial.
"" Here i need to check , whether the node is having any value or not.
Ramakrishnappa Gangappa replied
Okay, I could see from snap shot that, NODE is an attribute of class CL_WDR_CONTEXT_ELEMENT.
Please try the below code
data lo_wdr_element type ref to cl_wdr_context_element.
lo_wdr_element ?= wd_comp_controller->mo_current_orgval.
if lo_wdr_element is bound.
if lo_wdr_element->node is bound.
Hope this resolves your issue.