SAP Knowledge Base Article - Public

2565391 - Error on generating document for any employee

Symptom

Unable to generate a document, we get error as 'this._initValue is undefined' on clicking generate or download.

Environment

Employee Central - Document Generation

Reproducing the Issue

Go to Admin Centre > Generate Document > Select a template > Click on Download / Generate and Email > error pops up.

Cause

The placeholders in Admin Centre > Manage Document Template might have space at the beginning or after the end of placeholder. Example: [[ **] or [[** ]] [[ ** ]]:

2565391-2.JPG

PS: Space in placeholder name itself is allowed: like [[** **]]

Resolution

Remove the spaces in placeholder names at the beginning and end of placeholder to correct the issue.

Also we do not recommend using special characters in placeholders name, like [[DD-MM-YYYY]], instead please use [[DD]]-[[MM]]-[[YYYY]] wherever possible.

Keywords

this._initValue is undefined error on document generation generate document , KBA , LOD-SF-EC-DOC , Document Generation , LOD-SF-EC , Employee Central , Problem

Product

SAP SuccessFactors HCM Core 1708 ; SAP SuccessFactors HCM Core 1711