How to create rules to check or compare with user's locale date?
Employee Central: Business Rules
Today() funtion returns server time instead of user's locale date.
Product team is planning to introduce more funtions which are simplified and accept further parameters and which can return multiple date based on user locale, system etc. The availability of these is still tentative and no fix dates are publised. *SAP support colleagues can refer to internal memo.*
Meanwhile, as a workaround, we can use the function similar to below:
- The above example uses function getLocalDateOfDateTime and is for scenario where the employees are using Indian time zone (UTC+5.5 hours).
- This will check if the entered date in date field and current date as per Indian timezone are same, it will not check or work based on server time.
today(), local date, effective date, timezone offset, , KBA , LOD-SF-EC-RUL , Business Rules & Event Derivation , How To