cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Monitoring Workflow

Former Member
0 Likes
14,717

Hi,

Does anyone knows how to monitor a workflow? Let's say I have started a transaction and now I want to monitor it progress until it gets completed. This is so that I can identify whether there is any error occur in between also.

Thank you.

From,

Shreya

Accepted Solutions (0)

Answers (4)

Answers (4)

volker_vongloeden
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello,

depending on what you are looking for you can also have automated alert monitoring of workflows with the help of Business Process Monitoring in SAP Solution Manager. Please check-out the document "Setup Guide for Interface Monitoring" under https://service.sap.com/bpm --> Media Library --> Technical Information. It contains detailed infos about workflow monitoring but also other interface technologies like IDOC, tRFC, qRFC or XI/PI.

Best Regards

Volker

Former Member
0 Likes
Former Member
0 Likes

Hi,

You can turn on the event trace using SWELS tcode. Then you can use the SWEL tcode and monitor your workflow log.

Also you can use the tcode SWI6 or SWI14 for monitoring purposes. In Swel you can click on the particular where you are getting error and go to step history tab. There you can view the details about the error.

Regards,

Raj

Edited by: Raj Karunanidhi on Apr 29, 2009 2:32 PM

bpawanchand
Active Contributor
0 Likes

The way which i do is

1. Execute Txn SWWL.

2. Clear all the fields on the screen except date(Current Day Date) and give the current running time at the place of time.

3. now click F8.

4. Now run the Txn or workflow now, from the ready state till the workflow is completed you can see each step which is displayed one after the other.

Former Member
0 Likes

Hi Pavan,

Thank you.

I'm able to see the list of of step each being executed.

However, I saw some step has error. How can I get more details of what the error is so that I know how to fix it?

Thanks in advance.

From,

Shreya

bpawanchand
Active Contributor
0 Likes

Double click the step which is going to error state and then click on the table icon which is displyed there you can check the log of the workflow.

If at all you want to debug the method of the task, First make the task as fore ground if it is a background(DO not Specify any agents) then put a break point in it and then try to retrigger the WF . then the workitem comes to the SAP inbox then you execute the workitem then the execution stops at the break point the is pointed in the BO method.......

Former Member
0 Likes

Hi Shreya,

Use transaction SWI5 or SWI1, go to the logs, there you can click on technical details

& in the technical details you can check the value of all containers in a particular step & you can identify the errors from there itself.

Regards,

Brajesh

imthiaz_ahmed
Active Contributor
0 Likes
1. Execute Txn SWWL.
2. Clear all the fields on the screen except date(Current Day Date) and give the 
current running time at the place of time.
3. now click F8.

Why do you do this. Do you know why we use SWWL? It is to delete the workitem. If accidentally anyone runs with the defaulted value, they will loose the complete log especially in a production environment it is dangerous.

There are so many other ways to monitor the WF and some of them has been suggested by the other contributors.

Regards, IA

bpawanchand
Active Contributor
0 Likes

Thanks, Happy Posting

Former Member
0 Likes

Hi,

You can use the Workflow monitoring tool.

1. Go to Transaction code : SWUD.

2. Task Type : WS

Task : your workflow number. Press Enter

3. Select Test Environment Option

4. Then Select Determine instances for task.

5. This will give you all the workitems.The latest workitem will be in the top.

6. Double click to see a detailed information on the workflow.