SAP Knowledge Base Article - Public

3597279 - Integration Center converts text value for field of Boolean data type

Symptom

You are trying to pass a String value for a Boolean field value in Integration center and the field is returning FALSE value


Disclaimer: 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
    • Integrations
      • Integration Center

Reproducing the Issue

  1. Go to Integration center

  2. Create a new integration, select the starting entity and required fields that has a Boolean field

  3. Now provide any string value Example : 'test' or 'abc'

  4. The Boolean Value gets changed to 'false'

Cause

This is an expected system behavior.

Resolution

The boolean field will convert all string value to 'false' value.

The only valid values accepted by boolean field type is { '0', '1', 'true', 'false',  'True', 'False' }, if you provide any other value the API will not be able to identify the boolean value and will assign it as 'false'.

Keywords

Integration Center, LOD-SF-INT-INC-JOB, Boolean, String to Boolean, String default to Boolean, false , KBA , LOD-SF-INT-INC-JOB , Integration Center Job , LOD-SF-INT-INC-ODATA , ODATA API In Integration Center , LOD-SF-INT-INC , Integration Center , Problem

Product

SAP SuccessFactors HCM Core 2411 ; SAP SuccessFactors HCM Suite 2505