SAP Knowledge Base Article - Public

2669318 - Last day of month in business rule

Symptom

Get last day of a month in a business rule.

Environment

SuccessFactors Employee Central

Cause

To meet the business requirement, we need to get last day of a month in our business rule.

Currently we don't have any standard function to get the last day of the month.

Resolution

Business Scenario -  Get number of leave taken by an employee in current month(in take rule). To get this we need to pass first day and last day of current month to the function "Get Absences In Days For Period". Please find the below rule screenshot where we used "Date Plus" and "Get First Day Of Month" function to get last day of month.

last_date_of_month.JPG

See Also

3433983 - Business Rule - How To Fetch the Last Date of the Month (Leap Year) - SAP for Me

Keywords

Last day of a month, Last day, Last day in business rule, Find last day of a month , KBA , LOD-SF-EC-TIM , Time Off , LOD-SF-EC-RUL , DO NOT USE - Business Rules & Event Derivation , Problem

Product

SAP SuccessFactors HCM Core 1805