SAP Knowledge Base Article - Public

2804650 - Document Generation generates duplicate rows for child MDF

Symptom

When a custom parent MDF has multiple children with 1:Many associations, duplicate rows get generated in Document Generation.

Environment

SuccessFactors Employee Central: Document Generation

Reproducing the Issue

Working as expected:

The custom parent MDF is linked to only one child MDF via 1: many associations. The child MDF is part of a table via direct mapping. If there are two rows for the child MDF, the generated document shows only two rows. This is working as expected.

Not working as expected:

The custom parent MDF is linked to two child MDFs via 1: many associations. The child MDFs are part of a table via direct mapping. If there are two rows for each child MDF, the generated document shows 4 rows for each child MDF. The expected behavior is that the genrated document should show only two rows per child MDF.

Cause

This issue needs a code fix.

Resolution

The engineering team is aware of this issue and there is an open enhancement request ECT-115916 for it. The engineering team has confirmed that the Table handling logic will have to be reworked to avoid such repetitions which needs considerable effort as this has a risk of breaking the other working scenarios too if not properly analysed and refactored. Currently we don't have any fix date for this enhancement. Once it is enhanced, the information will be included in release notes and this KBA will be updated. In the meantime, you can contact your CSM or call SAP hotline number to know current status.

Keywords

ECT-115916, Child, Repeat, Table, Association, Multiple , KBA , LOD-SF-EC-DOC , Document Generation , Product Enhancement

Product

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