on 07-13-2009 2:50 PM
hi ,
I have created dynamic context nodes on click of a single button ( ADD ) and I have binded it with the dynamic dropdown by indexes .
I want to read the context nodes for every single value selected from the dynamic dropdowns , in some other method (save ) in the same view .
How can I read the dynamic nodes in different method ? Any pointers in this regard .
Hi,
Initially when ever you create a dynamic node, move it to the global variable later you can access it.
Now in the SAVE button you can use this global context node refernce and do the processing.
In one method I created the node -
IF lr_node IS BOUND.
wd_comp_controller->lr_node = lr_node. "Global variable
ENDIF. "if lr_node is bound.
Aslo copy the table structure you crreated dynamically to global variable for later reference.
On SAVE -
FIELD-SYMBOLS :
<lt_table> TYPE STANDARD TABLE .
CALL METHOD wd_comp_controller->lr_node->get_static_attributes_table
IMPORTING
table = <lt_table>. "dynamic table
Like wise you can get the data from this dynamic node.
Refer this thread for help -
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.