FW: Issue with attaching employee Work Event Profile Report to email notification
Keohan, Susan - 1140 - MITLL
keohan at ll.mit.edu
Wed Mar 28 11:22:06 EDT 2012
Hi Luke,
The only thing I can think of is to double-check your binding from the
workflow -> task -> method.
Good luck,
Sue
----
Susan R. Keohan
SAP Workflow Specialist
Enterprise Applications
Information Services Department
MIT Lincoln Laboratory
244 Wood Street, LI-200
Lexington, MA. 02420
781-981-3561
<mailto:keohan at LL.MIT.EDU> keohan at LL.MIT.EDU
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
Gilbert, Luther
Sent: Tuesday, March 27, 2012 6:57 PM
To: SAP Workflow Users' Group
Subject: Issue with attaching employee Work Event Profile Report to email
notification
Workflow experts,
I am executing a SAP function module called SO_OBJECT_SEND to generate an
email notification. I created a Method that attaches an Employee Work Event
Profile Report to the email notification, using FM SO_OBJECT_SEND. When I
test the Method, using transaction SWO1, the report is attached to the
notification, no problem and no issues. In other words, when I'm executing
the Method in Foreground no problems.
In the workflow template the Standard Task for the Method is set to
Background processing. When the method is trigger from the workflow
template, in Background, the email is generated successfully. The problem
I'm having there's no report attached to the email. The issue only happens
when the Method is executed from the workflow job while running in the
Background. Can anybody provide some input to this issue?
Regards,
Luke
Listed below is the FM I'm using to create the email:
call function 'SO_OBJECT_SEND'
EXPORTING
object_hd_change = w_object_hd_change
object_type = 'RAW'
outbox_flag = 'X'
owner = 'WF-BATCH' "sy-uname
TABLES
objcont = message_content
objhead = objhead
receivers = receiver_list
packing_list = pack_list
ATT_CONT = objbin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20120328/b69a9fa9/attachment-0001.htm
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT00001.txt
Url: http://mailman.mit.edu/pipermail/sap-wug/attachments/20120328/b69a9fa9/attachment-0001.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5398 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20120328/b69a9fa9/attachment-0001.bin
More information about the SAP-WUG
mailing list