on 06-15-2011 5:22 PM
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
Hi,
In the HTM page of your view place allRowsEditable = "TRUE" so that all rows will be editable.
Regards,
Lakshmi.Y
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.