cancel
Showing results for 
Search instead for 
Did you mean: 

Contact Person create for Customer master

Former Member
0 Kudos

Hi Experts,

I need to create contact person for Customer Master. Also I have to update the contact person's address details.

Is there any BAPI/FM that i can use?

Thanks in advance !!

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi,

I cannot use BAPI's which create Contact person online.

Also BAPI_BUPA_CREATE_FROM_DATA is used to create Busines Partners.

My requirement is to create Contact person for a Customer. Is there something specific I need to do, so as to use above mentioned BAPI.

Former Member
0 Kudos

BAPI_BUPA_CREATE_FROM_DATA can be used for creating a Contact Person.

I'm in the process of doing it myself.

EDIT = a contact person is a business partner. And like the above post said, if you make the category = 1 it makes it a person.

Edited by: Kieran Ryan on Mar 18, 2010 10:16 PM

Former Member
0 Kudos

Hello there,

I would like to to the same.

I have created a debitor with BAPI_CUSTOMER_CREATEFROMDATA1 and I have created a business partner with BAPI_BUPA_CREATE_FROM_DATA

But I don't know how to assign the business partner to a debitor as contact person.

Can someone tell me how to do this?

Thanks a lot.

Former Member
0 Kudos

Hi,

*for the first parts of this thread:

Everything related to BUPA, Businesspartner, ... has nothing to do with customer master data or customer master data contact persons

  • Then for everything related to BAPI and customer master data

sorry but there is NO BAPI for the maintenance of customer master data.

BAPI_CUSTOMER_CREATEFROMDATA1 is not to be used. See [note 390045|https://service.sap.com/sap/support/notes/390045]

There are some functions modules like the one above where the name is looking nice. But these should not be used.

Below ECC 2005 (6.00), the only solution was batch input and DEBMAS idocs. See note 384462

Starting with ECC 2005 (6.00) and above: a synchronisation tool has been introduced. See class CMD_EI_API and VMD_EI_API. You may also have a look at class CL_ERP_SALES_LCM_INTERACTION. Despite the limitations, it is easier to use than CMD_EI_API.

  • For the latest question related to assignment of business partner as a contact person of a customer

The business partner should be a person.

The customer has to be synchronised with a business partner (probably of type organisation)

Then the BP person has to be a contact person of the BP organisation.

As a result, the synchronisation might be able to generate a customer master contact person from the ECC BP relation ship.

I hope this was clear enough.

Good luck

Alain

Former Member
0 Kudos

Hi Alain,

I have seen few of your post on VMD_EI_API and your reply on these posts.

I am facing one issue related to VMD_EI_API maintain_bapi.

I am trying to create vendor, and I want to add contact person in that vendor but I am not able to do so. It is not giving any error and vendor is getting created without any contact person.

Kindly give me some idea on this.

Thanks,

Brijesh Soni

Former Member
0 Kudos

Hi Reetwika,

You can use the BAPI function BAPI_BUPA_CREATE_FROM_DATA to create the business partner.

Remember to create the business partner as Person by passing the PARTNERCATEGORY = 1.

After creating the business partner using the above function module, add the contact person role to the created business partner using BAPI function BAPI_BUPA_ROLE_ADD_2.

If you are using the standard role for contact person, then use the role category as BUP001.

Thanks,

Sakthi.

Former Member
0 Kudos

hi,

You can do use

BAPI_BUPA_CREATE_FROM_DATA to create Person (enter category = 1)

and then use BAPI_BUPR_CONTP_CREATE to assign it to an Org

hope this helps

Regards

RItesh

manthanraja
Active Participant
0 Kudos

you can use these bapi's for creating and changing a customer contact

BAPI_PARTNEREMPLOYEE_CREATE Create Contact Person Online

BAPI_PARTNEREMPLOYEE_DISPLAY Display Contact Person Online

BAPI_PARTNEREMPLOYEE_EDIT Display Contact Person Online

also for changing address

BAPI_ADDRESSCONTPART_CHANGE BAPI to change contact person addresses

BR

Manthan.

Former Member
0 Kudos

Hi

I require a BAPI/FM to create a customer contact person.

Thanks

Former Member
0 Kudos

hi,

find the following BAPI.

Use the BAPI BAPI_CUSTOMER_GETCONTACTLIST to get the contact persons for a given customer.

Another way.

You can do use

BAPI_BUPA_CREATE_FROM_DATA to create Person (enter category = 1)

and then use BAPI_BUPR_CONTP_CREATE to assign it to an Org

hope this helps

Regards

RItesh