Skip to Content
0
Former Member
Jan 16, 2008 at 10:49 AM

moving data into internal table without header line

2271 Views

Hello experts.

i have two internal tables . itab1 without headerline and itab2 with headerline. itab1 has 10 fields and itab2 has 2 fields.

BEGIN OF itab,

lifnr LIKE lfa1-lifnr,

ktokk LIKE lfa1-ktokk,

name1 LIKE lfa1-name1,

sortl LIKE lfa1-sortl,

pstlz LIKE lfa1-pstlz,

ort01 LIKE lfa1-ort01,

land1 LIKE lfa1-land1,

j_1ipanno LIKE j_1imovend,

end of itab.

DATA: itab1 TYPE STANDARD TABLE OF itab.

data: begin of itab2 occurs 0,

lifnr like j_1imovend-lifnr,

j_1ipanno like j_1imovend-j_1ipanno,

end of itab2.

now i want to move the data from itab2-j_1ipanno into itab1-j_1ipanno. so pls tell me how to do that. lifnr in both the tables are the same.

thanks for all the replies.