‎2008 Jan 08 10:21 AM
Hi Friends,
I am displaying a ALV Grid Report with Checkbox at end of each row. My requirement is whenever the checkbox is checked that coresponding check box should be in disable mode.
Pls advice .
Thanks in advance
kar
‎2008 Jan 08 10:42 AM
Hi,
In grid alv ,output will come in display mode by default.
for enabled use edit_mask = 'X'. in fieldcatalog.
Regards,
Billa
‎2008 Jan 08 10:50 AM
hi
good
pls check this code.
DATA:it_exclude TYPE slis_t_extab,
x_exclude TYPE slis_extab.
Clear:x_exclude, it_exclude.
x_exclude-fcode = '&ALL'. "Function code for Select ALL option
append x_exclude to it_exclude.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
i_callback_top_of_page = 'TOP_F_PAGE1'
i_callback_program = sy-repid
IT_EXCLUDING = it_exclude
i_callback_pf_status_set = 'PF_STAT'
i_callback_user_command = 'USER_CMD'
i_structure_name = 'EKPO'
is_layout = layout1
it_fieldcat = fieldcat
TABLES
t_outtab = it_ekpo.
Note:this code will work only if you dont set your own PF status.It you customized the PF status,then you have to give that FCODE ,while setting up youe own PF Status.
Eg:
SET PF-STATUS 'GUI_ALV' Excluding '&ALL'.
thanks
mrutyun^