cancel
Showing results for 
Search instead for 
Did you mean: 

Row repeater issue

Dev164
Participant
0 Kudos

Hi Experts!

    

Following is node structure

    

Project

|

--------User

          |

          -----------Task.

Repeater is repeated only project times but i need it to repeate user times.

Plz help!!  

Accepted Solutions (0)

Answers (1)

Answers (1)

chengalarayulu
Active Contributor
0 Kudos

Mangesh,

There must one more RowRepeater for users.. then only it can be repeated user times...

although Project also will be repeated.. you can check below document..

http://scn.sap.com/docs/DOC-27866

Dev164
Participant
0 Kudos

Hello Chengalarayulu,

                                   I tried ur example but there u r setting index statically i want ot set it dynamically i tried using var. but it gives a error

chengalarayulu
Active Contributor
0 Kudos

Mangesh,

if_wd_context_element - there is a method get_child_node... this will be useful to get child node reference..

ex.

lt_parent_node_elements..

loop at lt_parent_node_elements into ls_parent_elements..

lo_nd_child_node = ls_parent_elements->get_child_node( 'ND_CHILD' ).

"""" now you can make use of child node reference at index 1 of parent node..

lo_el_child_node = lo_nd_child_node->get_element( ). etc...,

endloop.

try, work around this..