Symptom
You are facing error "lcp - Modify: BO BUSINESS_PARTNER" while trying to create Address on Business Partner via Web Service.
Environment
SAP Business ByDesign
Reproducing the Issue
- Open SoapUI.
- Go to file and create new SOAP file
- Use WSDL "ManageBusinessPartnerIn.wsdl"
- Expand CheckMaintainBundle and open it.
- Paste the customer payload for Business Partner Address creation.
- Insert logging and password.
- It will falls in errors.
- Go to the tenant UI.
- Go to Application and user management WoC.
- Go to Web Service Message Monitoring.
- Click on advance filter and search for your user ID
- You will see the ones tried by yourself with your user ID with error text Error calling "lcp - Modify: BO BUSINESS_PARTNER".
Cause
Payload used might be inconsistent.
Resolution
You might have try to use the following payload below, this is allowing to add new address usage at the same time making new address as default.
<n0:BusinessPartnerBundleMaintainRequest_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">
<BasicMessageHeader>
<ID>8000000252</ID>
</BasicMessageHeader>
<BusinessPartner actionCode="04" addressInformationListCompleteTransmissionIndicator="false" relationshipListCompleteTransmissionIndicator="false" contactPersonListCompleteTransmissionIndicator="false" textListCompleteTransmissionIndicator="false">
<InternalID>8000000252</InternalID>
<CategoryCode>1</CategoryCode>
<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@roland.berger.com</EmailURI>
<PostalAddress>
<CountryCode>DE</CountryCode>
</PostalAddress>
</Address>
</AddressInformation>
</BusinessPartner>
</n0:BusinessPartnerBundleMaintainRequest_sync>
Keywords
WebService, Business Partner Address Creation, SOAP, BusinessPartnerBundleMaintainRequest, "lcp - Modify: BO BUSINESS_PARTNER", ByD , KBA , SRD-MD-BP , Business Partner , Problem