cancel
Showing results for 
Search instead for 
Did you mean: 

Combining 3 tables to 1 table

Former Member
0 Kudos

Hi,

I have 3 internal tables

itab1, itab2, itab3, which are of same struture ,

I want to append the contents of 3 internal tables into a internal table itab4 which is of same structure.

What is the best method which will take care of the performance.

Thanks in Advance

Regards,

Irfan Hussain

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

append lines of itab1 to itab4.

append lines of itab2 to itab4.

append lines of itab3 to itab4.

sort itab4 delete adjacent duplicates of itab4.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

itab4[] = itab1[].

append itab2 to itab4.

append itab3 to itab4.

Regards,

Amole

abdul_hakim
Active Contributor
0 Kudos

Hi Use APPEND LINES to do it without any problem..

Abdul

Former Member
0 Kudos

As u said all of same structure

append lines will do perfectly .

Regards,

PAVAN.