‎2007 Apr 04 7:30 AM - last edited on ‎2024 Feb 04 6:17 AM by postmig_api_4
hi,
I want to move data from one column of itab to other column of itab.
itab is internal table.
ie moving from itab-count to itab-dummy.
Thanks.
‎2007 Apr 04 7:31 AM
Hi..
i got it wrong..
loop at itab.
itab-dummy = itab-count.
modify itab index sy-tabix from itab transporting
dummy.
endloop.
Message was edited by:
Rammohan Nagam
‎2007 Apr 04 7:32 AM
HI,
Look at itab.
move itab-count to Itab-dummy.
modify ITAB index sy-tabix.
Endloop.Regards
Sudheer
‎2007 Apr 04 7:36 AM
exchange:
DATA: temp LIKE itab-dummy.
LOOP AT itab.
temp = itab-dummy.
itab-dummy = itab-count.
itab-count = temp.
MODIFY itab INDEX SY-TABIX.
ENDLOOP.
just replace
LOOP AT itab.
itab-dummy = itab-count.
MODIFY itab INDEX SY-TABIX.
ENDLOOP.