SAP Knowledge Base Article - Public

2721666 - Calculated Field with brackets (parenthesis) - Integration Center

Symptom

Inserting Brackets (  ) in the Calculated Fields inside Integration Center can throug the below error message:

  • "ERROR SyntaxError: Invalid regular expression: /(/: Unterminated group"

"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 HXM Suite
    • Integration Center

Reproducing the Issue

  1. Login to SuccessFactors Instance
  2. Admin Center
  3. Integration Center
  4. Create/Edit an Integration
  5. Configure Fields
  6. Right click on the requested field and select "Edit Calculation"

Cause

The brackets ( ) are reserved symbols in regular expression and need to be used with "Backward Slash Symbol" before: \

Resolution

Before the brackets, it´s necessary to insert the Backward \ slash as below example:

Backward Slash.jpg

Keywords

Integration Center; Brackets; Backwards Slash; Regular Expression; Symbol; parenthesis; reserved symbol , KBA , LOD-SF-INT-INC , Integration Center , LOD-SF-INT , Integrations , Problem

Product

SAP SuccessFactors HCM Suite all versions