on 05-28-2011 12:39 PM
Dear All,
I have defined two attributes as input fields.If I change the value in first attribute automaticlly second attribute's value should be cleared .Please let me know how can I achieve this.
Thanks,
Reddy.
Hi Sudhir,
first of all there is no On change event for input field. So when you entered value in one input field means, you can do
onenter of that input field or you have to create any(butoon or link ) seperately.
In OnEnter of input field this type of 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 = `INPUT2` // INPUT Sis sec input field.
).
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 |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
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.