SAP Knowledge Base Article - Public

2767539 - Application Error occurred when requesting Leave of Absence (LOA) for any employee

Symptom

You are trying to request Leave of absence (LOA) for any employee in the system and when doing this you are getting an application error.

Environment

  • SAP SuccessFactors Employee Central (EC) - All Versions
  • You have business rules either in Employee Time or Job Information which are validating the country of the legal entity of the employee; 

Reproducing the Issue

  1. Go to any employee in the system;
  2. In the Time Off session, click in Administer Time;
  3. Click in New Absence;
  4. When submitting, an application error appears;

Cause

Your business rules are validating the Country of the Legal Entity of the employee which is not the problem but the Legal Entity object has the effective date previous to the Country effective date which is causing the application error.

To check this please go to:

  1. Manage Data;
  2. Select Country;
  3. Select the country you are validating in the rule;
  4. Take node of the effective date;
  5. Now select the Legal Entity of the employees;
  6. See that the effective date of the Legal Entity is before the effective date of the Country in this case the field Country will be blank in the Legal entity Object;

FOR INTERNAL STAFF ONLY: Please refer to the internal memo of this KBA.

Resolution

To solve this issue, you need to either create a new record in the Legal Entity object with an effective date in which country already exists (remember that it must be before the job history date as well) or correct the effective date of the Country object to match with the effective date of the Legal Entity Object.

Resolution Steps:

  1. Go to Manage Data;
  2. Select the object you want to correct;
    • If the object is the country, Just click in take action > make correction and change the effective date;
    • If the object you want to correct is the Legal Entity, then click in Insert New record and add a new record in the effective date where Country is already active;
  3. Save you changes;

Keywords

Invalid ISO 3 country code null found. getTime() of a null object loaded from local variable 'date' 751f0dbe2a4a782732e7c85101d772bd49deade1 cannot request leave of absence , KBA , LOD-SF-EC-TIM , Time Off , Problem

Product

SAP SuccessFactors HCM Core 1811