2008 Mar 03 4:22 PM
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.
2008 Mar 03 4:33 PM
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.
2008 Mar 03 4:33 PM
2008 Mar 03 4:33 PM
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
a®
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |