Skip to Content
0
Former Member
Sep 22, 2008 at 01:25 PM

Capture the rows selected in a multiselect table view (BSP)

181 Views

Hi,

My requirement is:

I have a table view in which I can select multiple rows.

I will be selecting some rows, and pressing a button.

Functionality of button is written in Javascript, to open a popup window.

But how will I capture which all rows were selected ?

Should I use a Java code or ABAP code ?

And where should I put that code ?

I tried calling the method cl_hrrcf_iterator=>get_tv_attr in the Javascript of the button. But it doesnt work. But if its in DO_HANDLE_DATA it works. Why is it like that ?

Is it possible in BSP, to use the function htmlbevent.obj.getSelectedRows() ? If so, how should the code be ?

Could you please tell me some of the possible solutions.

Would definitely appreciate quick replies.

Thanks,

Nisha Vengal.