2006 Dec 18 8:37 PM
Hi folks,
I'm want to know if there is a way to enable only 1 row in a table control. For example if I have 2 records in the table control, and I insert a new row, I only want the inserted row to be enabled or active for input and the other 2 to be disabled.
Thanks in advance for your help.
Kind Regards,
Gilberto Li
2006 Dec 18 8:45 PM
Hi folks,
I'm want to know if there is a way to enable only 1 row in a table control. For example if I have 2 records in the table control, and I insert a new row, I only want the inserted row to be enabled or active for input and the other 2 to be disabled.
Thanks in advance for your help.
Kind Regards,
Gilberto Li
2006 Dec 18 8:45 PM
2006 Dec 18 8:57 PM
Hi Rahul,
Thank you very much! That was what I was looking for.
Kind Regards,
Gilberto Li
2006 Dec 18 8:51 PM
Try:
process before output.
* Set screen attributes for table control
LOOP AT zzhb6_0100 with control zhb6ctl
cursor zhb6ctl-top_line.
MODULE modify_screen_0100.
ENDLOOP.
MODULE modify_screen_0100 OUTPUT.
LOOP AT SCREEN.
IF screen-group1 = '001'. " Or whatever
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Rob
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |