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: 

FM or BAPI to delete data from transaction XD02

Former Member
0 Kudos
241

Hi All,

I have to delete the data from transaction XD02. The customers that we create in XD02, are getting updated in table KNVP. I need to find sold to account has to be deleted from XD02.

I think this can be done by using Function module or BAPI.

User will upload the customer data with account number in the program and program should delete data from XD02.

Please help me. Solutions will be appreciated.

Regards,

Mamta

3 REPLIES 3

GauthamV
Active Contributor
0 Kudos
66

hi,

check this standard transactions.

F8P4 Delete Customer Execution Data

OV51 Display of Changes for Customer

Former Member
0 Kudos
66

Hi Gautum,

This is not working.

I will give one example..i think problem is not clear.

Suppose there is a customer 10001, which is having different sol to account number

eg:-

Customer Sales organization Distribution Channel Division Account

10001 001 1 10 AA

10001 001 1 10 BA

10001 001 1 10 CA

10001 001 1 10 AB

Now I want to delete CA account number for that customer.

Regards,

Mamta Gupta.

former_member181995
Active Contributor
0 Kudos
66

Mamta,

use:

BAPI_CUSTOMER_DELETE           Delete Customer Master Online

Amit.