‎2007 Nov 27 8:07 PM
Hi,
After I insert initial data to the table control and press ENTER, the table is locked for editing and I cannot add new lines !
How can I prevent it and allow adding new lines ?
Thanks,
Rotem.
‎2007 Nov 27 8:13 PM
There's probably a better way to do it, but I simply add blank lines to my internal table.
Rob
‎2007 Nov 27 8:13 PM
There's probably a better way to do it, but I simply add blank lines to my internal table.
Rob
‎2007 Nov 27 8:15 PM
Set your table control lines like in PBO.
table_control-lines = 400.Regards,
Naimesh Patel
‎2007 Nov 27 8:27 PM
We can do it in many ways,
better solution, count how many rows can be displayed and how many filled up
and use this sample code.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
LOOP AT ITAB.
module read_table_control.
MODULE FILL_TABLE_CONTROL.
ENDLOOP.
*loop with control tc1.
MODULE FILL_TABLE_CONTROL.
*endloop.
module add_row.
module del_row.
&----
*& Module add_row INPUT
&----
text
----
module add_row input.
*Activate scroll
describe table itab lines v_count.
*if v_count >= tc1-current_line.
tc1-lines = 20.
*endif.
-Pavan