checkbox in alv list
i use the following in fieldcatalog for checkbox in alv list :
wa_fieldcat-fieldname = 'CHK'.
wa_fieldcat-reptext_ddic = 'IDOC SELECTED'.
wa_fieldcat-tabname = 'T_MISC_OUTPUT1'.
wa_fieldcat-outputlen = 2.
wa_fieldcat-checkbox = 'X'.
wa_fieldcat-input = 'X'.
wa_fieldcat-edit = 'X'.
APPEND wa_fieldcat TO t_fieldcat..
but when a row is selected and user command is clicked,value 'X' is not retained for the lines which are selected.
Inputs will be appreciated.