on 2005 Aug 05 12:13 PM
Hello to all,
I have a problem when a user check a checkbox field in ALV GRID. After this, field in output table (itab) for checkbox is not updated to 'X' (marked) when I process it in USER_COMMAND. However, if user select a complete line, this field is marked correctly in itab table.
Anybody know how to do it?
Thunks and regards.
Request clarification before answering.
Hi,
In PBO of the screen,just use the following.
SET PF-STATUS 'ZZZVR_POD_CP'.
perform f9000_objects_create.
perform f9100_exclude_functions using : i_Exclude[] '&EXCLALLFC'.
<b>call method o_alvgrid->register_edit_event
exporting
i_event_id = cl_gui_alv_grid=>mc_evt_modified.</b>
perform f9200_build_field_cat tables i_fieldcat
using 'zzzvr_pod_cp'.
perform f9300_modify_field_cat tables i_fieldcat.
PERFORM f9400_layout using sy-title 'X' 'B' 'X' p_layout.
perform f9500_display_data tables i_OUTPUT
i_GROUPS
i_EXCLUDE
i_FIELDCAT
using w_layout.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check whether u have used
In PBO,
[code]call method o_alvgrid->register_edit_event
exporting
i_event_id = cl_gui_alv_grid=>mc_evt_modified.
Field-symbols: <lfs_fieldcat> TYPE lvc_s_fcat.
LOOP AT p_fieldcat ASSIGNING <lfs_fieldcat>.
CASE <lfs_fieldcat>-fieldname.
WHEN 'X'.
<lfs_fieldcat>-coltext = 'X'.
<lfs_fieldcat>-checkbox = 'X'.
<lfs_fieldcat>-edit = 'X'.[/code]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
30 | |
8 | |
8 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.