SAP Knowledge Base Article - Public

2348233 - Application Error When Submitting a Leave of Absence

Symptom

When submitting a Leave of Absence request via the Time Off or Manage Time Off page, you receive an application error.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Reproducing the Issue

• Navigate to the Time Off or Manage Time Off page.
 • Create a new request.
 • Select a Leave of Absence Time Type.
 • When clicking 'Submit', you receive an application error.

1.png

Cause

If you are using MDF business rule for Event Reason derivation.
In your business rules for Job Information Event Reason Derivation, if you do not check if the Event Reason is 'null', this will cause Event Reason's to be over-written. 
When submitting a Leave of Absence, a Job Information record is created, with the Leave of Absence Event Reason defined on the Time Type. 
The Event Reason of the record is being over-written with a Job Information Event Reason. 
This is the cause of the application error.

Resolution

Review your Job Information Event Reason Derivation business rules.
Create a statement in the 'If' conditions that checks if the event reason field's value is null before setting it through the business rule. This avoids overwriting the event reason accidentally.

See Also

2260431- How To Enable Business Rules for Workflow Derivation and Event Derivation

Keywords

Application Error
Leave of Absence
LOA
Event Reason , KBA , LOD-SF-EC-TIM , Time Off , Problem

Product

SAP SuccessFactors Employee Central all versions