Skip to Content

SAP Workflow - DynamicDeadline monitoring- Latest end date/time

Hi All,

I am working on a workflow where in it requires dynamic deadline monitoring (48hrs for one company code, 24 hrs for another company code etc).


After each dead line passed, workflow should remove the work item logically and recreate a new work item until there is an action.

First dead line date/time = Workitem creation date/time + (deadlinehours)

Second dead line date/time = First deadline date/time + (deadlinehours)

I understand we can use expression inside the latest end date/time by calculating the deadline date/time in another step by some method etc.

  1. My question is Where exactly (at which step) do I determine the dead line date and time - Before User decision step, the work item would not have been created, after decision step the workflow is waiting at User decision for user action
  2. If user's time zone is different to system time zone, where should the conversion of time take place
  3. I tried using functional method as below, thought of changing the date and time to container variables but this gives 'Error in the evaluation of expression'


Any help is much appreciated

I had gone through multiple threads, but I couldn't find what I am looking.

wf-deadline.png (74.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 14, 2018 at 12:32 PM


    You could create a simple method with company code as input and deadline date and time for the user decision. Just call it prior to the user decision.

    Kind regards, Rob Dielemans

    Add comment
    10|10000 characters needed characters exceeded