SAP Knowledge Base Article - Public

2772074 - Validation error for external code with special characters

Symptom

After new b1902 release, a new hard-coded validation has been introduced which does not allow special characters other than dashes (-), and underscores (_) in time off MDF objects.

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 - Time off

Reproducing the Issue

  1. Create a new time off object (like employee time) with special characters in the external code
  2. Error Occurs: 'The external code contains illegal characters. Please don't use special characters.'

Cause

Having special characters in an object's external code can lead to inconsistent behavior.

Resolution

If you do not want this validation, please follow the given steps:

  • Navigate to Configure Object Definition -> Time Management Configuration
  • Set the visibility of the field 'externalCodeChecksDisabled' as editable
  • In Manage Data -> Time Management Configuration object, set the field 'Disable External Code checks' as 'Yes'

Disable External Code Checks.png

It is recommended to have the validations enabled in your instance to avoid inconsistent behavior.

See Also

TIM-7259

Keywords

External Code, special character, validation, b1902, time off, MDF object, Employee Central , KBA , LOD-SF-EC-TIM , Time Off , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Core 1902