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

Inserting and deleting row in Tablecontrol

Former Member
0 Likes
1,100

Hi,

Could you please help me with inserting and deleting rows in table control.

I have a requirement to select entire row and do insertion of new row or deletion of selected row.

when i creat TC i see that I am not able to select the entire row

kindly help

Regards

Ajay

1 ACCEPTED SOLUTION
Read only

GauthamV
Active Contributor
0 Likes
1,071

WELCOME TO SDN

Chek this sample program.

DEMO_DYNPRO_TABCONT_LOOP_AT

7 REPLIES 7
Read only

GauthamV
Active Contributor
0 Likes
1,072

WELCOME TO SDN

Chek this sample program.

DEMO_DYNPRO_TABCONT_LOOP_AT

Read only

Former Member
0 Likes
1,071

Thank you Gautham.

Thanks for your quick reply. I am checking the program that u have mentioned.

shall inform once my question is solved

Regards

Ajay

Read only

0 Likes
1,071

Hi Ajay,

Please check also demo program RSDEMO02

Though it shows multiple table controll handling, there is also option for deleting an entry and adding new one on the first table control.

Regards

Marcin

Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
1,071

Hi,

Refer:-

Hope this helps you.

Regards,

Tarun

Read only

Former Member
0 Likes
1,071

Thanks a lot Gautham, Marcin and Tarun for your help.

It was for the first time that I used SDN and was very happy to rcv such a great help.

Thanks

Ajay

Read only

MarcinPciak
Active Contributor
0 Likes
1,071

Ajay,

We all do our best to help people and sometimes ourselves need a help.

Great that you have joined us. You will shortly notice that community participation brings much benefit as far as knowledge share is concerned. There are "tons" of infomration still somewhere there (wiki, blogs, forums) so don't hesitate to explore it and most importat enjoy it

Take care and be active in SCN.

Cheers

Marcin

Read only

Former Member
0 Likes
1,071

If you want to delete any record check the w/selColoumn in screen attributes in table control.

Give a name for e.g. 'mark'

loop at it_mat INTO WA_MAT where mark = 'X'.

DELETE IT_MAT.

ENDLOOP.

The mark is for the selected records.