cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Mass Update of Contact Person - Customer Master Data (XD02)

joaopereira_78
Explorer
0 Likes
1,678

Dear colleagues,

I need to add/update a contact person email address (in a dedicated Contact Person Function) at customer master data level (XD02). And this should be done massively.

I tried with an LSMW but there's no way to say to the recording the position that we want to add/update, because it changes from customer to customer and how many "entries" he already have. Most of cases will overwritten the info already existing.

Also checked with XD99 (MASS) transaction but there's only have the option to add the field "email address"

Any other idea how to do it in a "functional" way? Or any FM or BAPI that can be used? 

Kind regards

Joao Pereira

Accepted Solutions (1)

Accepted Solutions (1)

Stanislaw_Stefanowski
Active Participant
0 Likes

Hi @joaopereira_78 ,

you can try to create LSMW for the transaction VAP2 (change contact person). Number of the contact person for customers can be found in table KNVK. 

Best regards

joaopereira_78
Explorer
0 Likes

Hi @Stanislaw_Stefanowski,

Thank you for the feedback.

To update the email address seems to work yes (get contact person from KNVK and use it in VAP2). 

For data creation itself (new entries in customer data) need another workaround, any idea?

Kind regards

Joao Pereira

 

Stanislaw_Stefanowski
Active Participant

Hi,

have you tried VAP1 transaction to create a new contact person?

Best regards

Answers (1)

Answers (1)

RaymondGiuseppi
Active Contributor
0 Likes

Could you consider creation of a LSMW on IDOC DEBMAS, in the first steps, sort your input data by customer, and read database for each customer to find how many partners are already defined

  • Segment E1KNVKM for Master customer master contact person (KNVK)