<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:m =
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3562" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
LI.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
DIV.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
P.MsoAcetate {
        FONT-SIZE: 8pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"; mso-style-priority: 99; mso-style-link: "Balloon Text Char"
}
LI.MsoAcetate {
        FONT-SIZE: 8pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"; mso-style-priority: 99; mso-style-link: "Balloon Text Char"
}
DIV.MsoAcetate {
        FONT-SIZE: 8pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"; mso-style-priority: 99; mso-style-link: "Balloon Text Char"
}
SPAN.BalloonTextChar {
        FONT-FAMILY: "Tahoma","sans-serif"; mso-style-priority: 99; mso-style-link: "Balloon Text"; mso-style-name: "Balloon Text Char"
}
SPAN.EmailStyle19 {
        COLOR: windowtext; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal
}
SPAN.EmailStyle20 {
        COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-reply
}
.MsoChpDefault {
        FONT-SIZE: 10pt; mso-style-type: export-only
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=828345613-15062009><FONT face=Arial
color=#0000ff size=2>It all depends on requirements. I may have just read
too much into your question. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=828345613-15062009><FONT face=Arial
color=#0000ff size=2>If you already have an attachment by whatever
means, and all you need to do is pass into </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=828345613-15062009><FONT face=Arial
color=#0000ff size=2>the Send Mail task, then Sherie's is spot on.
Just bind the attachment from the WF to the Task </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=828345613-15062009><FONT face=Arial
color=#0000ff size=2>and it will include the attachment in the
mail. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=828345613-15062009></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=828345613-15062009><FONT face=Arial
color=#0000ff size=2>My suggestions are for creating an attachment, adding
it to a txt msg, and sending in one background step. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=828345613-15062009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=828345613-15062009><FONT face=Arial
color=#0000ff size=2>Would need to know the
requirements.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=828345613-15062009><SPAN
style="COLOR: #1f497d"></SPAN></SPAN> </DIV><SPAN
style="FONT-SIZE: 8pt; COLOR: #3399cc; FONT-FAMILY: Arial"><SPAN
style="FONT-WEIGHT: bold; COLOR: #000000">Rick Sample</SPAN> <SPAN
style="COLOR: #000000">| </SPAN>Office (314) 573-5822<SPAN
style="COLOR: #000000"> | </SPAN>Mobile (314) 952-2273<SPAN
style="COLOR: #000000"> | </SPAN><A
href="mailto:rick.sample@graybar.com">rick.sample@graybar.com</A> <BR><A
href="http://www.graybar.com/" target=_BLANK>www.graybar.com</A> - <I>Graybar
Works to Your Advantage</I> </SPAN>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Prakashreddy
Sabbu<BR><B>Sent:</B> Monday, June 15, 2009 2:09 AM<BR><B>To:</B> SAP Workflow
Users' Group<BR><B>Subject:</B> RE: Attatch document in mail
step.<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN style="COLOR: #1f497d">Hi Rick,<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="COLOR: #1f497d">
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.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p> </o:p></SPAN></P>
<DIV>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal><B><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of
</B>Sample, Rick<BR><B>Sent:</B> Wednesday, June 10, 2009 7:03 PM<BR><B>To:</B>
SAP Workflow Users' Group<BR><B>Subject:</B> RE: Attatch document in mail
step.<o:p></o:p></SPAN></P></DIV></DIV>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">Yes. See
SGOSSUB_REC_FB_SEND_MAIL. </SPAN><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">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). <o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'"> <o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">This is
a good example that anyone can kick off easily to learn a few things.
</SPAN><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">If
someone has a better one, let me know. But testing and examining this example,
is simple. </SPAN><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"> <o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">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.</SPAN><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">EVENT
CHANGED
<BR>RECTYPE
SUBSCRIBE
<BR>OBJTYPE
BUS2032
<BR>OBJKEY
0300036292 <-- any sales
order
<BR>EXCEPTIONS_ALLOWED
</SPAN><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">Review
all the FM in the package SGOS, SO, etc. A lot of the Inbox Office FM start with
SO_*<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'"> <o:p></o:p></SPAN></P>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">Now,
what you would need to do is hack through this example and change to whatever it
is you want to attach. </SPAN><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">A PDF,
file, other link, ... you'll get the point. </SPAN><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">I have
some other code for attaching PDF to a Task. So, not sure what you are looking
for. Text msg / task?</SPAN><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">In many
of WFs, we send more that just the txt message. We send a task. Provides more
functionality. (Depends on requirement)</SPAN><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">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.
</SPAN><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">Let me
know if this helped and feel free to ask. I am playing with that code as we
speak...</SPAN><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"> <o:p></o:p></SPAN></P></DIV>
<P class=MsoNormal><B><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'">Rick
Sample</SPAN></B><SPAN
style="FONT-SIZE: 8pt; COLOR: #3399cc; FONT-FAMILY: 'Arial','sans-serif'">
</SPAN><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'">|
</SPAN><SPAN
style="FONT-SIZE: 8pt; COLOR: #3399cc; FONT-FAMILY: 'Arial','sans-serif'">Office
(314) 573-5822</SPAN><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'"> |
</SPAN><SPAN
style="FONT-SIZE: 8pt; COLOR: #3399cc; FONT-FAMILY: 'Arial','sans-serif'">Mobile
(314) 952-2273</SPAN><SPAN
style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: 'Arial','sans-serif'"> |
</SPAN><SPAN
style="FONT-SIZE: 8pt; COLOR: #3399cc; FONT-FAMILY: 'Arial','sans-serif'"><A
href="mailto:rick.sample@graybar.com">rick.sample@graybar.com</A> <BR><A
href="http://www.graybar.com/" target=_BLANK????>www.graybar.com</A> -
<I>Graybar Works to Your Advantage</I> </SPAN><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"> <o:p></o:p></SPAN></P></DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p> </o:p></SPAN></P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'">
<HR align=center width="100%" SIZE=2>
</SPAN></DIV>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><B><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of
</B>Prakashreddy Sabbu<BR><B>Sent:</B> Wednesday, June 10, 2009 3:17
AM<BR><B>To:</B> SAP-WUG@mit.edu<BR><B>Subject:</B> Attatch document in mail
step.</SPAN><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'"><o:p></o:p></SPAN></P>
<P class=MsoNormal>Hello Experts,<o:p></o:p></P>
<P
class=MsoNormal>
Is there any possibility to attach a document to the <B>mail step</B>. If it is
possible please guide me for that.<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal>Thanks & Regards,<o:p></o:p></P>
<P class=MsoNormal>Prakash Reddy .S,<o:p></o:p></P>
<P class=MsoNormal>Associate Programmer Analyst,<o:p></o:p></P>
<P class=MsoNormal>My-Tec Software Private Limited<o:p></o:p></P>
<P class=MsoNormal>040 - 40300600 Ext : 936 (Office)<SPAN
style="FONT-FAMILY: 'Arial','sans-serif'"><o:p></o:p></SPAN></P>
<P class=MsoNormal>093951.46530 (Cell)<o:p></o:p></P>
<P class=MsoNormal>040- 40300700 (Fax)<o:p></o:p></P>
<P class=MsoNormal><SPAN style="COLOR: navy"><IMG id=Picture_x0020_1 height=55
alt=cid:image002.jpg@01C84970.63EADBC0 src="cid:828345613@15062009-207C"
width=177 border=0><o:p></o:p></SPAN></P>
<P class=MsoNormal><B><SPAN lang=EN-IN style="COLOR: #00b050"><A
href="http://www.mytecsoft.com">www.mytecsoft.com</A><o:p></o:p></SPAN></B></P>
<P class=MsoNormal><o:p> </o:p></P></DIV></BODY></HTML>