SAP Knowledge Base Article - Public

2435031 - External Code Error when trying to create or copy a position

Symptom

One of the following errors occur when trying to create/copy a new position:

  • Found more than 1 internal code for same external code (upper). The same externalCode record has been already created,

  • This external code already exists. Try another.

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  Employee Central

Reproducing the Issue

  1. Go to Manage Position or Manage Data;
  2. Select Position as object data filter;
  3. Create a Position;
  4. Error similar to the Symptom pops-up.

Cause

This error is showing up because of a sequence step issue. If we choose to generate the externalCode for the positions that we create from UI, a sequence must be defined which could be configured from: Admin Center > Manage Data > Sequence > *Name of the Position Sequence created*.

  • This issue can be caused when a position data import/API is made - when new positions are added to the system via import/API, the external code value for the sequence position object is not incremented, leading the system to possibly generate external codes that already exist when creating such objects through the system UI, throwing an error message.

From the example above, let's suppose that the error is pointing out to externalCode 2567, meaning that this position already exists in the system, but the sequence is configured to create this externalCode step causing the error.

Current step for the sequence is 2567:

1.png

Verify that the external code 2567 is already being used:

2567.png

Resolution

To be able to correct the next step for the sequence, please set the start value of the sequence + one step (step value) with the current value, in our case we would add + 1 to the next externalCode sequence. The new value for the start should be 2568 from the example scenario:

3.png

Verify the integrity of the sequence by creating a position, externalCode for the new position created should be 2568 from the example scenario given here:

2568 Position Test.png

FAQ - Additional Information

Q) Where can I get Guide?

A) Guide: Employee Central Position Management

Chapter: sequence

See Also

  • 2961945 - Position Code Auto Generation Skipping Sequence
  • 2415444 - Position Code not Generated Based on Business Rule When Copying a Position
  • 2576810 - Position Sequence Skipping Increments When Copying Positions or continuing the warning message
  • 2318852 - Employee Central - Position Management 

Keywords

Found more than 1 internal code for same external code (upper), The same externalCode record has been already created, This external code already exists. Try another, Error when trying to create a position, Manage Position error, externalCode error when trying to create a position, The following error occurred while the position was being copied, , KBA , the same externalcode record , has been already created , this external code already exists. , try another. , error when creating position , error when copying position , LOD-SF-EC-POS , Position Management , Problem

Product

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