Symptom
- When trying to import the Succession Data Model within provisioning, an error is occuring
- ERROR:
- Form data is invalid.
The lengths of the following fields in the standard elements exceed the maximum length. [fieldName1 (#), fieldName2 (#), etc...] The number in parenthesis indicates the max length of each field. - "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 Employee Profile
- SAP SuccessFactors Employee Central
Reproducing the Issue
- Go to Provisioning
- Import/export Data model
- Export the current Data Model
- Modify the Data Model and save it as New (it is best practice to keep a back up copy of the original)
- Import the newly updated Data Model into the system
- Take note of the Elements on the error message and the number inside the parentheses.
Result:
- An error message displays
Cause
- There was a change in system behavior that was included in the b1811 release of the product
- Previously, the field max-length defined in your data model might exceed the maximum length allowed in the SuccessFactors database
- Prior to b1811, the data model could still be imported into the system successfully
- This made the field "max-length" ineffective
- Post b1811 product release:
- it is possible to validate the max-length definition of string fields when importing the data model
- If the value exceeds the maximum length, the import is blocked and an error message is provided by the system to help guide a better system management for the max-length definition of string fields
Resolution
*********** This Feature Requires Provisioning Access****************
- To Resolve and Validate the data model with max-length definition of string fields and correct it, follow the below steps:
- Navigate to Provisioning;
- Click on "Import/Export Data model";
- Export the current Data Model;
- Makes a Backup of the Data Model exported;
- Open the Data Model XML file and search for the Elements with error;
- Once you find the Element, check the number of this field max-length="256" and change the number which is on the listed on the error message;
- Save it as a New File;
- It is best practice to keep a back up copy of the original
- Import the newly updated Data Model into the system.
Keywords
Data model; Max length; PLA-5664; , KBA , LOD-SF-PLT-PRV , Provisioning Changes , LOD-SF-EC , Employee Central , LOD-SF-SCM-DAT , Data Model , How To
Product
SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Core all versions ; SAP SuccessFactors HCM Suite all versions