‎2007 Mar 02 6:39 PM
Hello friends,
I have creazted a table control as data input to ITAB. The user should be able to add more rows if nesseccary to the table during data input.
How can I write the code to enable the user to do this. I would appresiate code as example.
thanks
Black
‎2007 Mar 02 6:44 PM
Hi,
Create a button for insert in the application toolbar..
When the button is pressed..
CASE SY-UCOMM.
WHEN 'INSERT'.
Add new rows.
tc-lines = tc-lines + 20.
TC will be the table control name..
ENDCASE.
Thanks,
Naren
‎2007 Mar 05 9:06 AM
Thanks Narendran,
I would try the tip today and then award points.
Yours,
Black
‎2007 Mar 05 6:16 PM
Hallo Narendran,
I have tried your tip. It works. So have awarded points too.
I would appreciate if you have a written prog. with screen shots that you can post to my mail:
mide34@hotmail.com
This would be great becos some og the examples I have are somehow too complecated for me.
Black.