cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable the check box in ALV webdynpro for particular line level

Former Member
0 Kudos

Hello All,

I have implemented one WD ALV with the first column as a "Check Box" and I have added the ON_CELL_ACTION event to do some validations when the check box selected.

Now, I want to disable (Grayed out) selected check boxes (not to select the same row again, i.e. set the check box as read-only which are marked as 'X' ) upon "Button" action. Can anyone please let me know how to set the read-only to the selected check boxes up on some button action.

Its urgent. Please provide your inputs.

Point will be rewarded!!!

Thank You.

Shyam

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Found Answer.

http://scn.sap.com/thread/452097

Thank You.

Shyam

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can use the set_read_only_fieldname method in the class interface CL_SALV_WD_UIE_CHECKBOX .

You will require another column in your table where you can set which cells are read only. This field will be used in the  set_read_only_fieldname method.

Regards,

Pris.