Skip to Content
0
Former Member
Jul 13, 2010 at 03:17 PM

data cleanup for customtables in production system.

44 Views

Hai,

My requirement is a list of custom tables data should be deleted in production system based on some selection-criteria.

Any one can suggest how we can achive this.

Shall I write any Zprogram or any other way.

I have written code for one table .

Reprot ZTesdel.

Tables : YDCS_COMP_CR.

DATA itab1 type STANDARD TABLE OF YDCS_COMP_CR.

SELECT * FROM YDCS_COMP_CR INTO TABLE ITAB1.

DELETE YDCS_COMP_CR from table ITAB1.

Please any one can tell the same code will work for deleting records from YDCS_COMP_CR or any other piece of needs to added?

Regards,

Krishna