<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5726" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=406271903-28012009><FONT face=Arial 
color=#0000ff size=2>Hi Andy / Rick,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=406271903-28012009><FONT face=Arial 
color=#0000ff size=2>I am not sure this FM will work properly for adding PDF as 
an attachment. </FONT></SPAN><SPAN class=406271903-28012009><FONT face=Arial 
color=#0000ff size=2>At least I was not able to use this FM&nbsp;successfully 
for adding PDF as attachment to work item.</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV align=left>
<DIV dir=ltr align=left><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
<DIV dir=ltr align=left><SPAN class=265481700-09012009></SPAN><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Regards<?xml:namespace prefix = o ns 
= "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></DIV>
<DIV align=left>
<DIV align=left>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Akshay 
</SPAN></SPAN></P></DIV></DIV></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>Andy Curtis<BR><B>Sent:</B> 
Tuesday, January 27, 2009 4:31 AM<BR><B>To:</B> 
sap-wug@mit.edu<BR><B>Subject:</B> RE: Attatching PDF File in background step 
(Sample, Rick)<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=gmail_quote>
<DIV>Rick</DIV>
<DIV>&nbsp;</DIV>
<DIV>I did not think too much before I replied before!&nbsp; But</DIV>
<DIV>&nbsp;</DIV>
<DIV>CALL FUNCTION 'SAP_WAPI_ATTACHMENT_ADD'<BR>&nbsp;&nbsp;&nbsp; ......</DIV>
<DIV>&nbsp;</DIV>
<DIV>This appears to attach your document to the WI.&nbsp; Not sure here, but if 
you specify the Wf top level WI, then it will be available to later steps in 
your Wf so you can Bind it to the Foreground Step that you want to.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Hope this helps, hope I'm right!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Andy</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><SPAN></SPAN>---------- 
  Forwarded message ----------<BR>From:&nbsp;"Sample, Rick" &lt;<A 
  href="mailto:Rick.Sample@graybar.com" 
  target=_blank>Rick.Sample@graybar.com</A>&gt;<BR>To:&nbsp;"SAP Workflow Users' 
  Group" &lt;<A href="mailto:sap-wug@mit.edu" 
  target=_blank>sap-wug@mit.edu</A>&gt;, &lt;<A href="mailto:sap-wug@mit.edu" 
  target=_blank>sap-wug@mit.edu</A>&gt;<BR>Date:&nbsp;Mon, 26 Jan 2009 16:25:39 
  -0600<BR>Subject:&nbsp;RE: Attatching PDF File in background step<BR>
  <DIV>
  <DIV dir=ltr>
  <DIV dir=ltr><FONT face=Arial color=#000000 size=2>Don't know.&nbsp;Ad Hoc 
  Objects. Got an example?</FONT></DIV>
  <DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV dir=ltr><FONT face=Arial size=2>I am in&nbsp;a BG task, get PDF (below), 
  attach to a different FG Task. </FONT></DIV>
  <DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT>&nbsp;</DIV></DIV>
  <DIV dir=ltr>
  <DIV><FONT face=Arial><FONT size=1><FONT color=#3399cc><FONT 
  color=#000000><STRONG>Rick Sample</STRONG></FONT> <FONT color=#000000>| 
  </FONT>Workflow Analyst/Developer<BR>11885 Lackland Road<FONT color=#000000> | 
  </FONT>Maryland Heights, MO 63146 <FONT color=#000000>| </FONT>Office (314) 
  573-5700<FONT color=#000000> | </FONT>Mobile (314) 952-2273<FONT 
  color=#000000> | </FONT><A href="mailto:rick.sample@graybar.com" 
  target=_blank>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> </FONT></FONT></FONT></DIV></DIV>
  <DIV dir=ltr><BR>
  <HR>
  <FONT face=Tahoma size=2><B>From:</B> <A href="mailto:sap-wug-bounces@mit.edu" 
  target=_blank>sap-wug-bounces@mit.edu</A> on behalf of Andy 
  Curtis<BR><B>Sent:</B> Sat 24-Jan-09 03:16<BR><B>To:</B> <A 
  href="mailto:sap-wug@mit.edu" 
  target=_blank>sap-wug@mit.edu</A><BR><B>Subject:</B> Re: Attatching PDF File 
  in background step<BR></FONT><BR></DIV>
  <DIV>
  <DIV>Rick</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Can't you just bind the pdf object to the Task as an Ad Hoc Object?</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Andy</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>---------- Forwarded message ----------<BR>From:&nbsp;"Sample, Rick" 
  &lt;<A href="mailto:Rick.Sample@graybar.com" 
  target=_blank>Rick.Sample@graybar.com</A>&gt;<BR>To:&nbsp;"SAP Workflow Users' 
  Group" &lt;<A href="mailto:sap-wug@mit.edu" 
  target=_blank>sap-wug@mit.edu</A>&gt;<BR>Date:&nbsp;Fri, 23 Jan 2009 11:42:43 
  -0600<BR>Subject:&nbsp;Attatching PDF File in background step<BR>&nbsp;</DIV>
  <DIV>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
    <DIV lang=EN-US vlink="purple">
    <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN>I have a 
    need to get a Trip PDF and attach it to a Task in a background step. 
    </SPAN></FONT></DIV>
    <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN>I get 
    the PDF just fine. I&nbsp;attach to a task&nbsp;in FORE GROUND just fine and 
    dandy. </SPAN></FONT></DIV>
    <DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
    size=2><SPAN></SPAN></FONT>&nbsp;</DIV>
    <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN>Now, 
    where I am stumped.&nbsp;How to attach in a background step. 
    </SPAN></FONT></DIV>
    <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN>I 
    obviously can not use GUI controls to achieve this, so anyone have an idea 
    or three, or an example to reference? </SPAN></FONT></DIV>
    <DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
    size=2><SPAN></SPAN></FONT>&nbsp;</DIV>
    <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN>Thanks 
    much! </SPAN></FONT></DIV><FONT face=Arial color=#0000ff 
    size=2><SPAN></SPAN></FONT><FONT face=Arial color=#0000ff size=2>
    <DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
    size=2></FONT>&nbsp;</DIV>
    <DIV dir=ltr align=left><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-5700<SPAN 
    style="COLOR: #000000"> | </SPAN><A href="mailto:rick.sample@graybar.com" 
    target=_blank>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 dir=ltr align=left><SPAN 
    style="FONT-SIZE: 8pt; COLOR: #3399cc; FONT-FAMILY: Arial"><EM></EM></SPAN></DIV></FONT>&nbsp;</DIV>
    <DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
    size=2></FONT>&nbsp;</DIV></BLOCKQUOTE></DIV></DIV></DIV><BR><BR></BLOCKQUOTE></DIV><P><strong><span style='font-size:10.0pt;font-family:
"Palatino Linotype","serif";color:green'> Please do not print this email unless it is absolutely necessary. </span></strong><span style='font-family:"Arial","sans-serif"'><o:p></o:p></span></p>


<p> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. </p>

<p>WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. </p>
<p>
www.wipro.com
</p>
</BODY></HTML>