cancel
Showing results for 
Search instead for 
Did you mean: 

Find out where the cursor is to change Lead Selection

Former Member
0 Kudos

Dear experts,

how can i find out where the mouse cursor is to change the lead selection to that line in an ALV ?

Thanks and best regards

René

Accepted Solutions (1)

Accepted Solutions (1)

pranav_nagpal2
Contributor
0 Kudos

Hi Rene,

this is only possible in case of modal node......

regards

Pranav

Former Member
0 Kudos

hi Pranav,

how can i change the lead selection then when the user clicks a line ?

regards

René

pranav_nagpal2
Contributor
0 Kudos

Hi,

as far as i know it is not possible here if node is not of modal type (modal node is one which takes data directly from database).... you have to put either checkbox, radiobutton or keep that selection property of table enable......

regards

Pranav

Former Member
0 Kudos

hi,

but i must be possible to get the index of an element and in which column it is or not ?

that is all i need.

thanks and best regards

René

Edited by: René Hölterling on Jan 12, 2009 4:00 PM

arjun_thakur
Active Contributor
0 Kudos

Hi Rene,

To get the index you need to have either checkbox or radiobutton or you have use selection property of table (as mentioned be pranav as well). To get the index of the selected row of a table refer to these threads:

I hope it helps.

Regards

Arjun

pranav_nagpal2
Contributor
0 Kudos

HI,

If you have any action for getting the index yes there is a method...

check the code below.......

ls_selection type IF_WD_CONTEXT_ELEMENT 
CALL METHOD ls_selection->get_index
RECEIVING
my_index = lv_index.

regards

Pranav

Answers (0)