on 05-19-2015 11:06 AM
Hi every one,
am trying to get value of second field based on the first field.............
here am able to get value for 1st record and am not getting value from 2nd field
here its WD COMP to save data to ztable which is editable screen short is below
here used onenter event for cell editor and dynamically filling DIP_VOL................
my functionality working for 1st record only.... actually controlling not passing to second record
here how to use working with CALL METHOD WDEVENT->GET_NAME in webdynpro
is ot works plzzz help meeeeeeeee sample code
how to pass parameter id
Hi Thirup,
wdevent gives the context element of the UI instance where the event was triggered, so get the context and based on that context get the attribute and process you logic and bind the secont attribute to the context element.
please check with the following code
data l_element type ref to IF_WD_CONTEXT_ELEMENT.
l_element = = WDEVENT->GET_CONTEXT_ELEMENT( 'CONTEXT_ELEMENT' ).
l_element->get_attribute( exporting name = 'ATTR1_1' importing value = lv_attr1 ).
//process
l_element->set_attribute( EXPORTING value = '1234' name = 'ATTR1_2' ).
Regards,
Harsha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
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.