SAP Knowledge Base Article - Public

3214221 - OData API Upsert: Maximum length limit exceeded for field customString

Symptom

The client is upserting data via the OData API into an EmpEmployment custom string and is receiving the following error:

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
  • OData API

Reproducing the Issue

 Upsert payload with a string length beyond the maximum allowed length of custom strings

Cause

1. The issue is custom strings have a max length of 256 character

2. This length cannot be extended beyond this in Manage Business configuration:

 

Resolution

  • This is a hard coded limit and cannot be increase beyond 256 characters
  • The upsert string must be less than or equal to 256 characters
  • An enhancement request should be raised if the requirement is to set the length beyond the maximum allowable length

Keywords

Maximum length limit exceeded for field, OData, Upsert , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , Problem

Product

SAP SuccessFactors HXM Suite all versions

Attachments

Pasted image.png
Pasted image.png
Pasted image.png