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 activate/deactivate in alv grid report

Former Member
0 Kudos

Hi All,

I am using REUSE_ALV_GRID_DISPLAY fm to display output.In my output i having checkbox column based on values on internal table it will be checked and the checkbox column is editable.

Now my requirement is if particular checkbox having values it should be in editable mode if not the checkbox should be non editable mode.

For example the if 2 checkboxs having values that should be in editable mode remaining checkboxs should be in disable mode.

.

1 REPLY 1

Former Member
0 Kudos

suppose this is the case

PARAMETERS:

P_PRINT AS CHECKBOX DEFAULT ' ', "PRINT IMMEDIATE

P_NOSINF AS CHECKBOX DEFAULT 'X', "NO SELECTION INFO

P_NOCOVE AS CHECKBOX DEFAULT ' ', "NO COVER PAGE

then suppose u want to enable the next two checkboxes when first is checked then...

type

PARAMETERS:

P_PRINT AS CHECKBOX DEFAULT ' ', "PRINT IMMEDIATE

if p_print = 'X'

parameters:

P_NOSINF AS CHECKBOX DEFAULT 'X', "NO SELECTION INFO

P_NOCOVE AS CHECKBOX DEFAULT ' ', "NO COVER PAGE

endif.

..

..

regards,

Ankur