Symptom
When attempting to replicate a product using Simple Product Administration SOAP API, "Duplicated attribute names are not allowed" error is thrown.
Environment
SAP SALES CLOUD CPQ integrated with SAP S/4Hana
Reproducing the Issue
- Try to replicate a product via Simple Product Administration API;
- Response provides the following error message: "...Duplicate attribute names are not allowed".
Cause
- Simple Product Administration API do not allow duplicated attribute names even when attributes have different ids/system ids;
- Even in case that information of the attribute is not being mentioned in the payload, error will be thrown, as the product is loaded during the SOAP API call.
Resolution
- Customer should not use Simple Product Administration SOAP API on products that contains duplicated Attribute Names, as it will give the error when attempting replication;
- Only workaround is to change attribute name in backend system.
See Also
- Simple Product Administration SOAP API - https://help.sap.com/docs/SAP_CPQ/08a7929ad06d4680b4f18cb57bc1a1d3/32875dd531b64274a42b5fcc2985f244.html?version=latest
Keywords
SOAP, SimpleProductAdministration, Product Replication, S/4 Hana, Integration, Duplicated Attribute, CPQ
Product
SAP CPQ 2023