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 Record from KNVP using BAPI

Former Member
0 Likes
1,797

Hi All,

Is there any BAPI to delete partner from KNVP.

I have checked SD_CUSTOMER_MAINTAIN_ALL and CUSTOMER_UPDATE ,While executing I am gettting error as System error in table KNVP,

But when i test CUSTOMER_UPDATE individually its working fine but in program its giving error.Pls help.

Regards,

Trinadh

2 REPLIES 2
Read only

Former Member
0 Likes
1,117

Hi Trinadh,

BAPIs and just like arms and legs of business objects check the business objects customer (KNA1)

Use Bapi BAPI_CUSTOMER_DELETE to delete customer from the system

Regards

Gaurav Ahluwalia

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,117

Did you look at classes CMD_EI_API (method MAINTAIN_BAPI) and CMD_EI_API_EXTRACT to read current data and prepare parameters.

NB: Also look at FM CUSTOMER_UPDATE attributes, this is an update task FM, so it only performs some OPEN-SQL statements, no check no database consistency, not to be called, using this FM is no better than executing OPEN-SQL statements

Regards,

Raymond