2009 Jan 20 11:00 AM
Hello Experts!
I`m using the table control in dynpro, and i want to make editable some colums depending of some values.
How can i do that?
Thanks!
2009 Jan 20 11:07 AM
Hi
U need to change the screen attributes of colunm by statament LOOP AT SCREEN/ENDLOOP into the loop of table control in PBO:
PROCESS PBO.
LOOP AT ITAB ......
MODULE LOOP_SCREEN_TC.
ENDLOOP.
MODULE LOOP_SCREEN_TC.
IF ITAB-FIELD1 = .........
LOOP AT SCREEN.
IF SCREEN-NAME = 'ITAB-FIELD2'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
ENDMODULE.
Max
2009 Jan 20 11:07 AM
2009 Jan 20 11:07 AM
Hi
U need to change the screen attributes of colunm by statament LOOP AT SCREEN/ENDLOOP into the loop of table control in PBO:
PROCESS PBO.
LOOP AT ITAB ......
MODULE LOOP_SCREEN_TC.
ENDLOOP.
MODULE LOOP_SCREEN_TC.
IF ITAB-FIELD1 = .........
LOOP AT SCREEN.
IF SCREEN-NAME = 'ITAB-FIELD2'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
ENDMODULE.
Max
2009 Jan 20 11:24 AM