SAP Knowledge Base Article - Public

2789399 - Display Only First and Last Names in Workflows Using Text Replacement

Symptom

Middle name displays on Workflow requests but customer would like only the first and last names to be displayed using Text Replacement

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental

Environment

Employee Central - Workflow and Trigger (Rules & XML)

Reproducing the Issue

  1. Trigger a Workflow
  2. Proxy as the approver
  3. First, Middle and Last name is shown 
    1_name.jpg

Cause

This is the expected behaviour of the system, by default, the middle name will show on the Workflow Details page.

Resolution

This can be overridden with the Text Replacement tool by accessing the User_Display_Name Key. Replace the empty 'Replace With Text' field with the following: $(First_Name) $(Last_Name)

User_Display_Name.png

Save your changes, you may need to log out for the changes to take effect. Only the first and last name will then be displayed on the Workflow Details page:
2_name.jpg

Warning

Please note, this is not limited to the Workflow Details page, if this key is replaced, the changes will be reflected on the Employee Profile as well as the email notifications.
3_name.jpg

Keywords

Text Replacement, Workflow, details, first, last, name, User_Display_Name, , KBA , LOD-SF-EC-WFL , Workflows - Configuration, Tools, Objects & Rules , Problem

Product

SAP SuccessFactors Employee Central all versions