Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Adding rows to table control or step loop

Former Member
0 Likes
529

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

3 REPLIES 3
Read only

Former Member
0 Likes
488

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

Read only

0 Likes
488

Thanks Narendran,

I would try the tip today and then award points.

Yours,

Black

Read only

0 Likes
488

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.