‎2008 Feb 26 1:10 PM
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.
‎2008 Feb 26 1:12 PM
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
Edited by: p541399 on Feb 26, 2008 6:42 PM
‎2008 Feb 26 1:17 PM
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