Symptom
You have created an Account through Web Service and later deleted the Payment data through the Web Service. This resulted in an inconsistent state of the Payment Data of the given account. Also, tt is not possible to delete it in the UI (Accounts view) or webservice.
Environment
SAP Business Bydesign
Reproducing the Issue
Service interface - ManageCustomerIn
Cause
Cause for the issue is that "paymentDataListCompleteTransmissionIndicator="true" is not correctly supported by the web service. The system will not completely delete objects of the payment data, and therefore leave an inconsistency in the system.
Resolution
In order to remove the Payment Data from Account, please follow the below instruction
1) Do not set the paymentDataListCompleteTransmissionIndicator
2) Delete all the entries for paymentData explicitely. This will be achieved via the following XML snippet:
<PaymentData actionCode="05">
<CompanyID>XYZ</CompanyID>
<AccountDeterminationDebtorGroupCode>ABC</AccountDeterminationDebtorGroupCode>
</PaymentData>
This will delete the payment data for a company XYZand the AccountDeterminationGroup ABC
3) If you need to change paymentData you can also do so for most atttributes:
please note that if you need to change the AccountDeterminationDebtorGroupCode, you have to delete the existing entry first, and create a new entry.
4) Afterwards you can create newPaymentData again
Currently the paymentDataListCompleteTransmissionIndicator cannot be supported by the webservice.
Keywords
Account, payment data, web service, managecustomerIn , KBA , SRD-CRM-ACC , Account Management , Problem