cancel
Showing results for 
Search instead for 
Did you mean: 

Edit mode in a table view with value node

Former Member
0 Kudos

Hi experts.

I'm trying to create a table view. This table is based on a structure that is filled with data with a RFC function module retrivening the data from another system.

The problem is that i'm unable to set it editable. There is for exemple a check box that i need to check / uncheck, but the field is always read only. We don't even go through the method get_i_.

In the do_prepare_output of the view, i have checked, as below, the view is in edit mode, but still i can't do anything.

*DAtA lv_str type abap_bool.
*lv_str = me->view_group_context->is_view_in_display_mode( me  ).
.

Any ideas why ?

Thanks for your time and help.

Regards.

AW

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

In the HTM page of your view place allRowsEditable = "TRUE" so that all rows will be editable.

Regards,

Lakshmi.Y

Former Member
0 Kudos

Hi.

Thanks but unfortunatly it doesn't work.

When i activate the htm page it says that :" Tab configCellerator doesn't contain attribute allRowsEditable"

regards,

Aw

Former Member
0 Kudos

Solved by sending X in IV_ALL_ROWS_EDITABLE.

cl_thtmlb_util=>translate_selection_mode(
  exporting
  iv_selection_mode    = NODE->SELECTION_MODE
  iv_all_rows_editable = 'X'
  importing
  ev_selection_mode   = lv_cellerator_selectionmode
  ev_edit_mode        = lv_cellerator_editmode
  ev_selection_column = lv_cellerator_selectioncolumn ).

Edited by: aw_crm on Jun 16, 2011 10:02 AM

Answers (0)