on 12-28-2009 6:49 AM
Hi Gurus,
I am new to ABAP-Webdynpro.
I have created a screen with 3 input fields.
After the execution of a method...i want the values in the input fields to be refreshed.
How can i do that??
Sohil.
Hi,
If the context attributes to which input field is binded are under one node, then simply invalidate the node using :
lo_nd->invalidate( ) .
If independ context attributes are created then use set_attribute_null method to do this.
Refer this code:
DATA lo_el_context TYPE REF TO if_wd_context_element.
DATA ls_context TYPE wd_this->element_context.
* get element via lead selection
lo_el_context = wd_context->get_element( ).
** get single attribute
lo_el_context->set_attribute_null(
EXPORTING
name = `ABC` "ABC is the name of attribute ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.