Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to Debug Workflow

Former Member
0 Likes
1,416

Hi,

I have created one program, which generates PDF file and sents the PDF file as attachment through mail by using function module SO_DOCUMENT_SEND_API1.

The program is runing smooth in Foreground and Background mode.

But the same program is used via workflow and in that case the program does not send any mail.

So can anyone please help me how I can debug or find the issue.

I am very new to Workflow.

Thanks.

2 REPLIES 2
Read only

Former Member
0 Likes
465

hi,

in workflow no debugging process available but we can see whether workflow started or not and if it starts where was it stopped etc by using WORKFLOW LOG.

After executing the workflow,

Go to transaction SWIA

Now click the execute button. It will display list of DISPALY WORKFLOW LOG workitems.

Select the appropriate workitem and click the button.

WORKFLOW LOG screen will appear

Press the button "List with technical details" button

Click "Show work item container" icon in the

displayed table ot details.

after that A green line u will see, that represents flow of process.

reward if its useful

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6ce9d51d-0b01-0010-00ba-b7934da7...

Edited by: p541399 on Feb 26, 2008 6:42 PM

Read only

0 Likes
465

Hi,

You can debug the workflow,if you have created the workflow task and standard tasks.

Use Tcode: SWDD and give the task number and click OK. If your workflow process is defined , the you can use TEST button on the application bar.

Regards,

Ashok