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

Store data from table control into ztable

Former Member
0 Likes
633

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

3 REPLIES 3
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
584

Hi just use the modify statement with the internal table of the table control.

modify ZTEST from table itab_tbc.

Read only

Former Member
0 Likes
584

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

Read only

Former Member
0 Likes
584

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.