Brain fart on background tasks
Claude Bourque
claude.bourque at rcmp-grc.gc.ca
Fri Feb 21 07:22:39 EST 2014
Hello everyone,
I haven't posted anything in at least 2 years so here it goes.
I've been asked to support a new WebDynpro App that starts a workflow, the WDA app uses Function Module ARCHIV_PROCESS_FAXINPUT to start WF.
Only problem is that this FM uses sy-uname as the creator.
As seen in the attached document, if I go to the Portal and start the process, I'm listed as the WF Initiator but the strange thing is that I'm also the creator of ALL tasks including all background tasks.
Here's a text snapshot of part of the log to show that. Full screenshot is in the included attachment.
Claude Bourque Execution started automatically 2014/02/21 07:05:45
Claude Bourque Background work item created 2014/02/21 07:05:45
Claude Bourque Work Item Processing Complete 2014/02/21 07:05:45
Claude Bourque Result Processing 2014/02/21 07:05:45
We didn't noticed this until this week when I was asked to add an email step and the email comes from the user that start the process NOT WF-BATCH.
All the steps after approval return to "normal" and WF-BATCH creates and completed the background work items again.
A solution would be to have the WDA application be launched with WF-BATCH as the user but security is NOT crazy about that idea.
Any ideas/suggestions?
Thanks.
Regards
Claude
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20140221/76728222/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Background workitem dilemma.docx
Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
Size: 74919 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20140221/76728222/attachment-0001.bin
More information about the SAP-WUG
mailing list