‎2007 May 11 2:01 PM
I have an internal table (A) with several columns.
I want to create another internal table (B) consisting of a single
column from table (A).
I loop through the table (A), appending each record to the newly created table (B).
Is there a faster way to do this?
‎2007 May 11 2:07 PM
Hi
Declare two internal tables
ITAB and ITAB1 9with just one field)
loop at iTAB.
itab1-f1 = itab-f4.
append itab1.
clear itab1.
endloop.
ther is no other faster way than this.
Reward points if useful
Regards
Anji
‎2007 May 11 2:06 PM
Hello,
This is the only way to do it as you did.
Also if the table A is appended from some other table then u can move that column
and append table B.
Regards,
Vasanth
‎2007 May 11 2:07 PM
Hi
Declare two internal tables
ITAB and ITAB1 9with just one field)
loop at iTAB.
itab1-f1 = itab-f4.
append itab1.
clear itab1.
endloop.
ther is no other faster way than this.
Reward points if useful
Regards
Anji
‎2007 May 11 2:18 PM
Hello Gregory,
I have also gave the same solution as Mr. Anji said.
May I know thw diffrence bt the two solution.
Vasanth