2013 Jul 20 7:39 PM
HI Gurus,
I am using table control with lines items refer directly from table.
Now i want to know how to add new row in table control?
While choose add button I want 1 row should enavle in table control.
Regards,
Bhuvana.
HI Gurus,
I am using table control with lines items refer directly from table.
Now i want to know how to add new row in table control?
While choose add button I want 1 row should enavle in table control.
Regards,
Bhuvana.
2013 Jul 22 4:41 AM
In the Add button append a blank row to your internal table.
It will show in your TC.
2013 Jul 22 5:14 AM
Hi,
If you use table control wizard then SAP provides adding, deleting, select all, deselect all functionality.
So,I suggest you to use Table control wizard.
There are lot of examples on internet to achieve this.
Thanks & Regards,
Abdul.
2013 Jul 22 6:23 AM
Hi,
Table Control with Wizard will be the easiest option to achieve this.
But if you insist on continuing with the existing table control, you could follow the below steps,
1. Add an icon in the application toolbar.(Under GUI Status)
2. In the USER_COMMAND module of your screen, write the code to append an empty row into the table control internal table.
Hope this helps.
2013 Jul 22 7:04 AM
Use the statement,
INSERT tb_table FROM wa index 1.
keep the wa work area blank. in the next PBO you can see a blank line at the beginning of your table control. Make sure that your table is editable.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |