2009 Jun 23 11:10 AM
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
2009 Jun 23 11:13 AM
WELCOME TO SDN
Chek this sample program.
DEMO_DYNPRO_TABCONT_LOOP_AT
2009 Jun 23 11:13 AM
WELCOME TO SDN
Chek this sample program.
DEMO_DYNPRO_TABCONT_LOOP_AT
2009 Jun 23 11:24 AM
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
2009 Jun 23 11:30 AM
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
2009 Jun 23 12:26 PM
2009 Jun 23 12:45 PM
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
2009 Jun 23 12:52 PM
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
2009 Jun 23 12:45 PM
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.