SAP Knowledge Base Article - Public

3460330 - Error pops up while input characters has not reached the maximum -Latest Goal Management

Symptom

In latest goal, "Maximum length limit exceeded" error or "System length limit exceeded. Please shorten your input." error pops up while the input characters have not reached the maximum.

Environment

SAP SuccessFactors Goal Management

Reproducing the Issue

Take the field "description" as an example.

  1. in goal plan xml, the maximum length allowed for description field is 2000;
  2. input around 1500 Japanese (or other multi-byte language) characters in the description field, notice that the character limit shown on the UI shows "500 characters left"; And you may also notice that on the left there is an error prompt "System length limit exceeded. Please shorten your input."
  3. click on save;
  4. the "Maximum length limit exceeded error" pops up, preventing the user from saving the goal.

Cause

Currently, while the character limit shown on the UI count multi-byte languages by character, the system still processes user input by byte at database level, and there's deviation caused by character-byte conversion, particularly for multi-byte languages.

Therefore, in the above example, though the user has input only 1500 Japanese (or other multi-byte language) characters, the actual length of byte may have already reached 4500,

  • which has exceeded the configured maximum limit 2000, so the "Maximum length limit exceeded error" pops up when saving the goal;
  • has also exceeded the system limit 4000, that's why the error prompt "System length limit exceeded. Please shorten your input" appears.

Resolution

    1. The engineering team are planning to deliver a patch in May to upgrade database so the system can process input for multi-byte languages by characters instead of byte.

    After the patch is delivered, for the above example, the error "Maximum length limit exceeded error" and "System length limit exceeded. Please shorten your input" should not appear when you input 1500 Japanese (or other multi-byte language) characters in the description field.

    2. The engineering team are planning to deliver a patch in May to raise the limit on description, metric and textarea to 4000.

    Note:

    • "name" field is not included in the change.
    • the default maximum validation still applies. That is to say, when you upload goal plan template xml into the instance, the maxlength configurations allowed for name/metric/description fields are still 500/1000/2000.
      But after the goal plan xml is loaded into the instance, you may change the maxlength of description, metric and textarea field to 4000 so users can input up to 4000-byte of content in multi-byte languages.

    See Also

    For up-to-date Release timelines, please review these resources:

    Reference

    Keywords

    KI2405, TGM-18671, TGM-18535, latest goal, character limit, byte, name, description, metrix, 500, 1000, 2000, 4000, byte imit, maxlength, UXR goal, limit error, system limit, count, exceed, error
    , KBA , LOD-SF-GM-TMP , Template Management , Problem

    Product

    SAP SuccessFactors Performance & Goals 2405