Application Development and Automation 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: 
Read only

Delete Database

Former Member
0 Likes
673

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
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
638

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
Read only

Former Member
0 Likes
638

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

Read only

0 Likes
638

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.

Read only

0 Likes
638

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

Regards,

Rich Heilman

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
639

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

Read only

Former Member
0 Likes
638

Hi,

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

Thanks,

Naren

Read only

0 Likes
638

Thanks, Rich and Naren.

Shejal Shetty.