cancel
Showing results for 
Search instead for 
Did you mean: 

Search help-table

Former Member
0 Kudos

Hi,

I am using OVS for search help in a table.But the problem is when I select any value in search help it always puts value in first row. I also tried

lr_element = wdevent->get_context_element( 'CONTEXT_ELEMENT' ).

but not able to solve it. Any one can help please?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Use ovs_callback_object->context_element to get the element. That will solve your problem.

Regards

Nithya

Former Member
0 Kudos

thanks Nithya for your quick answer. I am writting this code in phase three can u please send a sample code ? Below is my context that is bound to a table .

context

---node1

-


initiator_info(subnode)

---vorna(att)

---pernr(attr)

when if_wd_ovs=>co_phase_3.

  • apply result

if ovs_callback_object->selection is not bound.

                • TODO exception handling

endif.

assign ovs_callback_object->selection->* to <selection>.

if <selection> is assigned.

elem_initiator_info->set_attribute( name = 'PERNR'

value = <selection>-PERNR ).

elem_initiator_info->set_attribute( name = 'VORNA'

value = <selection>-VORNA ).

endif.

Former Member
0 Kudos

Instead of elem_initiator_info->set_attribute, use

<b>ovs_callback_object->context_element->set_attribute( ).</b>

Regards

Nithya

Former Member
0 Kudos

thanks Nithya . Can you check my post 'dropdown validation'. No one able to give me answer. I have to validate it from component controller.Simply i want that user must select any value from dropdown or it will be highlighted in red .

Answers (0)