SAP Knowledge Base Article - Public

3592349 - E-mail body is in the incorrect language if "Document language" option is empty in Document generation

Symptom

If "Document language" is empty in document generation and dictionary is a custom dictionary, system is using other dictionaries for the e-mail body.

Environment

SAP SALES CLOUD CPQ

Reproducing the Issue

  1. Create a custom dictionary and create key with "TEST.Email.Proposal.Body" and any value
  2. In general settings of document generation templates, in e-mail body insert "<*CTX( 
  3. Dictionary.Current.Value(TEST.Email.Proposal.Body) )*>"
  4. Set the recent created custom dictionary as default for your user and for the tenant
  5. Create a quote and generate document
  6. Leave the "document language" field empty
  7. Check the body, only the key is present instead of the value
  8. Now repeat the process, but select the custom dictionary created in "document language"
  9. Check the body again, the value is present as expected. 

Cause

This is a bug in the document generation.

Resolution

This bug will be fixed as part of the redesign of document generation feature that will take place in CPQ-2505 release.

Keywords

CPQ, document, generation, dictionary, key, custom, translation , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Known Error

Product

SAP CPQ 2025