Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Database

Former Member
0 Kudos

Hello friends,

I have to delete all records from a database table. Its more than some 1000 records.

Its a customized table and has the table mainteance generator. so when i go to se16 it dosent give me the option to delete the records. Is there a way to do so, I have a program to delete but was kind of thinking to do wihout program.

Shejal.

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Easy way to delete all records is to use SE14, enter table name and hit enter. Mark the radiobutton for "Delete Data" and click the "Activate and Adjust" button. Table will be cleared.

Regards,

RIch Heilman

6 REPLIES 6

Former Member
0 Kudos

Hi,

If you have table maintenance..Go to SM30..

Give the table name..

Get in to change mode..

Press select all button (F7)..

Press the delete button (Shift + F2).

THen save..

THanks,

Naren

Message was edited by: Narendran Muthukumaran

0 Kudos

Narendran,

I dont own this table.

However when i go to SM30 i dont have an option for change mode.

Rich,

Do i need the ownership of the table to do the way you have specified.

Shejal.

0 Kudos

You should be able to do any table including standard SAP tables so...... be careful!!!

Regards,

Rich Heilman

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Easy way to delete all records is to use SE14, enter table name and hit enter. Mark the radiobutton for "Delete Data" and click the "Activate and Adjust" button. Table will be cleared.

Regards,

RIch Heilman

Former Member
0 Kudos

Hi,

Press the maintain Button..That is the change mode..

Thanks,

Naren

0 Kudos

Thanks, Rich and Naren.

Shejal Shetty.