2007 Apr 27 6:47 AM
HI.
I have a requirement that in table control user will select more than one row and when he clicks 'SAVE' it should go and sit in a custom table. how to pass more than one records.
thanks & regards.
sandeep
HI.
I have a requirement that in table control user will select more than one row and when he clicks 'SAVE' it should go and sit in a custom table. how to pass more than one records.
thanks & regards.
sandeep
2007 Apr 27 6:50 AM
hi
in the attributes of the table control, check the multiple line selection to X...then, you can capture the selected lines in the table control with the attribute line_selected of screen, which would be X...then, update the ztable for the entries where line_selected eq X
if helpful, reward
Sathish. R
2007 Apr 27 6:51 AM
hi Sandeep ,
First of all I hope you might have set the attributes for selecting multiple rows in the table control . Next , loop at the table control , with condition SEL = "X".
Put these rows into an internal table . And then after collecting the values intyo the itab insert those rows to your custom table .. Thats it ...
Write back if further help needed ..
Reward if helpful .
Thanks
Ranjita
2007 Apr 27 6:54 AM
Hi Sandeep,
I understand your requirement .......
See this standard program........
<b>" DEMO_DYNPRO_TABCONT_LOOP_AT "</b>
<b>Understand how DELETE button is working,inorder to delete multiple lines....Copy this program if necessary..OK.
Simply,Replace DELETE statement with your INSERT statement to push records into your custom table....very easily you can do it.</b>
<b>Reward all helpful answers.</b><b>
Hope you problem is solved.</b>
Regards,
V.Raghavender.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |