SAP Knowledge Base Article - Public

3120521 - Attribute Error "component type" with value null - when Saving Compensation Template

Symptom

Error when saving  Compensation Template - "componentType" with value "null" must have a value from the list


"Line #####, column ##: Attribute "componentType" with value "null" must have a value from the list "jobInfo compInfo compensationInfo nameInfo payComponentRecurring recurringPayComponent payComponentNonRecurring nonRecurringPayComponent personalInfo employmentInfo payComponentGroup jobRelationsInfo personInfo promotion employeeProfile ". "

Environment

SAP SuccessFactors Compensation


Reproducing the Issue

1. Go to Compensation Home.
2. Go to Plan Template.
3. Configure some fields within Design Worksheet.
4. When saving, got the error below:

"Line #####, column ##: Attribute "componentType" with value "null" must have a value from the list "jobInfo compInfo compensationInfo nameInfo payComponentRecurring recurringPayComponent payComponentNonRecurring nonRecurringPayComponent personalInfo employmentInfo payComponentGroup jobRelationsInfo personInfo promotion employeeProfile ". "

Cause

A code from the XML Plan Template  has a null value
<comp-ect-input-field-map componentType="null"/>

Resolution

Remove the code if it's not in use or add a value to it if it is being used; save and re-upload XML.

(Note: Please reach out to your Implementation Partner or request assistance from SF Support if you do not have access to Provisioning)

Keywords

componentType error, error when saving compensation template, error saving template, design worksheet error when saving, saving from design worksheet error, componentTypecannot be null error, attribute error, attribute error when saving compensation template, compensation template attribute error , KBA , LOD-SF-CMP-FRM , Forms & Templates , LOD-SF-CMP-ADM , Admin Tools, Settings, Permissions , Problem

Product

SAP SuccessFactors HXM Core 2111