Skip to Content
0
Former Member
Mar 10, 2009 at 12:53 PM

Dynamic creation of node in ABAP WD

11 Views

Hi All,

Can anyone please suggest me why in ABAP webdynpro the second code is more prefareable then the first one.

It's mentioned in SAP material that the 2nd code is more prefarable.

1) lr_parent_node = wd_context->get_child_node(

name = '<parent_node>' )

lr_parent_node_info = lr_parent_node->get_node_info( )

2) lr_root_node_info = wd_context->get_node_info( )

lr_parent_node_info = lr_root_node_info->get_child_node(

name = '<parent_node>' )