cancel
Showing results for 
Search instead for 
Did you mean: 

WebDynpro ABAP Table selectable without clicking CTRL key

former_member220853
Participant
0 Kudos

I was wondering if anyone knows if there is way that in a  web dynpro  if we have multi-selectable tree

And we can select multiple rows without clicking CTRL key

Accepted Solutions (0)

Answers (1)

Answers (1)

chengalarayulu
Active Contributor
0 Kudos

Hi Gaurav,

you can refer the below Document.

http://scn.sap.com/docs/DOC-28915

chengalarayulu
Active Contributor
0 Kudos

is the above document satisfied with your requirement..

former_member220853
Participant
0 Kudos

Thanks  a bunch for the reply.!!!

I was on vacation and have just come back

I will try this and let you know

former_member220853
Participant
0 Kudos

Thanks this was helpful answer. I only have one question here. Can't we do it without linktoAction property as I am using it for navigation to some other component

In my case lead selection of the node is not initialized because only some rows of table are selectable and others are not

Therefore the following sample code is returning a Null Object

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

I will try to figure out myself as well if something else is possible in this scenario. If you have some ideas then please let me know as well.

Regards

Gaurav

chengalarayulu
Active Contributor
0 Kudos

Gaurav,

You can do it onSelect action of Table, but there will be slight change in coding level.

Here, CONTEXT_ELEMENT will not work out. you should use SET_SELECTED of selected row of the table.

then after, remaining all steps are common.

try.

former_member220853
Participant
0 Kudos

Dear Chengalarayulu

I was not able to figure this out

Do you know how do we get the current context element from wdevent,

I am not able to Figure this out as how to get this selected row from wdevent

Thanks and Regards

Gaurav