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 Kudos
985

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

View Entire Topic
Stanislaw_Stefanowski
Active Participant
0 Kudos

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 Kudos

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