2004 Oct 20 2:32 PM
Hi everybody,
I would like to set dynamicly wheather a cell or a line in a Table Control is only for output or ready for input.
I know how it works with columns, but nothing is said about cells or lines.
Thanx for clues.
Greets
Olaf
2004 Oct 20 2:52 PM
Hi Olaf,
Basically this works the same for all fields. However for table controls you should do the 'LOOP AT SCREEN' (within routine modify_screen_line in the example code) within the LOOP/ENDLOOP over your table control:
LOOP AT g_tc_itab
INTO g_tc_wa
WITH CONTROL tc_delivplant
CURSOR tc_delivplant-current_line.
MODULE modify_screen_line.
ENDLOOP.
Regards,
John.
2004 Oct 20 2:52 PM
Hi Olaf,
Basically this works the same for all fields. However for table controls you should do the 'LOOP AT SCREEN' (within routine modify_screen_line in the example code) within the LOOP/ENDLOOP over your table control:
LOOP AT g_tc_itab
INTO g_tc_wa
WITH CONTROL tc_delivplant
CURSOR tc_delivplant-current_line.
MODULE modify_screen_line.
ENDLOOP.
Regards,
John.