Symptom
When creating a new address for business partner by webservice ManageBusinessPartnerIn with payload like following, the private address of employee in Personnel Administration is deleted.
<AddressInformation actionCode="01" addressUsageListCompleteTransmissionIndicator="false">
<ObjectNodeSenderTechnicalID>AddressInformation</ObjectNodeSenderTechnicalID>
<AddressUsage actionCode="04">
<ObjectNodeSenderTechnicalID>006</ObjectNodeSenderTechnicalID>
<AddressUsageCode>XXDEFAULT</AddressUsageCode>
</AddressUsage>
<Address actionCode="01" telephoneListCompleteTransmissionIndicator="true">
<EmailURI>test@example.com</EmailURI>
<PostalAddress>
<CountryCode>DE</CountryCode>
</PostalAddress>
</Address>
</AddressInformation>
Environment
SAP Business ByDesign
Cause
This is a designed system behavior. As for data structure, employee address is coming under Business Partner. Address usage XXDEFAULT can only exist once across all address information records. Therefore, before calling the webservice, the existing address with address usage XXDEFAULT is deleted.
Resolution
Remove XXDEFAULT in the payload. Once XXDEFAULT is removed, it will not influence the address in Personnel Administration.
Keywords
Address, Deleted, ManageBusinessPartnerIn, XXDEFAULT, Business Partner, Employee , KBA , SRD-MD-BP , Business Partner , Problem