Skip to Content

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

BSP TableView Open Cell for Input Only With Row Selection

I am writing a BSP with a table view that supports multiple row selections. When the table is first displayed I would like for all columns in all rows to be read-only. When the rows are selected, I would like to open up specific columns for input. I have written an iterator that will open these columns for input in a multi-select mode, but it opens them all before any selection is made. Is there a way for me to execute something similar to the code that I have added in my iterator that I can execute in an event handler that responds to the tableview "onRowSelection" attribute?

Here is a sample of the code in my iterator.

p_replacement_bee = cl_htmlb_inputfield=>factory(

id = p_cell_id

value = m_row_ref->zrevno ).

If there are alternatives that you can suggest to accomplish this behavior, I would appreciate hearing about those as well.

Thanks and regards, Larry

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