<!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.3527" 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.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-compose
}
SPAN.BalloonTextChar {
        FONT-FAMILY: "Tahoma","sans-serif"; mso-style-priority: 99; mso-style-link: "Balloon Text"; mso-style-name: "Balloon Text Char"
}
.MsoChpDefault {
        mso-style-type: export-only
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</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=093271213-10062009><FONT face=Arial
color=#0000ff size=2>Yes. See SGOSSUB_REC_FB_SEND_MAIL. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=093271213-10062009><FONT face=Arial
color=#0000ff size=2>
<DIV dir=ltr align=left><SPAN class=093271213-10062009><FONT face=Arial
color=#0000ff size=2>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). </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN
class=093271213-10062009></SPAN> </DIV></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=093271213-10062009><FONT face=Arial
color=#0000ff size=2>This is a good example that anyone can kick off easily to
learn a few things. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=093271213-10062009><FONT face=Arial
color=#0000ff size=2>If someone has a better one, let me know. But testing and
examining this example, is simple. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=093271213-10062009></SPAN><SPAN
class=093271213-10062009></SPAN><SPAN class=093271213-10062009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=093271213-10062009><FONT face=Arial
color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=093271213-10062009><FONT face=Arial
color=#0000ff size=2>EVENT
CHANGED
<BR>RECTYPE
SUBSCRIBE
<BR>OBJTYPE
BUS2032
<BR>OBJKEY
0300036292 <-- any sales
order
<BR>EXCEPTIONS_ALLOWED
<BR></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=093271213-10062009><FONT face=Arial
color=#0000ff size=2>
<DIV dir=ltr align=left><SPAN class=093271213-10062009><FONT face=Arial
color=#0000ff size=2>Review all the FM in the package SGOS, SO, etc. A lot of
the Inbox Office FM start with SO_*</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN
class=093271213-10062009></SPAN> </DIV></DIV></FONT></SPAN>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=093271213-10062009>Now,
what you would need to do is hack through this example and change to whatever it
is you want to attach. </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=093271213-10062009>A PDF,
file, other link, ... you'll get the point. </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=093271213-10062009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=093271213-10062009>I have
some other code for attaching PDF to a Task. So, not sure what you are looking
for. Text msg / task?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=093271213-10062009>In many of WFs, we send more that just the txt
message. We send a task. Provides more functionality. (Depends on
requirement)</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=093271213-10062009></SPAN></FONT> </DIV>
<DIV><SPAN class=093271213-10062009></SPAN><SPAN
class=093271213-10062009></SPAN><FONT face=Arial color=#0000ff size=2><SPAN
class=093271213-10062009>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></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=093271213-10062009></SPAN></FONT> </DIV>
<DIV><SPAN class=093271213-10062009></SPAN><FONT face=Arial color=#0000ff
size=2><SPAN class=093271213-10062009>Let me know if this helped and feel free
to ask. I am playing with that code as we speak...</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=093271213-10062009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </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> Wednesday, June 10, 2009 3:17 AM<BR><B>To:</B>
SAP-WUG@mit.edu<BR><B>Subject:</B> Attatch document in mail
step.<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<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:093271213@10062009-091A"
width=177><o:p></o:p></SPAN></P>
<P class=MsoNormal><B><SPAN lang=EN-IN style="COLOR: #00b050"><A
href="http://www.mytecsoft.com"><SPAN
style="COLOR: blue">www.mytecsoft.com</SPAN></A><o:p></o:p></SPAN></B></P>
<P class=MsoNormal><o:p> </o:p></P></DIV></BODY></HTML>