Symptom
How to clean or Correct Corrupt Document Generation Template
"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 SuccessFactors Employee Central
Resolution
Corruption in these templates usually happens because of hidden formatting from Word, broken merge fields, or unsupported content. Here’s how you can clean or correct them:
- Copy the content of the affected template into Notepad (this will remove any hidden formatting).
- Delete the existing content from the template.
- Copy the plain text from Notepad and paste it back into the template.
This process ensures the template content is clean and may help resolve the corruption problem.
Note: Any change in template assignment to workflow or change in the template content of the existing template should not affect the workflows in progress.
FAQ - Additional Information
Q) Where can I get information on this from the Guide?
A) Guide:Implementing Document Generation
Chapter: Working with Document Templates
See Also
- 2347226 - Employee Central Implementation - Document Generation FAQ
- 2235340 - How to enable Employee Central Document Generation feature
- 2344607 - Document Generation: Uploaded image does not displayed in generated document
- 2465399 - Document Generation: Image/Logo is not displayed while generating documents in word
- 2250862 - Document Generation: Error - No screen exists
- 2230089 - Document Generation: Error while importing screen look up file from Success Store
- 2320253 - Document Generation: Specific field is not available for direct mapping
- 2310843 - Document Generation: Unable to 'Generate Document' as Self Service (MSS/ESS)
- 2240866 - Document Generation: Application error is thrown on Generate Screen if the Document contains tokens mapped to Work Permit Info
Keywords
Document Generation, template corruption, clean template, fix template, Notepad, merge fields, unsupported content, formatting issues, SAP SuccessFactors, Employee Central, workflow unaffected, troubleshooting, resolution steps, template repair, document generation issue , KBA , LOD-SF-EC-DOC , Document Generation , How To
SAP Knowledge Base Article - Public