SAP Knowledge Base Article - Public

2847642 - Error when applying for leave - Comments field in object exceeds its max length of 256 characters

Symptom

We are unable to apply for leave and receive the error: "Time account changes cannot be saved: Comment field in object ABC exceeds its max length of 256 characters."   This is shown even though the comment field is left blank.

Environment

SAP SuccessFactors Employee Central - Time Off

Reproducing the Issue

Employee Profile>Manage Time Off> Leave Request

Employee Profile>Administer Time off> Leave Request

Cause

As part of TimeAccount GOT2BE migration, comment field length has been fixed to 256 characters and system will not accept characters beyond 256 characters.

Resolution

Customer can shorten the content of comment field by following these steps,

  1. Login with user that has admin center permissions
  2. Go to Manage Data
  3. Search for “Time Account”
  4. Pick an EXTERNAL_CODE for TimeAccount with comment exceeding 256
  5. After accessing the TimeAccount, check the Time Account Details by clicking on “Details”. If more than one Time Account Details are present you can find the relevant by using the  EXTERNAL_CODE of TimeAccountDetail from the extracted report (ROW_ID of TimeAccount is EQUAL to PARENT_ROW_ID of TimeAccountDetail)
  6. Once relevant Time Account Detail found “Take Action” à Make Correction
  7. Shorten the content of comment to 256 characters max
  8. Save

See Also

 TIM-10502, TIM-10506,TIM-10564

Keywords

Time account changes cannot be saved: Comment field in object exceeds its max length of 256 characters , Comments field error, Time Off Comments, Leave comment error. , KBA , LOD-SF-EC-TIM , Time Off , LOD-SF-EC , Employee Central , Problem

Product

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