Dear Gurus,
While executing the below mentioned code, i'm getting the dump.
DATA: l_node TYPE REF TO if_wd_context_node,
l_element TYPE REF TO if_wd_context_element,
l_prop TYPE wdr_context_prop_for_node,
l_props TYPE wdr_context_prop_for_node_tab.
l_node = wd_context->get_child_node( wd_this->wdctx_node2 ).
l_node->get_attribute_props_for_node(
IMPORTING
properties = l_props ).
l_count = l_node->get_element_count( ).
And the Short Dump is :
An exception occurred which is explained in detail below. The exception, which is assigned to class 'CX_WD_CONTEXT', was not caught and therefore caused a runtime error. The reason for the exception is: Value 1 is not a valid index; context node: COMPONENTCONTROLLER.1.NODE2
Kindly requested to correct the code if I'm wrong.
Regards,
-Syed.