SAP Knowledge Base Article - Public

2597278 - OData API length fields with different value between configuration and Data Dictionary


Field length in Object Definition and OData API dictionary is different.


SAP SuccessFactors HCM Suite

Reproducing the Issue

  1. Login on SuccessFactors
  2. Go to Admin Center
  3. Go to Configure Object Definitions
  4. Search for Object Definition: Legal Entity
  5. Verify the currency Field. Maximum Length is 255.
  6. Back to Admin Center
  7. Go to OData API Data Dictionary
  8. Select FOCompany on Name Search Field
  9. Search for currency on PropertyName. MaxLength field shows 128.


It's expected behavior for some fields. Example: currency field on FOCompany.

It's by design that in OData API max length of generic object currency field is 128 because the column length of GENERIC_OBJECT_T.EXTERNAL_CODE is 128 in the database side.

In OData API the value of currency (of FOCompany entity) is fetched from database column so the length cannot be more than 128.


  • field length
  • admin center > configure objects definitions
  • OData API field length
  • OData API data dictionary
, KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , How To


SAP SuccessFactors HCM Core all versions