‎2006 Dec 14 7:17 PM
Hi,
I'm trying to disable a row... not a column in a table control so the user can't change it, however I'd like the previuos and next rows in the table control to be enabled for modifications. I know it sounds simple, but i havén't been able to do it, anyone knows how to?
‎2006 Dec 14 7:49 PM
Hi,
Disable all the columns for that row..
Example
-
PROCESS BEFORE OUTPUT.
LOOP AT ITAB WITH CONTROL TC.
MODULE DISABLE_ROW.
ENDLOOP.
MODULE DISABLE_ROW.
Check for the conditions where you have to disable the row.
if the conditions are satisifed.
IF CONDITION IS SATISFIED.
LOOP AT SCREEN.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDLOOP.
ENDIF.
The above will disable all the columns in that row..
ENDMODULE.
Thanks,
Naren
‎2006 Dec 14 7:48 PM
that was dumb! i tried everything except doing the loop at screen inside the module that copies the data from the internal table to the table control...
‎2006 Dec 14 7:49 PM
Hi,
Disable all the columns for that row..
Example
-
PROCESS BEFORE OUTPUT.
LOOP AT ITAB WITH CONTROL TC.
MODULE DISABLE_ROW.
ENDLOOP.
MODULE DISABLE_ROW.
Check for the conditions where you have to disable the row.
if the conditions are satisifed.
IF CONDITION IS SATISFIED.
LOOP AT SCREEN.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDLOOP.
ENDIF.
The above will disable all the columns in that row..
ENDMODULE.
Thanks,
Naren