cancel
Showing results for 
Search instead for 
Did you mean: 

Lead selecting the table row when an editable field in that row is selected.

former_member283828
Participant
0 Kudos

Hi,

I have a requirement to have a search help(OVS) in one of the column of the table and the values in the search help has to be displayed  based on the personnel number in that row.

How can I make the row to be lead selected when the user selects the editable column(search help) of that row in the table, so that I can get the personnel number from that row and display its specific search help.

Is there any table property which will make the row to be lead selected when editable field in that row is lead selected.

Thanks & Regards,

Kiran Kumar K

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kiran,

You do not need to set the lead selection to get the value of personnel number.

I think, when you implement your event handler for OVS, you get the context element from which the OVS is called.

We write the business logic in Phase 2.

You can try the following to get the value of personnel number here.

ovs_callback_object->context_element->get_attribute( EXPORTING name = 'ATTR'  IMPORTING value = l_per_no ).

Hope this helps.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

we have method call Get_index() in IF_WD_CONTEXT_ELEMENT interface. This method returns the index value.

based on the index value you will get the lead selection ...

Regards,

Venkat.