Symptom
When attempting to load a recurring pay component import file with two or more records the system presents the following error message on the import UI for all records: "[Internal System error encountered while importing record.]" The import file is loaded without error if only one record is present in the import file.
The import template used and data values included in the import file are correct.
Environment
Employee Central 2.0
Cause
The problem is caused by incorrect configuration of propagation rules where the same rule set was declared twice for the same foundation element, in this case "payRange". In the example below please notice 'propagate foundation-element-id="payRange"' is declared twice.
<propagate foundation-element-id="payRange">
<field id="minimumPay">
<destination field-id="custom-string33" hris-element-id="jobInfo"/>
</field>
<field id="maximumPay">
<destination field-id="custom-string35" hris-element-id="jobInfo"/>
</field>
<field id="midPoint">
<destination field-id="custom-string34" hris-element-id="jobInfo"/>
</field>
<field id="custom-string1">
<destination field-id="custom-string30" hris-element-id="jobInfo"/>
</field>
<field id="custom-string2">
<destination field-id="custom-string32" hris-element-id="jobInfo"/>
</field>
<field id="custom-string3">
<destination field-id="custom-string31" hris-element-id="jobInfo"/>
</field>
</propagate>
<propagate foundation-element-id="payRange">
<field id="frequencyCode">
<destination field-id="frequency" hris-element-id="payComponentRecurring"/>
</field>
</propagate>
Resolution
To correct the problem, the Propagation Rule Data Model configuration needs to be modified such that the desired foundation element for the rule is declared only once. An example fo the corrected propagation rule is shown below.
Correcting the configuration requires access to Product Provisioning and therefore requires assistance from Cloud Product Support or a Professional Services Consultant.
<propagate foundation-element-id="payRange">
<field id="minimumPay">
<destination field-id="custom-string33" hris-element-id="jobInfo"/>
</field>
<field id="maximumPay">
<destination field-id="custom-string35" hris-element-id="jobInfo"/>
</field>
<field id="midPoint">
<destination field-id="custom-string34" hris-element-id="jobInfo"/>
</field>
<field id="custom-string1">
<destination field-id="custom-string30" hris-element-id="jobInfo"/>
</field>
<field id="custom-string2">
<destination field-id="custom-string32" hris-element-id="jobInfo"/>
</field>
<field id="custom-string3">
<destination field-id="custom-string31" hris-element-id="jobInfo"/>
</field>
<field id="frequencyCode">
<destination field-id="frequency" hris-element-id="payComponentRecurring"/>
</field>
</propagate>
Keywords
ECT-49988 , KBA , LOD-SF-EC-EDP-REC , Recurring Payments Import , Problem
SAP Knowledge Base Article - Public