SAP Knowledge Base Article - Public

2722668 - [Provisioning] Error while importing Data model - SuccessFactors Employee Profile

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

  1. Go to Provisioning
  2. Import/export Data model
  3. Export the current Data Model
  4. Modify the Data Model and save it as New (it is best practice to keep a back up copy of the original)
  5. Import the newly updated Data Model into the system
  6. Take note of the Elements on the error message and the number inside the parentheses. 

Result:

  • An error message displays
  • Elements with error.jpg

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****************

Error and resolution steps.jpg

  • To Resolve and Validate the data model with max-length definition of string fields and correct it, follow the below steps:
    1. Navigate to Provisioning;
    2. Click on "Import/Export Data model";
    3. Export the current Data Model;
    4. Makes a Backup of the Data Model exported;
    5. Open the Data Model XML file and search for the Elements with error;
    6. 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;
    7. Save it as a New File;
      • It is best practice to keep a back up copy of the original
    8. 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