cancel
Showing results for 
Search instead for 
Did you mean: 

Can't we use MOVE-CORRESPONDING ITAB TO ITAB in the function?

yalcin_mete
Participant
0 Kudos

Hi Masters,

I want to transfer the internal table in the code to the function table using move-corresponding, but this is not allowed.I made many tryings. Where am I making a mistake?


Scenario 1 : 

yalcin_mete_0-1716290725948.png

yalcin_mete_1-1716290738211.png

 

yalcin_mete_2-1716290778439.png

 

Scenario 2 :

yalcin_mete_3-1716291049194.png

yalcin_mete_4-1716291227225.png

yalcin_mete_5-1716291240080.png

 

Thanks

 

 

View Entire Topic
ANKA
Explorer

If you using an Internal table to copy pls use like this.

It will automatically copy all the entries form one table to another.

table1[] =  table2[]

Sandra_Rossi
Active Contributor
You come a little bit late. The question was about move-corresponding, so your solution may not work. It would work only if the lines of the two internal tables have the same structure.