SAP Knowledge Base Article - Public

2413032 - Rule on Display Name field (How to)

Symptom

  • User wants to create a Rule to allow to separate the full name in New Hire wizard by space.

Environment

  • Employee Central

Resolution

  1. Go to Admin Center 
  2. Select Configure Business Rules
  3. Create New Rule
  4. Select the Base Object as Personal Information
  5. 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: 

Rules Estafeta.PNG

 

       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 , KBA , LOD-SF-EC-RUL , Business Rules & Event Derivation , How To

Product

SAP SuccessFactors HCM Core 1511 ; SAP SuccessFactors HCM Core 1602 ; SAP SuccessFactors HCM Core 1605 ; SAP SuccessFactors HCM Core 1608 ; SAP SuccessFactors HCM Core 1611 ; SuccessFactors HCM Core 1207 ; SuccessFactors HCM Core 1210 ; SuccessFactors HCM Core 1302 ; SuccessFactors HCM Core 1305 ; SuccessFactors HCM Core 1308 ; SuccessFactors HCM Core 1311 ; SuccessFactors HCM Core 1402 ; SuccessFactors HCM Core 1405 ; SuccessFactors HCM Core 1408 ; SuccessFactors HCM Core 1411 ; SuccessFactors HCM Core 1502 ; SuccessFactors HCM Core 1505 ; SuccessFactors HCM Core 1508