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

INSERT..... FROM TABLE ...

Former Member
0 Likes
322

Hello everyone,

I am trying to insert into a customised table the contents held in an

internal table:

INSERT zepos_summary FROM TABLE epos_file_summary_tab.

During syntax checking an error displays:

'The work area "EPOS_FILE_SUMMARY_TAB" is not long enough.

I have defined the internal table EPOS_FILE_SUMMARY_TAB as the

same structure of zepos_summary .

Anyone any ideas?

Andy

2 REPLIES 2
Read only

Former Member
0 Likes
287

No need to worry.

I had missed the MANDT column out.

Doh !

Read only

Former Member
0 Likes
287

May be it can work..

loop at epos_file_summary_tab.

move-corresponding epos_file_summary_tab to zepos_summary.

insert zepos_summary.

endloop.

good luck..