SAP Knowledge Base Article - Public

2653064 - How to Use Concatenate In a Business Rule

Symptom

  • What is the function of Concatenate?
  • How would I use Concatenate?
  • What is Concatenate for?

Environment

  • SAP SuccessFactors HCM Cloud
  • Employee Central
  • Business Rules

Cause

  • The Concatenate function combines strings into one string
  • Options for Use:
    • You can add a sequenced number to the concatenated string, using the 'Format Number' and 'Get next value' functions
    • You can use this function to generate external codes automatically

Resolution

Parameter: Functionality:
Substring
  • Select Text and enter a string
  • Select a Field
  • Select the Format Number function. In the number field of this function, select 'Get next Value' and select a sequence

Example:

  • You want the external code to follow this format:
    • Germany1000
    • Germany1001
    • Germany1002
    • and so on
  • You will set up the rule as follows, where the sequence object defines the sequence number:
    ConcatenateExample.png

Result:

  • The external code will concatenate the word 'Germany' with the number value, as was our goal above

Please note this can only be on two fields that share the same type of data type, i.e. string and string or decimal and decimal

Keywords

concatenate, success factors, RUL, Business Rules, SFSF, SF EC, SFEC, EmpCentrl, function , KBA , LOD-SF-EC-JOB-RUL , Job Info Business Rules , LOD-SF-EC-PER-PRS , Personal Info - Config, Rules, RBP, UI , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Core all versions