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

ztable data updation issue

Former Member
0 Likes
502

Hi Friends,

I had an issue where in If iam entering the data manually in the table control, and trying to save into the ztable, The data

is not going into the ztable.

for save button in the standard toolbar, I have written the code like

insert ztable from itab.

here itab is the internaltable for my table control.

ztable is my actual ztable in which the data should come.

before inserting the data, shoulld i need to append the internal table?

If so, I have used

APPEND itab also,

but the issue is not getting solved.

Please help me to resolve this issue.

thanks and regards

Murali Krishna

4 REPLIES 4
Read only

nirajgadre
Active Contributor
0 Likes
480

Hi,

the type for the your internal table must be same.

pass your table control data into internal table.

then loop on the internal table and insert the data into ztable.

loop at internal table into work area.

insert ztable from workarea.

endloop.

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
480

insert ztable from itab

its considering the header line only.

I think it should be like this

insert ztable from table itab

Read only

Former Member
0 Likes
480

Hi Murli ,

Press F1 on Insert and check it option with internal table .

You have to use , INSERT ztable from table itab.

Hope this helps you.

Read only

Former Member
0 Likes
480

Hi,

Check whether your internal table is getting appended with the data you entered in debug mode.....if so ....use

INSERT <ZTABLE> FROM TABLE <INTERNAL TABLE>. should work .....

and your internal table and ztable must have same structure...

Thanks,

Shailaja Ainala.