Skip to Content
0

MoveTimePoint

Dec 28, 2016 at 05:32 PM

48

avatar image
Former Member

Hi Experts,

I want to calculate, lets say, 2 hours from service ticket creation time and send out reminder. I can do this through workflow but workflow rules don't take into account work hours and holidays. So the idea is to create KUT field and to populate it with value calculated with DateTimeUtilities.MoveTimePoint utility.

It works fine for holidays but not for work hours. Lets say, work hours are defined in calendar from 8:00 to 17:00, ticket is created on 16:30, MoveTimePoint should return time 9:30 next day but it returns 18:30. From https://archive.sap.com/discussions/thread/3901216 I understand that this is a SAP problem that still is not fixed.

Can you suggest some workaround?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers