SAP Knowledge Base Article - Public

3555735 - Not possible to add a Variant product as subitem of a Variant Product

Symptom

When attempting to add a Variant Product as Sub Item of another Variant Product an Error is thrown, not allowing to add the item as subitem.

Environment

SAP SALES CLOUD CPQ integrated with SAP Variant Configuration

Reproducing the Issue

  1. Create a Quote
  2. Add a Variant Product to it
  3. Run folliowing code:
    1. item = context.Quote.GetItemByItemNumber(1)
      prod = ProductHelper.CreateProduct({SubItem_ID})
      item.AsMainItem.AddSubItem(prod,1)
  4. A Fatal is thrown in developer console and event log.

Cause

Bug.

Resolution

  • Workaround: None
  • Tentative Fix Version: CPQ-2502

See Also

Known Issues in SAP CPQ

Keywords

Variant, Subitem, Integration, Configuration, Product, CPQ , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Known Error

Product

SAP CPQ 2024