‎2010 Jan 09 6:05 AM
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
‎2010 Jan 09 6:41 AM
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.
‎2010 Jan 09 7:07 AM
insert ztable from itab
its considering the header line only.
I think it should be like this
insert ztable from table itab
‎2010 Jan 09 7:47 AM
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.
‎2010 Jan 11 1:06 PM
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.