Application Development 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: 

copy between internal table --- with and without occurs

Former Member
0 Kudos

hi all,

for some reason i need to copy a internal table with occurs to another internal table without occurs declared.

both tables are include from a same structure.

please advise what is the coding to do the copy. thanks.

regards,

BK.

6 REPLIES 6

Former Member
0 Kudos

Hi,

try this one,

<b>itab[] = stab[].</b>

0 Kudos

hi all,

thanks for the answer. i tried to assign point to Ari Kumar however the radio button is not appearing.

0 Kudos

<i><b>ITAB[] = JTAB[]</b></i>

Former Member
0 Kudos

itab[] = jitab[]. perform wise is best.

move itab to jtab. slow

Former Member
0 Kudos

Hi

When you use [] with internal table, it means the body of the internal table. So, just move the body from one internal table to another.

itab1[] = itab2[].

Regards

Navneet

Former Member
0 Kudos

Hi ,

You can use the statement

IT_1[] = IT_2[].

Regards

Arun