SAP Knowledge Base Article - Public

2721666 - Calculated Field with brackets in 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
  • 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; , KBA , LOD-SF-INT-INC , Integration Center , LOD-SF-INT , SF Integrations - EC Payroll, Boomi/ HCI, API , Problem

Product

SAP SuccessFactors HCM Core all versions