Symptom
You need to update the Account Address via Web Service for a contract which is "In Process" status, however this is not possible.
Environment
SAP Business ByDesign
Reproducing the Issue
When executing the below example payload, the SOAP request goes through without any errors, however the address is not updated:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
<soap:Header/>
<soap:Body>
<glob:CustomerContractBundleMaintainRequestSync_V1>
<BasicMessageHeader/>
<CustomerContract actionCode="02">
<ID>XY</ID>
<BuyerParty>
<PartyID>Test12345</PartyID>
<Address>
<CorrespondenceLanguageCode>EN</CorrespondenceLanguageCode>
<DisplayName>
<FormattedName languageCode="EN">Sopstationen AB</FormattedName>
</DisplayName>
<PostalAddress>
<CountryCode>XX</CountryCode>
<CityName>TestCity</CityName>
<StreetPostalCode>00000</StreetPostalCode>
<StreetName>Teststreet</StreetName>
<HouseID>X</HouseID>
<TimeZoneCode>CET</TimeZoneCode>
</PostalAddress>
</Address>
</BuyerParty>
</CustomerContract>
</glob:CustomerContractBundleMaintainRequestSync_V1>
</soap:Body>
</soap:Envelope>
Cause
You want to update the Account Address with Web Service in a contract which is "In Process" status.
However, we do not support this update if the contract is anything else apart from "In Preparation", hence an error is raised in the web service call:
<Note>Change of party with role Buyer not permitted in a saved document</Note>
This also applies for the SELLER party.
Resolution
This is the current system behaviour.
Keywords
Webservice, Address, In Preparation, Contract , KBA , AP-SLO-SO , Sales Order , Problem