SAP Knowledge Base Article - Public

2435031 - Error when trying to Create a new position - Found more than 1 internal code for same external code (upper). The same externalCode record has been already created.

Symptom

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

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

Employee Central 2.0 with Position Management Implementation.

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 - this is, 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, and so throwing an error message.

From the example above, let's supose that the error is pointing out to externalCode 2567, meaning this position is already existing from 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

For you to be able to correct the next step for the sequence, you need to 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 given:

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, 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: This external code already exists. Try another. , KBA , LOD-SF-EC-POS , Position Management , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HXM Suite all versions