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

BAPI to delete records from database tables

Former Member
0 Likes
1,044

Hello All,

I need to delete few records from the table VBPA.

Is there any FM or BAPI to delete records from database tables, As I am not supposed to use DELETE statement.

Good answers will be appreciated through points.

Thanks in advance.

Best Regards,

Sasidhar Reddy Matli.

Hello All,

I need to delete few records from the table VBPA.

Is there any FM or BAPI to delete records from database tables, As I am not supposed to use DELETE statement.

Good answers will be appreciated through points.

Thanks in advance.

Best Regards,

Sasidhar Reddy Matli.

1 REPLY 1
Read only

Former Member
0 Likes
577

Hi,

I dint find any FM/BAPI for this and there is no otherway to delete the records through the program.

Otherwise you can create a LSMW with one line code to delete the records from the database table and execute.This will work.

I got few FMs related to other database:

C1CB_ADD_DELETE_FROM_DATABASE

KL_DATABASE_DELETE

KL_SFGDT_DATABASE_DELETE

SWU_DATABASE_DELETE_STRUCTURE

TPM_TRAC_DATABASE_DELETE

TPM_TRAC_DATABASE_DELETE_GUID

Please have a look.

Reward if helpful.