Attatch document in mail step.
Sample, Rick
Rick.Sample at graybar.com
Mon Jun 15 10:02:10 EDT 2009
It all depends on requirements. I may have just read too much into your
question.
If you already have an attachment by whatever means, and all you need to
do is pass into
the Send Mail task, then Sherie's is spot on. Just bind the attachment
from the WF to the Task
and it will include the attachment in the mail.
My suggestions are for creating an attachment, adding it to a txt msg,
and sending in one background step.
Would need to know the requirements.
Rick Sample | Office (314) 573-5822 | Mobile (314) 952-2273 |
rick.sample at graybar.com
www.graybar.com <http://www.graybar.com/> - Graybar Works to Your
Advantage
________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Prakashreddy Sabbu
Sent: Monday, June 15, 2009 2:09 AM
To: SAP Workflow Users' Group
Subject: RE: Attatch document in mail step.
Hi Rick,
Thank you very much for your mail, I was in leave since
4 days. I will try this and get back to you for more suggestions.
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Sample, Rick
Sent: Wednesday, June 10, 2009 7:03 PM
To: SAP Workflow Users' Group
Subject: RE: Attatch document in mail step.
Yes. See SGOSSUB_REC_FB_SEND_MAIL.
This is the FM used for Subscribed. When user Subscribes to say a change
in sales order, it catches the CHANGED event, looks up who is subscribed
to this doc, then sends a Message. Standard TXT (Document, not WF or
Task).
This is a good example that anyone can kick off easily to learn a few
things.
If someone has a better one, let me know. But testing and examining this
example, is simple.
Just execute the FM in Test with and it will send you a text msg with an
attachment. This attachment will be a link to VA03 for the given objkey.
EVENT CHANGED
RECTYPE SUBSCRIBE
OBJTYPE BUS2032
OBJKEY 0300036292 <-- any sales order
EXCEPTIONS_ALLOWED
Review all the FM in the package SGOS, SO, etc. A lot of the Inbox
Office FM start with SO_*
Now, what you would need to do is hack through this example and change
to whatever it is you want to attach.
A PDF, file, other link, ... you'll get the point.
I have some other code for attaching PDF to a Task. So, not sure what
you are looking for. Text msg / task?
In many of WFs, we send more that just the txt message. We send a task.
Provides more functionality. (Depends on requirement)
I can't find a simple standard FM with interface to send a txt msg AND
attachment. So, I am going to create my own. Sometimes, just a txt msg
is all that is required, but is nice to provide a link to a Sales Order,
PO, etc. that user can click and take them directly to the Sales Order
for instance.
Let me know if this helped and feel free to ask. I am playing with that
code as we speak...
Rick Sample | Office (314) 573-5822 | Mobile (314) 952-2273 |
rick.sample at graybar.com
www.graybar.com <http://www.graybar.com/> - Graybar Works to Your
Advantage
________________________________
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf
Of Prakashreddy Sabbu
Sent: Wednesday, June 10, 2009 3:17 AM
To: SAP-WUG at mit.edu
Subject: Attatch document in mail step.
Hello Experts,
Is there any possibility to attach a document to the
mail step. If it is possible please guide me for that.
Thanks & Regards,
Prakash Reddy .S,
Associate Programmer Analyst,
My-Tec Software Private Limited
040 - 40300600 Ext : 936 (Office)
093951.46530 (Cell)
040- 40300700 (Fax)
www.mytecsoft.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20090615/4c727c93/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 9732 bytes
Desc: image001.jpg
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20090615/4c727c93/attachment.jpg
More information about the SAP-WUG
mailing list