Symptom
- User wants to create a Rule to allow to separate the full name in New Hire wizard by space.
- There is a business rule requirement to concatenate two strings such as first name and last name
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 - Personal Information
Resolution
- Go to Admin Center
- Select Configure Business Rules
- Create New Rule
- Select the Base Object as Personal Information
- Configure the rule as below
IF = Always
THEN SET "Personal Information.Display Name" to be equal to "Format()"
Template: "Text" %s %s
Argument: Personal Information.First Name
Argument: Personal Information.Last Name
Example:
6. Finally you need to set the Rule via Manage Business Configuration under the "personalInfo" element - you can assign it as:
- An "onChange" rule to the "first-name" and the "last-name" fields (or respectively any of the fields you are using in the rule to set the "display-name" value).
- An "onSave" rule to the "personalInfo" element
NOTE: You could include other fields such as "middle-name" field or even custom-string fields - but if you want to trigger the rule "onChange" then you will need to add the rule as onChange to each field that contributes to the "display-name" field defined in the rule.
Keywords
Employee Central, Display Name, New Employee, PersonalInfo, Full name, Format(), Concatenate, Trim , KBA , LOD-SF-EC-PER-PRS , Personal Info - Config, Rules, RBP, UI , How To