cancel
Showing results for 
Search instead for 
Did you mean: 

How to change Deadline date and time once workitem is created

Former Member
0 Kudos

I triggered workflow and workitems sent for approval initially I did not given latest end deadline date and time but now I want set latest end deadline date and time

can I achieve above using fm

SWW_WI_DEADLINES_CHANG ?

if yes can you tell what parameters need to pass for setting latest end date and time

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186746
Active Contributor
0 Kudos

Hi,

So workflow is triggered.

Design is changed (modeled deadline)

No you want to change prior executed workitems.

Answer: You can't, workflow uses versions.

Work around: find out how workflow was triggered, logically delete existing workitems and retrigger to instantiate workflow with newest version.

Kind regards, Rob Dielemans

Former Member
0 Kudos

Yes I agree with you but I am curiosity about FM ->

SWW_WI_DEADLINES_CHANG

what is the purpose of this fm and how it works

thanks for your reply

Ramesh

former_member186746
Active Contributor
0 Kudos

When you have a deadline active you can manually change it by going to the workflow log, click your workitem then goto-->technical work item display

Then select Edit-->change

Now you have the option to manually click on change deadline service.

The function module does the same but programmatically,

Kind regards, Rob Dielemans