Symptom
You are going to change the value in an existing contract via web service payload. But failed and got message in the response:
"Update not possible; specified data for CUSTOMER_CONTRACT does not exist".
In this case, you are going to update the contract administrator party role in the contract.
<CustomerContract actionCode="02">
<ID>ABC</ID>
<ContractAdministratorParty actionCode="02">
<PartyID>123</PartyID>
</ContractAdministratorParty>
</CustomerContract>
ABC represents the contract ID and 123 represents the contract administrator ID.
Environment
SAP Business ByDesign
Reproducing the Issue
execute the payload in SOAP UI.
Cause
The error message suggests that you are trying to adjust data, which is not created at the time.
Resolution
Use the actionCode 04 instead of 02 for the update calls, which will create or change nodes.
<CustomerContract actionCode="04">
<ID>ABC</ID>
<ContractAdministratorParty actionCode="04">
<PartyID>123</PartyID>
</ContractAdministratorParty>
</CustomerContract>
Keywords
update; action code 02; action code 04; II_MANAGE_CUCO_IN; ManageCustomerContractIn; "Update not possible; specified data for CUSTOMER_CONTRACT does not exist". , KBA , AP-CCP-CC , Customer Contract , Problem