SAP Knowledge Base Article - Public

3584100 - DCOL tag condition not working for decimal values in document generation

Symptom

Columns are being deleted when using DCOL condition in a container if the value is decimal as and the condition set in the tag is 0.

Environment

SAP SALES CLOUD CPQ

Reproducing the Issue

  1. Use the following tag in a document template only changing the column value to an exist container <<CONTAINER_TAG(<*CTX(Container().Row().Column().Get)*> ),0=DCOL>>
  2. Create a Quote
  3. In product configurator select a container with any decimal value, for example 0.5
  4. Save the product and return to the quote
  5. Generate a document
  6. Check in the generate document that the column with the decimal value was deleted.

Cause

Bug in the application.

Resolution

  • Tentative fix version is CPQ-2508 release.
  • As a workaround a regex can be used instead of the 0 condition as following example: "<<CONTAINER_TAG(<*CTX(Container().Row().Column().Get)*> ),0[.]0+$|^0$=DCOL>>".

Keywords

CPQ, document, generation, DCOL, tag, decimal , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Known Error

Product

SAP CPQ 2025