SAP Knowledge Base Article - Public

2272925 - Confirmation error: "Save batch with same externalCode failed! Invalid navigation key!"

Symptom

After the employee replication is performed, the confirmation process is failing with the error below which can be seen in the OData API Audit Log tool:

"Save batch with same externalCode failed! Invalid navigation key!"

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 HXM Suite
  • Boomi
  • ECP
  • On-Premise ERP or S/4HANA

Resolution

  1. In SuccessFactors, go to Admin Center > Manage Data.
  2. Search for "Replication Target System" and select the object created for it.
  3. Confirm if the "External Code", "External Name" and "Relevant for Payroll Integration" fields have proper values.

How to confirm if these values are correct?

On the replicaton to ECP, only the "Relevant for Payroll Integration" field should contain the value "Yes".

On the replicaton to on-premise systems, only the "Relevant for ERP Integration" field should contain the value "Yes".

Regarding "External Code" and "External Name" fields:

  1. In your ERP/ECP system, go to transaction code "SCC4".
  2. Choose your client and click on the magnifying glass icon.

     SCC4.JPG

  3. Check the "Logical System" name.

    logical sys.JPG

    This is the value that should be maintained in the "External Code" and "External Name" fields.

Note: this value should also be maintained on "Replication Target System" field on "Process Properties" in Boomi (ECERP_REPLICATION_TARGET_SYSTEM).

See Also

2670730 - Replication status of employees are stuck as "Pending" in Data Replication Monitor

2180216 - Data Replication Monitor Tutorial - SuccessFactors HXM Suite

2167526 - How to delete an entry or many entries from Data Replication Monitor in Successfactors system

2767376 - Employee Records missing in the API response while your scheduled replications are running using LastModifieOn filter / parameter - Successfactors HXM Suite

Keywords

Data Replication Monitor, Master Data Replication, Save batch with same externalCode failed, Invalid navigation key, DRM, ECP, ECPayroll, EC Payroll, Boomi, Pending , KBA , save batch with same externalcode failed , LOD-SF-INT-DRM , Data Replication Monitor , Problem

Product

SAP SuccessFactors HCM all versions