SAP Knowledge Base Article - Public

2932978 - Error on saving a Time Account type : "please use the Generate External Code For Time Off()"

Symptom

  • When trying to make changes to a Time Account type, an error message comes up as below due to a validation of one of the rules on the object.
  • The Error comes up when running a Time off check on the check tool too.

"please use the Generate External Code For Time Off() rule function to specify the external code of a time account detail. Otherwise, you might encounter issues during rule processing.

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 HXM Suite
  • SAP SuccessFactors Employee Central

Reproducing the Issue

  1. Navigate to Manage time off Structures / Manage data -> Time Account type
  2. Attempt to make a change to a Time account type and click on save
  3. An Error message comes up as indicated on the snapshot below :

Cause

  • This is due to an Incorrect configuration of one of the rules on the Time Account type object.
  • The Function : "Generate External Code For Time Off()" needs to be picked up and should not be inserted as a Text on the External Code field in the Then Statement.

Resolution

Modify the rule and pick the Function from drop-down Instead of Inserting it as a Text.

Keywords

SF, EC, Success factors, Employee Central, Accrual Rule Error , KBA , LOD-SF-EC-TIM , Time Off , Problem

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Core all versions

Attachments

Pasted image.png