cancel
Showing results for 
Search instead for 
Did you mean: 

Selected elements in the table

Former Member
0 Kudos

HI,

DATA lt_temp type wdr_context_element_set.

CALL METHOD LO_ND_ZRES_DIS_NEW->get_selected_elements

RECEIVING set = lt_temp.

loop at lt_temp INTO LO_EL_ZRES_DIS_NEW.

CALL METHOD LO_EL_ZRES_DIS_NEW->get_static_attributes

IMPORTING static_attributes = wa_selected.

endloop.

If we select all the rows in the table it's working I mean gettingthe all the selected elements.

If ther user select the second,third... like then getting the<b> lt_temp</b> elements.

But the case when the user select the first row only then i am not getting the <b> lt_temp</b>values.

can you please help me.

Thanks

Ramkumar

Accepted Solutions (1)

Accepted Solutions (1)

saket_abhyankar
Active Participant
0 Kudos

Hi Valluru,

Try passing the value 'X' to 'INCLUDING_LEAD_SELECTION' parameter of method get_selected_elements.

I think this will help.

Regards,

Saket.

Edited by: Saket Abhyankar on Dec 17, 2009 5:09 PM

Answers (1)

Answers (1)

Former Member
0 Kudos

Is your first row selected by default. If so change the node property and untick lead selection.

Now if you select first row then you will have values in selected rows.