on 06-10-2013 11:40 AM
Hi
I need to refresh selet option for that some one has suggested me to use Invalidate method but how my wizard is old and I dont know how to call it.
Hi Ankita,
Invalidate method is used to invalidate/Clear all elements of a node.
You can use the method as below:
DATA lo_nd_cn_input TYPE REF TO if_wd_context_node.
lo_nd_cn_input = wd_context->get_child_node( name = wd_this->wdctx_cn_input ),
lo_nd_cn_input->invalidate( ).
Regards,
Sanjeev Kotwal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ankita,
1)First you need to get the node :
lo_nd_importing_1 = lo_nd_time_timesheet->get_child_node( name = wd_this->wdctx_importing ).
2) Call the invalidate method of node :
lo_nd_importing_1->invalidate( ).
3)Get the elements of the node:
lo_el_importing_1 = lo_nd_importing_1->get_element( ).
4) Clear the structure which you want to bind and Call the Set_static_attributes method :
CLEAR ls_importing_1.
lo_el_importing_1->set_static_attributes( EXPORTING static_attributes = ls_importing_1 ).
And you will be able to clear the selection screen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ankita,
By using wizard read that node, and use invalidate method.
* navigate from <CONTEXT> to <N_DEFECT> via lead selection
lo_nd_n_defect = wd_context->get_child_node( name = wd_this->wdctx_n_defect ).
lo_nd_n_defect->invalidate( ).
Cheers,
Kris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
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.