SAP Knowledge Base Article - Public

3632261 - Attribute value updates not sent to SAP VC when deselected via script

Symptom

Attribute value deselection for "User Selection" attributes in SAP CPQ are not being sent to SAP VC if the changes are made via script, resulting in the values not being updated.

Environment

SAP SALES CLOUD CPQ integrated with VC

Reproducing the Issue

  1. Open a quote in SAP CPQ and configure a product 

  2. Open the scripting workbench.

  3. Execute the following Python code:

    A = Product.Attributes.GetBySystemId('AttributeSystemID')
    check = A.SelectedValue
    A.SelectedValue.IsSelected = False
    check2 = A.SelectedValue
    Product.ApplyRules()

Other codes that deselect the attribute value can be used and result will be similar.

Cause

Bug in the application.

Resolution

Issue will be fixed as part of 2511 release.
The workaround is to use cpservices/api/v2/externalConfigurations endpoint to reset whole configuration.  

Keywords

CPQ, VC, deselect, attribute, value, script, update, user, selection, configurator, request, response, CPS , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Known Error

Product

SAP CPQ 2025