SAP Knowledge Base Article - Public

2964990 - Error during import of "Trigger Rules - Rules Context"

Symptom

You are trying to import "Trigger Rules - Rules Context" but you are receiving the error 1. You are not allowed to enter the value for the field externalCode with the type Auto Number in the object ECElementRuleContextConfig to prevent data corruption. The value for this field type is always set by the system.  

Environment

  • SAP SuccessFactors HXM Suite 
  • SAP SuccessFactors Employee Central 

Reproducing the Issue

  1. Go to Import and Export data 
  2. Download the template for "Trigger Rules - Rules Context"
  3. Fill all the fields 
  4. try to import and receive the error 1. You are not allowed to enter the value for the field externalCode with the type Auto Number in the object ECElementRuleContextConfig to prevent data corruption. The value for this field type is always set by the system.  

Cause

The field External code needs to be empty because this unique ID will be automatically created by the system.

Resolution

  1. Go to Import and Export data 
  2. Download the template for "Trigger Rules - Rules Context"
  3. Fill all the fields in the file except the field External code (triggerRules.ruleContext.externalCode)
  4. Import successfully 

Keywords

import, rules trigger, rules context, import and export data, failed, 1. You are not allowed to enter the value for the field externalCode with the type Auto Number in the object ECElementRuleContextConfig to prevent data corruption. The value for this field type is always set by the system.   , KBA , LOD-SF-EC-EDP , Import Employee Data (EC Core only) , Problem

Product

SAP SuccessFactors HXM Suite 2005