copy standard table contents to custom table
I need to copy standard table contents to custom table in the same server.
please provide logic for this.
Thanks in advance.
Try this for your tables. ZT001 is the custom table which is a copy of the standard table T001. Both structures has to be same in this case
DATA : IT_T001 TYPE TABLE OF T001, WA_T001 TYPE T001. SELECT * FROM T001 INTO TABLE IT_T001. INSERT ZT001 FROM TABLE IT_T001.
Edited by: Rajvansh Ravi on Oct 17, 2008 6:52 AM