cancel
Showing results for 
Search instead for 
Did you mean: 

workitem in progress

Former Member
0 Kudos

Hi Expert,

I'm facing issue with one of the task where sometimes I click on the approval button to trigger the task. In the portal, there is no error prompt, and no error at R/3, but the task just hang, which means the workflow process stop at the task. There is no error at all.

Are there any report or program to make the task execute again?

Thanks.

Regards,

Henry

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

Hi,

This happens in following situations:

1) When the data is correctly passed from WF to Task.but not correctly passed from task to method. In this case, check the task binding.

2) If u r calling a report inside ur coding without RETURN, thn also the step will be in progress always.

Regards,

Sivagami

Former Member
0 Kudos

Hi Sivagami,

Can you explain the second point and give some example on how to code the Return?

Thanks.

Regards,

Henry

Former Member
0 Kudos

Hi,

U will be calling a report using SUBMIT stmt...

use "SUBMIT {rep|(name)} [selscreen_options]

[list_options]

[job_options]

[AND RETURN]. "

Regards,

Sivagami.

Former Member
0 Kudos

Hi,

I have to close this thread as there is no solution to this.

Thanks.

Regards,

Henry

Former Member
0 Kudos

Restart the workflow using SWPR or

Use SWPC if Worflow have come in process longer than day

Regards ,

Kiran.

Former Member
0 Kudos

once Workitem or task is completed in the workflow , we can not re-excuted again.

Regards ,

Kiran .

former_member185167
Active Contributor
0 Kudos

Hello,

"Are there any report or program to make the task execute again?"

Try SWPC.

regards

Rick Bakker

Hanabi Technology

Former Member
0 Kudos

Hi All,

SWPC only list out workflow stops in error status, not workflow in hang status.

The workflow issue that I'm facing does not have any error at all, it just hang when user execute the approval button, on user front end, there is no error prompt and the workflow just hang at the backend process.

Thanks.

Regards,

Henry

bpawanchand
Active Contributor
0 Kudos

Can you just say us what is the Status of the workitem after you are approving it. And can you clear us how are you handling the Decision workitem from R/3 side, I mean are you trying to complete the wrokitem by using any funciton module like SAP_WAPI_COMPLETE_WORKITEM or SAP_WAPI_DECISION_COMPLETE if you are you are using any of these function modules make sure that you are passing t he DO_COMMIT parameter as 'X'.

Or try to explicity write a COMMIT WORK statement and check.

former_member182468
Contributor
0 Kudos

Hi henry ,

Are there any report or program to make the task execute again?

you can go to tcode SWIA ( Execute work items without agent check ) and process the work item as a workflow administrator.

This report enables you to execute work items for which you may or may not be a possible agent .

Thanks,

Sahiba

Former Member
0 Kudos

Check for any dump in ST22 related to this. Also check the user has the proper authorization to approve.

Thanks

Arghadip

Former Member
0 Kudos

Hi Arghadip,

There is no error at all.

Regards,

Henry

surjith_kumar
Active Contributor
0 Kudos

Hi,

In the portal, there is no error prompt, and no error at R/3, but the task just hang, 
which means the workflow process stop at the task.

1) In the Workflow log it is showing INPROCESS right.

2) If yes, Check that Task

a) Binding of the Task

b) Method which you calling in the Task, Check the coding in the Method

3) Can you tell what message you getting in the workflow log.

Regards,

Surjith

Former Member
0 Kudos

Hi Surjith,

There is no error in the workflow log, it just show the task in procress.

Regards,

Henry

Former Member
0 Kudos

Then try to test the method from SWO1 that the step is trying to execute and getting stuck. I think there is some errors that is happening which is not taken care in the coding.

Thanks

Arghadip