SAP Knowledge Base Article - Public

2762811 - An error message ???Saving of 1 PayScaleLevel throwed a Exception??? or Application Error appears when creating a new Pay Scale Level

Symptom

When creating a Pay Scale Level, the 'Pay Component' selection is not visible under 'Pay Component Assignment' Section.

If you try to save the changes without any values in 'Pay Component Assignment' Section, you will get the error ???Saving of 1 PayScaleLevel throwed a Exception???.

If you enter any values in 'Pay Component Assignment' Section such as Amount and/or Currency and save, an Application Error occurs.

Environment

SAP SuccessFactors Employee Central - Foundation Objects

Reproducing the Issue

1. Go to Manage Data > Create New > Pay Scale Level.
2. Enter all required fields and do not fill in any values under Pay Component Assignment.
3. Save the changes and the error appears: 

Save Exception.jpg

4. Enter any values for Pay Component Assignment such as Amount and Currency.
5. Save the changes and an Application Error will appear.

Cause

The externalCode field in the PayScalePayComponent Object Definition is set to inactive.

A Pay Component is required when creating a Pay Scale Level. This field should be displayed under Pay Component Assignment along with the other fields Amount, Currency, Frequency, etc. 

PayScaleLevel.jpg

For Product Support: See Internal Memo.

Resolution

The externalCode for PayScalePayComponent should be set to active.

1. Go to Configure Object Definitions and search for PayScalePayComponent.
2. Look for the externalCode field and click on Details.
3. Set Status to Active and save the changes.
4. They error message and Application Error should no longer occur upon creating Pay Scale Level.

Keywords

ECT-113482, Saving of 1 PayScaleLevel throwed a Exception, Pay Scale Level, Application Error, Message key is null, cannot insert NULL or update to NULL: EXTERNAL_CODE , KBA , LOD-SF-EC-FOO , Foundation Objects (Organisation, Pay and Job Structures) , Problem

Product

SAP SuccessFactors Employee Central all versions