on 06-28-2010 2:14 PM
Hi Experts,
I need to get the attribute referance of the select options field which has OVS attached to it.
However when i try the following code , io_value does not get any class referance assigned.
DATA: lo_element TYPE REF TO if_wd_context_element,
io_value TYPE REF TO data,
lv_name TYPE string.
lo_element = ovs_callback_object->context_element.
io_value = lo_element->get_attribute_ref( name = I_OVS_DATA-M_SELECTION_FIELD_ID ).
I can get the same attribute referance when the OVS is attached to the parameter ( Input field ).
as per the code below.
DATA: lo_element TYPE REF TO if_wd_context_element,
io_value TYPE REF TO data,
lv_name TYPE string.
lv_name = ovs_callback_object->context_attribute.
lo_element = ovs_callback_object->context_element.
lo_value = lo_element->get_attribute_ref( name = lv_name ).
Can you guys help to get the same referance working for select options field?
Regards,
Ashish Shah
Ashish,
" Get the attribute reference of the field
DATA ld_context_attribute TYPE string.
wdevent->get_data( EXPORTING name = 'OVS_CONTEXT_ATTRIBUTE'
IMPORTING value = ld_context_attribute ).
Hope it solve.
Regards
Vasundhara
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.