2010 Jan 06 11:14 AM
Hi Friends,
Please give some ideas of how to store the data from table control into the ztable database.
There is a table control in which the end user enters the data manually and clicks the save button. Then, the data from the table control will go and store in the ztable.
my approach : in pbo, I used the code like
loop at itab with control tabcontrol cursor tabcontrol-current_line.
also I have given the insert command to insert the data into ztable.
Your suggestions are appreciated.
thanks in advance & regards
Murali Krishna Tatoju
Hi Friends,
Please give some ideas of how to store the data from table control into the ztable database.
There is a table control in which the end user enters the data manually and clicks the save button. Then, the data from the table control will go and store in the ztable.
my approach : in pbo, I used the code like
loop at itab with control tabcontrol cursor tabcontrol-current_line.
also I have given the insert command to insert the data into ztable.
Your suggestions are appreciated.
thanks in advance & regards
Murali Krishna Tatoju
2010 Jan 06 11:18 AM
Hi just use the modify statement with the internal table of the table control.
modify ZTEST from table itab_tbc.
2010 Jan 06 11:30 AM
hi
pbo is just to show the data, u need to develop the code in pai in order to update your internal table by data of table control.
in pai u should have a user_command module, where u manage the updating of your z-table.
max
2010 Jan 06 5:07 PM
Hi Murli ,
Please go through the basics of use of table control in Module pool programming.
You need to code in PAI.
Search SDN/SAP help on this .
Hope this helps you.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |