cancel
Showing results for 
Search instead for 
Did you mean: 

Resubmit WF

former_member586438
Participant
0 Kudos

Hi

A Purchase Requsition workflow deactivated due to a missing release strategy

I fixed the issue and reactivated the WF

But now all Purchase requisitions that were captured after the deactivation of the WF was not sent to any approvers .

How can I get those to be resubmitted?

Many thanks

Gerhard

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member183917
Active Contributor
0 Kudos

Hi- In addition to Eddie's reply, in tcode SWE2- select the drop down "Do no change Linkage" (in Behaviour upon error feedback) against your workflow template and save it

PS: I think, currently the setting will be "System Defaults"

Vinoth

former_member586438
Participant
0 Kudos

Hi Vinoth

It is actually already set to not change linkage

Found it strange that the WF deactivated

Eddie_Morris
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Gerhard,

Do you use the event queue by any chance? Or what settings have you maintained in SWE2 for the event linkage? Depending on your settings the events could be in the event queue and could therefore be released in order to trigger your workflows. See KBA 1509503. [1509503|https://service.sap.com/sap/support/notes/1509503]

If you need to trigger the workflows once again then you could do it manually via:

[1] Transaction SWUE (If there are not many to trigger)

Raise the event with the object instance

[2] SWUS (If there are not many to trigger)

Trigger the workflow directly and fill in the container data needed.

[3] If there are thousands of workflows to trigger then it might be a good idea to create a report using SAP_WAPI_CREATE_EVENT in order to raise the events with the object instances. Or start the workflow directly via SAP_WAPI_START_WORKFLOW.

Regards,

Eddie

former_member586438
Participant
0 Kudos

Hi Eddie

If I use SWUE and select the release code parameter ,why would I only see '01 FREIGABESTELEE01' in the selection list and not the release codes from the strategies?

Eddie_Morris
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Gerhard,

This could be a limitation of the value ranger on the domain/data type but I am not sure. Is the same restriction in SWUS?

Regards,

Eddie

former_member586438
Participant
0 Kudos

Eddie

Yes restriction also on SWUS

Eddie_Morris
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Gerhard,

I do not think there is any way around this issue in SWUE or SWUS. Would the WAPI's be an option for you?

Regards,

Eddie

former_member586438
Participant
0 Kudos

Thanks Eddie

Will try the WAPI

Its just weird about the release code issue..

Former Member
0 Kudos

Gerhard hi,

Use tcode SWPR to restart the same workflow instance by passing the workitem id.

You can get the workitem id from tcode SWI1 where workitem type is SUBWORKFLOW.

Regards.

Vipin.

former_member586438
Participant
0 Kudos

Only the first purchase req went into error

Only this entry in SWPR

The ones thereafter did not go into error because the WF was not triggered

Former Member
0 Kudos

Like Eddie said use SWUE....seems neat.