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

Database Name

Former Member
0 Likes
613

Hi all,

How to delete from any database name??

no command for Drop program in ABAP!!!!!!

Donot like application tool bar which delete icon.

I want that program..

Reply me soon,

Thx,

S.Suresh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
580

Hi,

If you want to delete the table from the database through the ABAP program then there is a FM

"RS_DD_DELETE_OBJ"

"OBJ_NAME" is the name of the table you want to delete.

"OBJTYPE" is "T" for table.

This FM can be used to delete not only tables but also the following: Datadictionary objects.

OBJTYPE OBJECT

A Table Type

D Domain

E Data Element

F Table Field

G Type Group

H Search Help

I Matchcode ID

L Lock Object

M Matchcode Object

N Table Index

S Internal Structure

T Transparent Table

U Table/Structure

V View

X Table Pool

Y Table Cluster

Z Table cluster/pool

Reward points if helpful.

Thanks and Regards.

3 REPLIES 3
Read only

Former Member
0 Likes
580

Go to SE11

Give the databse table name

there is a delete icon at the application toolbar

delete it.

If you want to delete the contents, write the query as,

DELETE FROM <DBNAME>.

Read only

Former Member
0 Likes
581

Hi,

If you want to delete the table from the database through the ABAP program then there is a FM

"RS_DD_DELETE_OBJ"

"OBJ_NAME" is the name of the table you want to delete.

"OBJTYPE" is "T" for table.

This FM can be used to delete not only tables but also the following: Datadictionary objects.

OBJTYPE OBJECT

A Table Type

D Domain

E Data Element

F Table Field

G Type Group

H Search Help

I Matchcode ID

L Lock Object

M Matchcode Object

N Table Index

S Internal Structure

T Transparent Table

U Table/Structure

V View

X Table Pool

Y Table Cluster

Z Table cluster/pool

Reward points if helpful.

Thanks and Regards.

Read only

Former Member
0 Likes
580

Hi Suresh,

Cudnt get ur question clearly. Can u come out once again?

Regards,

Iyswarya