‎2007 Apr 11 1:19 AM
hi,
if want to move same structure, same data type and same sequence but different component name, for example, the first component for table1 is bukrs whereas table2 is rbukrs but they are same data type/size.
may i know how to move the data from table1 to table2?
thanks
‎2007 Apr 11 1:28 AM
HI
In this case, we have to explicitly move the content.
<b>Eg: TAB2-RBUKRS = TAB1-BUKRS.</b>
Kind Regards
Eswar
‎2007 Apr 11 1:28 AM
HI
In this case, we have to explicitly move the content.
<b>Eg: TAB2-RBUKRS = TAB1-BUKRS.</b>
Kind Regards
Eswar
‎2007 Apr 11 1:44 AM
Hi,
If both the structure are same, with same data type and same sequence and only different name then just use below given statement.
ITAB2 = ITAB1.Let say these are two internal tables then
LOOP AT itab1.
itab2 = itab1.
APPEND itab2.
ENDLOOP.Let me know if you have any question.
Regards,
RS
‎2007 Apr 11 2:05 AM
‎2007 Apr 11 2:35 AM
hi,
try to use itab1[] = itab2[] for copying the body or tyr with keyword MOVE-CORESSPONDING ITAB1 INTO ITAB2.
if helpful assign points.
ravi