SAP Knowledge Base Article - Public

2847067 - Is it possible to to default start date and end date when applying for leave?

Symptom

You want to default the start date and end date when submitting leave request via ESS or MSS for a specific Time Type.

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

Resolution

You can reach your requirement by using this sample business rule:

RULE_SAMPLE.png

// this rule will set the start date = date today and the end date 7days from the start date.

After creating the rule, assign it in the 'timeType' field of the 'EmployeeTime' object as onChange rule:

EmployeeTime_timeType.png

See Also

3209760 - Time Off ESS UI defaults start date and end date to next day - SAP for Me

Keywords

onChange rule, time type, default start date and end date, employee time, take rule
, KBA , LOD-SF-EC-TIM-RUL , TAT Rules, Validation & Take rules , How To

Product

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