Skip to Content

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

Tableview Iterator - Make certain rows non-selectable


I have a table which has a custom iterator. This table is used to display search results and in the Column definition(IF_HTMLB_TABLEVIEW_ITERATOR~GET_COLUMN_DEFINITIONS), I have defined a oncellclick event for the key field(Customer number) so that when the user clicks on a customer no, it triggers further processing. This portion works fine without any issue.

There is a change in requirement now, for example if the table has two customers only one can be selected the other one is just for display purpose only (I have a flag in the table which identifies which customer is display only). I need to move the oncellclick event to the individual cell from the column header. Is there a easy way to do it? I am using cl_htmlb_textview to display the Customer number within the iterator.



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