01-13-2016 3:51 PM
01-14-2016 7:57 PM
Hi,
I solved the problem using the code below:
lv_entity ?= lr_col->get_first( ).
WHILE lv_entity IS BOUND.
lr_child = me->node_factory->get_proxy(
iv_bo = lv_entity
iv_parent_proxy = me
iv_proxy_type = 'ZCL_PRODUCT_TREE' ).
lr_child->is_leaf = abap_false.
lr_child->expand_node( ).
APPEND lr_child TO rt_children.
lv_entity ?= lr_col->get_next( ).
ENDWHILE.
01-14-2016 7:57 PM
Hi,
I solved the problem using the code below:
lv_entity ?= lr_col->get_first( ).
WHILE lv_entity IS BOUND.
lr_child = me->node_factory->get_proxy(
iv_bo = lv_entity
iv_parent_proxy = me
iv_proxy_type = 'ZCL_PRODUCT_TREE' ).
lr_child->is_leaf = abap_false.
lr_child->expand_node( ).
APPEND lr_child TO rt_children.
lv_entity ?= lr_col->get_next( ).
ENDWHILE.