2465609 - Enrollment/Registration connector throws duplicate error : "Record received for duplicate entity."

SAP Knowledge Base Article - Public

2465609 - Enrollment/Registration connector throws duplicate error : "Record received for duplicate entity."

Symptom

When trying to run the Registration connector, with multiple registration status for a user, the connector "Record received for duplicate entity."

Environment

SAP Successfactors Learning

Learning Management System

Reproducing the Issue

1.Prepare a feed file for the registration connector with name 'enrollment_data.txt'

2.The data in the feed file looks like :

STUD_ID|ENRL_STAT_ID|ENRL_DTE|COMMENTS|CANCEL_DTE|LEGACY_ID!##!

1234|CANCELLED|||Apr-28-2017 17:23:56|2017_D7830_01_01!##!

1234|ENROLL|Apr-28-2017 20:35:05|||2017_D7830_01_01!##!

3.Upload the file to the sftp and schedule the Registration Connector

4.The connector rejects the records with message "Record received for duplicate entity."

Cause

In the same input file, only one Enrollment/Registration status for a user can be passed.Connector rejects records with multiple status.

Resolution

  • Prepare the feed file to include only one registration/enrollment status at a time.In case the enrollment status needs to be updated for a user from Enroll to Cancelled, do it in the next run of the connector.
  • In other words, first register the user as enroll and then run the connector.In this case the feed file will look like :

STUD_ID|ENRL_STAT_ID|ENRL_DTE|COMMENTS|CANCEL_DTE|LEGACY_ID!##!

1234|ENROLL|Apr-28-2017 20:35:05|||2017_D7830_01_01!##!

  • Rerun the connector to update the status to Cancelled.In this case the feed file will look like :

STUD_ID|ENRL_STAT_ID|ENRL_DTE|COMMENTS|CANCEL_DTE|LEGACY_ID!##!

1234|CANCELLED|||Apr-28-2017 17:23:56|2017_D7830_01_01!##!

Keywords

enrollment connector, registration connector,enrollment status,registration,update,connector , KBA , LOD-SF-LMS-CON , Connectors , Problem

Product

SAP SuccessFactors Learning 1511 ; SAP SuccessFactors Learning 1602 ; SAP SuccessFactors Learning 1605 ; SAP SuccessFactors Learning 1608 ; SAP SuccessFactors Learning 1611 ; SAP SuccessFactors Learning 1702 ; SAP SuccessFactors Learning 1705 ; SAP SuccessFactors Learning 1708 ; SAP SuccessFactors Learning 1711 ; SuccessFactors Learning 1207 ; SuccessFactors Learning 1210 ; SuccessFactors Learning 1302 ; SuccessFactors Learning 1305 ; SuccessFactors Learning 1308 ; SuccessFactors Learning 1311 ; SuccessFactors Learning 1402 ; SuccessFactors Learning 1405 ; SuccessFactors Learning 1408 ; SuccessFactors Learning 1411 ; SuccessFactors Learning 1502 ; SuccessFactors Learning 1505 ; SuccessFactors Learning 1508