Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

bind data to node under node under node

$
0
0

WD Experts,

 

     I have a table wherein user has to do F4 based on corresponding description in the right side ,

     Each line will have different F4 value based on value in right side.

     Qn 1 . How to dynamically populate different F4 in WD tables for each row.

 

For that purpose , i have created the context node in the below format

     node1

          Node 1.1

          Node 1.2

               Node 1.2.1

 

         

 

i can able to bind data to the nodes till node 1.1 & node 1.2 and stuck up with the node 1.2.1 . In the above fig source_f4.

I searched in sdn and tried to populate the data to nodes 1.1 & 1.2

 

Code snippet :

LOOP AT lt_target_dim INTO ls_target_dim.
     lr_element = lo_nd_target_dim->get_element( sy-tabix ).
     wd_node = lr_element->get_child_node( 'CRITERIA' ).
     wd_node->bind_table( lt_criteria ).
     wd_node = lr_element->get_child_node( 'SOURCE_DIM ').
     wd_node->bind_table( lt_source_dim ).

ENDLOOP.

 

Qn2 : In the above , how to bind data to inner node under node source_dim. i tried to get the reference and populate as node1 . but it is not working.

Please suggest how to bind data to node under node under node.

Thanks....


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>