Symptom
- The generated document name from a quote does not include the expected prefix or suffix as defined in the application parameters.
- When generating a document from quote, we can define what prefix and suffix should be present in document name.
- Hence, configure application parameters in setup to define prefix and suffix for generated document name.
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental"
Environment
SAP SALES CLOUD CPQ
Reproducing the Issue
- Go to setup.
- Go to quotes.
- Under quotes go to document generation templates.
- In general settings tab.
- Update values for prefix and suffix and save the changes.
- Open a quote, for example 12345678.
- Click on generate document.
- Check the downloaded file, it will have name as "Prefix_QuoteNumber_Suffix.docx".
Cause
This is happening as per design and parameter values updated in setup for prefix and suffix.
Resolution
- The generated file name consists of:
{Prefix}{Quote number}{Revision number}-{sequence number}{Suffix}{FileExtension}. - Prefix and suffix are optional, it will show in document name once updated in setup, the rest is generated automatically in the code and can't be changed.
See Also
3504092 - Unable to hide quote number in the name of the generated document.
Document Generation Template | SAP Help Portal
Keywords
prefix, suffix, quote number, generated document, naming , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Problem
Product
SAP CPQ all versions
SAP Knowledge Base Article - Public