Application Development 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: 

checkbox in alv

Former Member
0 Kudos

i have internal table t_emp.

i want to display output in classical or interactive report using reuse_alv_gridview_display with checkbox field which are dynamic behaviour like

t_emp-city = 'pune' then checkbox invisible other than checkboxs are visible.

output as follow.

checkbox
empid
namecity
invisible11rajpune
visible12nareshhyd
invisible13daspune
visible14rojbangl
1 ACCEPTED SOLUTION

former_member202818
Active Contributor
0 Kudos

Hi Amol,

Is it fine to disable the checkbox rather make it invisible?

Than please refer this Editable ALV fields

Regards

Sreekanth

7 REPLIES 7

Former Member
0 Kudos

hi amol,

you have to use fm 'REUSE_ALV_LIST_DISPLAY'

and in this you have to create

pf_status_set and

user_command

Former Member
0 Kudos

when display output first time then checkboxs visible or invisible based on condition. how it is explain in details.

former_member754071
Discoverer
0 Kudos

LVC_T_STYL within your final internal table and fill the values accordingly to enable/disable the Input for specified cell. For better understanding, please check program: BCALV_EDIT_02. It can give you idea of enabling input at cell level.

former_member754071
Discoverer
0 Kudos

chk this std pgm BCALV_EDIT_05

BCALV_EDIT_05 This example shows how to use checkboxes within an ALV Grid Control

0 Kudos

i want to above output in simple alv report not for using oops. how explain in details.

former_member202818
Active Contributor
0 Kudos

Hi Amol,

Is it fine to disable the checkbox rather make it invisible?

Than please refer this Editable ALV fields

Regards

Sreekanth

0 Kudos