SAP Knowledge Base Article - Public

3065907 - HTML Codes Displayed in Time Off UI


  • HTML codes are being displayed in message text for Time Off Take rules.
  • Links defined in the message definition are not working and displaying the HTML code in Time Off UI.


Employee Central, Time Off


It is not recommended to use HTML code in Message Definitions, due to security reasons.
From b2105, HTML tags are not supported in Time Off and cause the HTML code to also be displayed on the UI if message is raised.


To correct the issue, we recommend switching the HTML tags currently used to BBCodes as a best practice.
The below solution is not valid in the Time Sheet UI, at the moment Time Sheet does not support BBcodes


The following BBcode shows how to use line breaks and links that open in a new tab in a message definition.
The below will be displayed as three rows, with the link in the third row named SAP, opening in a new tab.

Message Definition:

"This is the first line of text[br]This is the second line of text[br][xurl=]SAP[/xurl]"

Displayed in the UI:

"This is the first line of text
This is the second line of text

BBcodes Examples:

If you want to format the text of the message, you can use any of these BBcodes:


See Also

 Time Off Implemenation Guide - Creating Time Account Payout Validation Rules


HMTL code, message defintion code, link not working , time off take rule not displayed correctly, , KBA , LOD-SF-EC-TIM-JOB , Time Management in Job Info - Records & Objects , LOD-SF-EC-TIM , Time Off , How To


SAP SuccessFactors Employee Central 2105 ; SAP SuccessFactors Employee Central 2111