SAP Knowledge Base Article - Public

2842732 - Error when changing the Reporting Manager Of an employee in Job Information

Symptom

You are getting an error "Saving the position failed: Trying to change Code to: XXXXXXXX for object: Position. Code (externalCode) change is not allowed during Insert operation! Use Make Correction to perform update." when updating the reporting manager of an employee through Job Information.

Environment

SuccessFactors Employee Central - Position Management

Reproducing the Issue

  1. Go to the employee Profile
  2. Take Action - Change Job and Componsation Information
  3. Change the reporting Manager of the employee and you get the error

Cause

Customer has created a business rule to generate the Position Code and this rule has an empty IF condition

Resolution

There should not be a blank / empty IF condition in the rule to generate the Position Code. In scenarios where you are making Reporting Manager Change through Job Information, system tries to insert a new record in the existing Position Record. Now in this scenario due to an Empty IF condition, system triggers the rule and tries to set the new position code in the existing position.

To avoid triggering the rule in all scenarios, maintain the IF condition in the rule to generate the Position code and issue should be resolved

Keywords

Position. Code (externalCode) change is not allowed during Insert operation! Use Make Correction to perform update." when making change in the reporting Manager in Job Information, follow up activity in Position , KBA , LOD-SF-EC-POS , Position Management , Problem

Product

SAP SuccessFactors HCM Core 1908