on 07-28-2010 8:28 AM
Hi Experts
I am working with wdabap application where my scenario is when i click on clear button the fields (like table ,form, input fields etc) should be cleared and a blank screen should displayed.
can you please help me how to write the code in clear action using webdynproabap .
Thanks&Regards
Deepika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Here is the code snippet:
DATA lo_nd_node_flight TYPE REF TO if_wd_context_node.
DATA lo_el_node_flight TYPE REF TO if_wd_context_element.
DATA ls_node_flight TYPE wd_this->element_node_flight.
* navigate from <CONTEXT> to <NODE_FLIGHT> via lead selection
lo_nd_node_flight = wd_context->get_child_node( name = wd_this->wdctx_node_flight ).
lo_nd_node_flight->invalidate( ).
Regards,
Srilatha
hi Deepika,
IF_WD_CONTEXT_NODE has several methods and one of them is invalidate.
Your code snipet could be like this.
DATA lo_nd_yournode TYPE REF TO if_wd_context_node.
navigate from <CONTEXT> to <lo_your_node> via lead selection
lo_nd_yournode = wd_context->get_child_node( name = wd_this->wdctx_yournode ).
invalidate the node
lo_nd_yournode->invalidate( ).
PS : replace the yournode with your nodename.
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.