SAP Knowledge Base Article - Public

3654129 - Paragraph font lost in multi-line text

Symptom

  • When inserting a document into another, the paragraph font of the parent document is lost if a custom field contains multi-line text.
  • If the custom field contains single-line text, the paragraph font of the parent document is retained.

Environment

SAP CPQ

Reproducing the Issue

  1. Create a custom field of type long text.
  2. Reference the custom field in a document using the tag <<Q_TAG(<*CTX(Quote.CustomField(CustomField))*>)>>.
  3. Add the document (child document) to manage content documents.
  4. Create a template with a file containing <<Q_TAG_FILE(Document)>>.
  5. Ensure the child document uses one font type, and the parent document uses a different font type.
  6. Create a quote and add single-line text to the custom field.
  7. Generate the document.
  8. Verify that all paragraphs are styled with the font type defined in the parent document.
  9. Return to the quote and add multi-line text to the custom field.
  10. Generate the document again.
  11. Verify that the paragraph containing the custom field text now uses the font type of the child document instead of the parent document.

Cause

This is a bug.

Resolution

  • A fix for this issue will be delivered in version 2602.
  • As a workaround, ensure that the same font type is used in both the parent and child documents.

Keywords

Font, document, Custom field, inheritance, long text, CPQ , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Known Error

Product

SAP CPQ all versions