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

Modify ALV row properties

Former Member
0 Likes
464

Hi everyone. I'm working on this ALV report wich rows must be editable or not depending on a field's value. This is: if a certain field is different from 0, the ALV row should be editable. Otherwise, it shouldn't.

Is this possible? If it is, how can I do it?

Thans a lot,

Fernando.

1 ACCEPTED SOLUTION
Read only

rahulkavuri
Active Contributor
0 Likes
438

Check this link

Hi everyone. I'm working on this ALV report wich rows must be editable or not depending on a field's value. This is: if a certain field is different from 0, the ALV row should be editable. Otherwise, it shouldn't.

Is this possible? If it is, how can I do it?

Thans a lot,

Fernando.

2 REPLIES 2
Read only

rahulkavuri
Active Contributor
0 Likes
439

Check this link

Read only

former_member194669
Active Contributor
0 Likes
438

Hi,

You need to check for the following


" to status editable
   l_mode = cl_gui_alv_grid=>mc_style_enabled.
" to status non-editable
    l_mode = cl_gui_alv_grid=>mc_style_disabled.

Please check standard demo program BCALV_EDIT_02