Symptom
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
Reproducing the Issue
2. Navigate to Manage Organization, Pay and Job Structures.
3. Search for the affected Location object.
4. Open a specific effective-dated time slice.
5. Change the External Code value and save the record.
6. Observe that the updated External Code is reflected across all historical time slices of the same Location object.
Cause
This behavior is expected by design.
The External Code is the business key of the Location object. A single object can have only one External Code throughout its lifetime. Since all references to the object, such as employee records, positions, and Job Information, use the External Code as the reference key, the system does not support maintaining multiple External Codes for different time slices of the same object.
When the External Code is updated, the new value is reflected across all effective-dated records of that object. Although the External Code displayed in historical records changes, the historical records themselves are not updated, which can be verified by checking that the Last Updated information for previous time slices remains unchanged.
Resolution
This behavior is expected and works as designed.
For effective-dated foundation objects such as Location, the External Code is a unique business key and is not time-slice specific. Therefore:
- One object can have only one External Code.
- Multiple External Codes cannot exist for different effective-dated records of the same object.
- Updating the External Code updates the reference key for the entire object history.
- The behavior applies only to the Code/External Code field and does not affect other effective-dated fields.
- Similar behavior can be observed in Manage Organization, Pay and Job Structures, where updating the code in the most recent record is reflected in all historical records.
If a different code is required while retaining the historical code, a new foundation object should be created instead of changing the External Code of the existing object.
See Also
Keywords
SAP Knowledge Base Article - Public