on 05-18-2010 9:51 PM
Hi All,
I have a context nodes like below.
Datasource
-Node1 (supply function)
--Node11 (supply function)
---Att11
---Att12
-Node2
-Node3
When I select an option in the Radio buttons, for the first time, Node11 is populated with data.
When I select different option in the Radio buttons, for the second time, Node11 is repopulated with new data, still it has old data.
How to repopulate the data in context based on the user selection?
Thanks
Sundar
Hi,
Associate an action with the user selection. In that action, read the context node which you want to reload with data.
now call method "invalidate" from interface if_wd_context_node. The instance of this interface you already have when u read tthe node. This method call : lo_context->invalidate( ) will retrigger the supply function and it will load data as per new selection.
Regards
Vishal Kapoor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
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.