Symptom
How to utilize webservices to update supplier collaboration data
Environment
SAP Business ByDesign
Reproducing the Issue
- Open SOAP UI
- Update the Supplier
Cause
The webservice managesupplierin is used to update collaboration data of supplier.
Resolution
In payload it is required to pass all channels for a document type via "Complete Transmission Indicator" in the web service. This means, existing entries will be ignored (deleted) and the sent list will be newly created.
Sample payload would look something like this:
<n0:SupplierBundleMaintainRequest_sync_V1 xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">
<BasicMessageHeader></BasicMessageHeader>
<Supplier actionCode="02" >
<InternalID>XXXX</InternalID>
<CommunicationArrangementMultiChannel actionCode="04" communicationChannelListCompleteTransmissionIndicator="true">
<CompoundServiceInterfaceCode>11</CompoundServiceInterfaceCode>
<EnabledIndicator>true</EnabledIndicator>
<CommunicationChannel communicationEmailListCompleteTransmissionIndicator="true">
<CommunicationMediumTypeCode>INT</CommunicationMediumTypeCode>
<CommunicationEmail>
<EmailURI>Email ID</EmailURI>
<RecipientFieldTypeCode>TO</RecipientFieldTypeCode>
</CommunicationEmail>
</CommunicationChannel>
</CommunicationArrangementMultiChannel>
</Supplier>
</n0:SupplierBundleMaintainRequest_sync_V1>
This web service call will add/change for a supplier's collaboration for remittances with email. Otherwise, for now, only the manual update via the UI is possible.
Keywords
webservice, collaboration data, supplier, managesupplierin , KBA , AP-RC-CEC-B2B , ByD On-Demand Cloud-Process Integration B2B , SRD-MD-BP , Business Partner , Problem