2007 Oct 30 9:47 AM
Hi,
I have an OO ALV with checkboxes against each row, i want to check if a flag is set to 'X' for that perticular record then the check box agianst the record must be disabled otherwise it should be open for input. How can i do it?
Regards.
Hi,
I have an OO ALV with checkboxes against each row, i want to check if a flag is set to 'X' for that perticular record then the check box agianst the record must be disabled otherwise it should be open for input. How can i do it?
Regards.
2007 Oct 30 9:58 AM
Hi...
Check...
FORM get_select_data.
DATA : l_t_rows TYPE lvc_t_row,
l_r_rows TYPE lvc_s_row,
l_t_rows1 TYPE lvc_t_row,
l_r_rows1 TYPE lvc_s_row,
l_f_lines TYPE i.
REFRESH: l_t_rows,l_t_rows1, g_t_formdata.
CALL METHOD g_r_grid->get_selected_rows
IMPORTING et_index_rows = l_t_rows.
CALL METHOD g_r_grid1->get_selected_rows
IMPORTING et_index_rows = l_t_rows1.
IF l_t_rows[] IS INITIAL AND l_t_rows1[] IS INITIAL.
MESSAGE e347(06).
ENDIF.
This will get you the selected button, you can write ur logic from here..
Hope this Helps .
Praveen
2007 Oct 30 10:00 AM
use
cl_gui_alv_grid=>mc_style_disabled
check program BCALV_EDIT_05
Regards
Vasu
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |