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

Function Module to delete contact person

Former Member
0 Likes
1,198

Good Day Everyone

Please assist with the following:

I need a function module to delete or disable a contact person from a customer.

Am currently using function module SD_CUSTOMER_MAINTAIN_ALL but this only seems to work for updates.

I also tried using function module ISAI_CONTACT_DELETE however am getting the following message 'Problem with IDOC processing'

You assistance would be greatly appreciated.

Regards

Thobile

1 REPLY 1
Read only

RaymondGiuseppi
Active Contributor
0 Likes
579

You could look at class CMD_EI_API method MAINTAIN_BAPI.

(IS_MASTER_DATA-CUSTOMERS[]-CENTRAL_DATA-CONTACTS[]-TASK = 'D' should delete a contact)

Regards,

Raymond