Skip to Content
author's profile photo Former Member
Former Member

TableView-Iterator: get field value


we use in our MVC-Application the htmlb-iterator to render table fields with checkboxes. Within the iterator-class renderer_cell_start we have to know if the current checkbox is ticked or not to enable/disable other checkboxes.

How can we retrieve the value of the name-field given in p_cell_binding?

We set the value like this:


CREATE OBJECT lo_checkbox.

lo_checkbox->id = p_cell_id.


lo_checkbox->_checked = p_cell_binding.


p_replacement_bee = lo_checkbox.

Regards, Bernd

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Feb 10, 2004 at 04:34 PM

    p_row_data_ref gives you a pointer to the row of the internal table you are currently processing. You can moving this into a workable structure by assigning this reference to a field symbol and moving that to a variable that matches the structure of your internal table.

    field-symbols: to tempchar.

    move tempchar to column_value.


    condense column_value.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Thomas,

      this is the coding I used so far.

      But with data binding I was told to use the p_cell_binding - import parameter and the '_' attributes like '_value' or '_checked'.

      So, maybe I have to combine these two technologies. Let's go for another debugging session...

      Thanks, Bernd