on 01-16-2008 5:13 PM
In my context, I have a subnode (0..n) embedded in a node (0..n). In my view, I am using a link to action in my table that will open a table popin (where I will show the subnode table). Therefore, I can not use a supply function (supply functions require the row to be the lead selection, and I need to table-popin multiple rows). Could someone tell me what I need to do to be able to load a table into the subnode?
Hi Robert
In onAction event of the LinkToAction provide this code.
data: lr_element type ref to if_wd_context_element.
data: lr_node type ref to if_wd_context_node.
The Below statement give you the element of the node which is clicked
lr_element = wd_event->get_context_element( 'CONTEXT_ELEMENT' ).
lr_node = lr_element->get_child_node( '<name of child node>' ).
fill internal table based on the attribute values of lr_element
lr_node->bind_table( <internal table> ).
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.