SAP Knowledge Base Article - Public

2545392 - Application error when Generating Document using Take Action

Symptom

When trying to generate a document via Take Action, the system is getting an application error. But when using Generate Document in Admin Center it is working.

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

Reproducing the Issue

  1. Go to Home Page icon and select "Employee Files"
  2. Select Take Action
  3. Select "Generate Document" option
  4. Select desired Language
  5. Select the Template you have previously created
  6. Select date and press the button Download
  7. You will receive an application error similar to this one:

    Document Generation.PNG

   errorId=b1d3bdfe-825f-4472-a5dd-b75f6aa59153, fingerprint=13fdadba53bdfeb54164218a13065530a804893c, timestamp=2017-08-21T10:20:33.490-0400, server=125pc4bcf93t,       versionInfo=Release%3A%20b1705.1253985%0A%20%20%20%20Server%3A%20125pc4bcf93t%0A%20%20%20%20Timestamp%3A%202017-08-21T10%3A20%3A04.429-0400

Cause

  •  The application error occurs via Take Action when you do not have any placeholders in the Document Template

Resolution

  • The Engineering team have addressed the solution for this error in Release 1711. For Preview instances is target for November 4th, 2017 and Production December 2nd,2017. These are the planned dates, any change in the schedule, Support will update this KBA. 

WORKAROUND: 

  1. Go to Admin Center
  2. Search for Document Generation - Manage Document 
  3. Select the Template that is generating the application error and add a dummy placeholder in the body

Example:

   Placeholder example.PNG

    4. Go to Admin Center
    5. Search for Generate Document - Manage Document Template Mapping
    6. Map that placeholder to some dummy value and Save it

 Example:

   Mapping.PNG
    7. Edit the template again and remove the placeholder from the body
    8. Now try downloading the document via Take Action

For SAP Support Only:

   Refer to the Internal Memo to check Jira.

See Also

  • 2347226 - Employee Central - Document Generation

Keywords

  • Employee Central, Document Generation, ESS , Take Action, Application error , Document , Template, Fingerprint: 07cd66901e94b2661121da3c6e34c0843525da0a
, KBA , LOD-SF-EC-DOC , Document Generation , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Suite all versions