SAP Knowledge Base Article - Public

2744202 - Data not captured from second row of a custom object

Symptom

A user has multiple rows of data for a custom MDF in Manage Data. When a document is generated, data from the first row is getting captured. The requirement is to have data from all the rows to the generated document.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

SuccessFactors Employee Central: Document Generation

Reproducing the Issue

A custom MDF object "Tuituion Reimbursement" has a child object "Classes". In the example, the user has three entries for Classes:

TuitionReimbursement.jpg

The template is configured as following:

TuitionTemplate.jpg

The generated document contains data from only the first row:

TuitionDocument.jpg

Note that data from the second and third row are not in the generated document.

Cause

Incorrect mapping configuration.

Resolution

In the template the table has placeholders in multiple rows. Hence, they are considered static which will fetch only the first value available.

For the placeholders to fetch multiple values in a table, all the placeholders should be in the same row. You can keep the first row for header and the second row will contain its respective placeholders. This would fetch the multiple values if present.

The template should look like:

NewTemplate.jpg

Now, the generated document is:

NewDocumentGenerated.jpg

Keywords

Multiple
Records
Details
Static
Dynamic , KBA , LOD-SF-EC-DOC , Document Generation , Problem

Product

SAP SuccessFactors HCM Core all versions