Skip to Content
0
Former Member
Jan 30, 2009 at 12:41 PM

Can we move data from one ITABLE to Another ITABLE

23 Views

DATA : T_PR1 TYPE TY_PR OCCURS 0 WITH HEADER LINE.

DATA : T_PR2 TYPE TY_PR OCCURS 0 WITH HEADER LINE.

DATA : T_PR5 TYPE STANDARD TABLE OF TY_PR,

WA_PR5 TYPE TY_PR.

There is one record in T_PR1 and another in T_PR2.

I want to move them both into T_PR5.

When I do as below, it is overwriting the record of T_PR1 and

it is accepting only one record from the T_PR2.

T_PR5[] = T_PR1[].

T_PR5[] = T_PR2[].

Move does not work here as its structure should be same.

Is there any way that i can move these 2 records into T_PR5.

It is necessary for me to use T_PR1 and T_PR2 with header line.

Any suggestion will be apprecaitaed!

Regards,

Kittu