Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

checkbox disable

Former Member
0 Likes
514

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

2 REPLIES 2
Read only

Former Member
0 Likes
472

Hi,

In grid alv ,output will come in display mode by default.

for enabled use edit_mask = 'X'. in fieldcatalog.

Regards,

Billa

Read only

Former Member
0 Likes
472

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^