cancel
Showing results for 
Search instead for 
Did you mean: 

Get selected rows from webdynpro ALV

Former Member
0 Kudos

Hi,

In webdynpro I have an ALV usage to display a table which allows multiple row selection. What method can I use to to get the user selected rows?

Thanks.

Pulau

Accepted Solutions (1)

Accepted Solutions (1)

arjun_thakur
Active Contributor
0 Kudos

Hi Pulau,

Please refer the reply of Uday in this thread: .

I hope it helps.

Regards

Arjun

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Use this to get the selected rows

CALL METHOD node1->GET_SELECTED_ELEMENTS

RECEIVING

SET = lt_elementset.

Regards,

Lekha.

Former Member
0 Kudos
Former Member
0 Kudos

hi,

Refer packages SALV_WD_DEMO or SALV_WD_TEST for examples on WD ALV.

Check out this thread :

Thanx.

Former Member
0 Kudos

Hi Pulau Dan,

Whether it is normal table or ALV table display. You can still read the context by using

  • get all declared attributes

lo_el_<node>->get_static_attributes(

IMPORTING

static_attributes = ls_<str> ). this will return the selected record.

And if you want all records to retrieved from the table, use the below method..

CALL METHOD lo_nd_<node>->get_static_attributes_table

EXPORTING

from = 1

to = 2147483647

IMPORTING

table = lt_<table> .

Hope this will help you. Reply me if you still not clear.

Regards,

Sreenivasa sarma k