cancel
Showing results for 
Search instead for 
Did you mean: 

CPQ SOAP API removes translations of attribute values which are not mentioned in request

pritee_patil
Explorer
0 Kudos

Using SimpleProductAdministration SOAP API, we can add/update translation of attribute value as highlighted below. However if same attribute has multiple values and those are not mentioned in SOAP request, their translations will be removed from CPQ. Standard English text for the value remains unchanged.

Please provide suggestion on how to maintain translations of all attribute values?

<Attributes UpdateOnlyListedAttributes="TRUE">

<Attribute UpdateOnlyListedValues="TRUE">

<AttributeName>

<USEnglish>

<![CDATA[product_material_met]]>

</USEnglish>

</AttributeName>

<AttributeSystemId>product_material_met</AttributeSystemId>

<Values UpdateOnlyListedValues="true">

<Value>

<USEnglish>

<![CDATA[[product material 1 EN ]]]>

</USEnglish>

<German>

<![CDATA[[product material 1 DE]]]>

</German>

<ValueCode>5100014847</ValueCode>

<AttributeValueSystemId>product_material_met_5100014847</AttributeValueSystemId>

</Value>

</Values>

</Attribute>

</Attributes>

yogananda
Product and Topic Expert
Product and Topic Expert
0 Kudos
pritee.patil

is SAP CPQ connected to S/4 Onprem ? Translation will be taken care by Knowledge Base.

If its not integrated to S/4, ERP, any SAP system.. you can use CPQ APIs for Attributes translations.

pritee_patil
Explorer
0 Kudos

Hi yoganandamuthaiah

Thanks for replying. In this case attribute translations are not coming from any SAP system.

Regarding CPQ REST APIs for translation, we get response '302Moved Temporarily'. It seems those are not functional now. Hence we have used SOAP API.

Reference taken from https://help.sap.com/docs/SAP_CPQ/08a7929ad06d4680b4f18cb57bc1a1d3/81d560f0089f48909fc596307579f329....

Thanks,

Pritee

yogananda
Product and Topic Expert
Product and Topic Expert
0 Kudos

Have you tried this API endpoint ?

pritee_patil
Explorer
0 Kudos

Yes, tried same.

yogananda
Product and Topic Expert
Product and Topic Expert
0 Kudos
pritee.patil

It should be https in your postman

pritee_patil
Explorer
0 Kudos

Hi yoganandamuthaiah

Thanks for the updates. However I received 'The requested resource does not support http method' error for both PUT and POST.

Regarding SOAP request given in the question, we have observed that it was working fine before CPQ version upgrade. Now also SOAP response is 200 (status:Ok), but it overrides existing translations of other values.

Any suggestion would be of great help.

yogananda
Product and Topic Expert
Product and Topic Expert
pritee.patil

Kindly raise a ticket immed.. seems like something issue in your cpq domain. show this screenshot to support team... they can investigate by looking at your cpq tenant.

Accepted Solutions (0)

Answers (0)