on 01-25-2014 3:41 PM
Hello ,
I have a drop down which contains a list of Activities. For Drop down i have used a Supply function to fill values during start of application.
User can add/delete the activities from that drop down.
Now I have to refresh Drop down, so Can I call Supply Function for that OR any other way to refresh it
Hi Jitendra,
Yes, you can trigger Supply Function explicitly by using method INVALIDATE( ) of interface if_wd_context_node as below
METHOD REFRESH.
data lo_node type ref to if_wd_context_node.
lo_node = wd_context->get_child_node( name = 'MY_NODE' ).
lo_node->invalidate( )
ENDMETHOD.
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Soni,
Invalidate the node, to refresh or re-fill the node.
Thanks & Regards,
Sankar Gelivi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which drop-down you are using by key or index ??
I don't think you really required supply function to fill data in any drop-down.. And on action of delete/add just repopulate the valueset / itab of drop down.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.