Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

copy standard table contents to custom table

Hi Experts,

I need to copy standard table contents to custom table in the same server.

please provide logic for this.

Thanks in advance.

Nani

Tags:
Former Member
Former Member replied

Hi Nani

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.

Regards

Edited by: Rajvansh Ravi on Oct 17, 2008 6:52 AM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question