on 03-03-2016 11:52 AM
Hi Experts,
I have created on webdynpro application, in which there are some input fields for enter values. But as soon as I enter values in these input fields it is getting refreshed. I have not written any logic to refresh the same.
But I would like to maintain the data in the field untill the view exit.
Already written logic in WDMODIFYVIEW Method.
In which I am reading the node and setting the node. but it is not working.
Please help.
Regards,
Pradeep.
Hi Pradeep,
Check if you do note have the invalidate method in your code because that the one that normally clears the nodes :
DATA lo_nd_## TYPE REF TO if_wd_context_node.
lo_nd_##->invalidate( ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Pradeep!
Could you show the implementation of WDMODIFYVIEW?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
DATA lo_nd_mat_selection TYPE REF TO if_wd_context_node.
DATA lo_el_mat_selection TYPE REF TO if_wd_context_element.
DATA ls_mat_selection TYPE wd_this->element_mat_selection.
lo_nd_mat_selection = wd_context->get_child_node( name = wd_this->wdctx_mat_selection ).
lo_el_mat_selection = lo_nd_mat_selection->get_element( ).
IF lo_el_mat_selection IS NOT INITIAL.
lo_el_mat_selection->get_static_attributes(
IMPORTING
static_attributes = ls_mat_selection ).
ENDIF.
" Set the selection parameters
lo_nd_mat_selection = wd_context->get_child_node( name = wd_this->wdctx_mat_selection ).
lo_el_mat_selection = lo_nd_mat_selection->get_element( ).
IF lo_el_mat_selection IS NOT INITIAL.
lo_el_mat_selection->set_static_attributes(
static_attributes = ls_mat_selection ).
ENDIF.
I am trying to implement the logic to maintain the data whatever is entered by the user in the input field.
Using get method I am trying to get the data which is entered by the user, and the same value is needs to be displayed in the fields.
At present, whenever user enters the value in the field it is getting disappeared as soon as I move to next input field.
please help.
Regards,
Pradeep
User | Count |
---|---|
81 | |
25 | |
12 | |
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.