Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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


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.


Nisha Vengal.

Not what you were looking for? View more on this topic or Ask a question