SAP Function SLS_MISC_GET_LAST_DAY_OF_MONTH - FM calculating the last day of a month

Parameter Reference Type Length Default Optional Text
DAY_IN SYST-DATUM D 8

Parameter Reference Type Length Text
LAST_DAY_OF_MONTH SYST-DATUM D 8

Exception Text
DAY_IN_NOT_VALID

Functionality
This FM accepts the input date in the format DD.MM.YYYY and returns thelast date of the month in the format DD.MM.YYYY.