<div>Steve, </div>  <div>Thanks for the reply. SOFM-&gt;'Create' method is dialog method.I need to do it&nbsp;in a background method.</div>  <div>Here I am trying to&nbsp;incldue more details:client is having a function module which gives the contents of PDF file(Invoice Scanned docuement)&nbsp;in RAW format<FONT color=#0000ff size=1>(Data Type SOLIX_TAB)</FONT>. </div>  <div>In my workflow I need to create a PDF attachment before my&nbsp;the decision&nbsp; step. This file should be attached to decision step.</div>  <div>&nbsp;</div>  <div>we are using '<FONT size=1>SO_NEW_DOCUMENT_ATT_SEND_API1'. </FONT>to send to Outlook&nbsp;email and SAP email.</div>  <div>It is workong fine for out look but not for SAP email. </div>  <div>is there any way I can do it and create a SOFM object and use _attach_objects in workflow.</div>  <div>&nbsp;</div>  <div>2 nd way:</div>  <div>How to insert this image document into BUS2081 with 'Key'. Even this will solve my issue.</div>  <div>If I
 can do this workflow approver can open the scanned document from MIR4 and can see Attachments.</div>  <div>&nbsp;</div>  <div>&nbsp;</div>  <div>This is the major difficulty that I am facing now...I appreciate any help in this regard....</div>  <div>&nbsp;</div>  <div>thanks,</div>  <div>Sharath.</div>  <div>&nbsp;</div>  <div><BR><B><I>"Stevens, Seth" &lt;Seth.Stevens@anadarko.com&gt;</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">  <META content="MSHTML 6.00.2900.2995" name=GENERATOR>  <DIV dir=ltr align=left><SPAN class=041324814-20122006><FONT face=Arial color=#0000ff size=2>Sharath,</FONT></SPAN></DIV>  <DIV dir=ltr align=left><SPAN class=041324814-20122006><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>  <DIV dir=ltr align=left><SPAN class=041324814-20122006><FONT face=Arial color=#0000ff size=2>This can be done by creating a method that reads the binary for the file
 and&nbsp;uses the create method of SOFM to generate the attachment.&nbsp; Pass the attachment(s) back to the workflow and bind it to the &amp;_ATTACH_OBJECTS&amp; container element.</FONT></SPAN></DIV>  <DIV dir=ltr align=left><SPAN class=041324814-20122006><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>  <DIV dir=ltr align=left><SPAN class=041324814-20122006><FONT face=Arial color=#0000ff size=2>I'm sure there are other ways to do this but this one seems to work for us.</FONT></SPAN></DIV>  <DIV dir=ltr align=left><SPAN class=041324814-20122006><FONT face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>  <DIV dir=ltr align=left><SPAN class=041324814-20122006><FONT face=Arial color=#0000ff size=2>Thanks,</FONT></SPAN></DIV>  <DIV dir=ltr align=left><SPAN class=041324814-20122006><FONT face=Arial color=#0000ff size=2>Seth</FONT></SPAN></DIV>  <DIV dir=ltr align=left><SPAN class=041324814-20122006><FONT face=Arial color=#0000ff
 size=2></FONT></SPAN>&nbsp;</DIV>  <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>Sharath Chandra Kotla<BR><B>Sent:</B> Tuesday, December 19, 2006 10:59 PM<BR><B>To:</B> sap-wug@mit.edu<BR><B>Subject:</B> workflow attachments <BR></FONT><BR></DIV>  <DIV></DIV>  <DIV>Hi All,</DIV>  <DIV>Could any&nbsp;one let me know how to create an attachment in a back ground step&nbsp;and send it as an attachment to User Decision step.Currently I am able to&nbsp;download&nbsp;PDF file into raw or string data.</DIV>  <DIV>&nbsp;</DIV>  <DIV>I am thinking to create an SOFM object and set&nbsp;it as an attachment. please let me know if I am doing correct.I appreciate any help if any one has already done this.</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV>  <DIV>thanks,</DIV>  <DIV>Sharath.</DIV>  <DIV>&nbsp;</DIV>  <DIV>&nbsp;</DIV> 
 <div>__________________________________________________<BR>Do You Yahoo!?<BR>Tired of spam? Yahoo! Mail has the best spam protection around <BR>http://mail.yahoo.com </div>*Please note my E-Mail Address has changed. Please<BR>update your contact list*<BR><BR><BR><BR>  <div>  <HR SIZE=1>    <div></div><BR>  <div><STRONG><BR>Anadarko Confidentiality Notice: <BR>This electronic transmission and any attached documents or other<BR>writings are intended only for the person or entity to which it is<BR>addressed and may contain information that is privileged,<BR>confidential or otherwise protected from disclosure. If you have<BR>received this communication in error, please immediately notify<BR>sender by return e-mail and destroy the communication. Any<BR>disclosure, copying, distribution or the taking of any action<BR>concerning the contents of this communication or any attachments by<BR>anyone other than the named recipient is strictly
 prohibited.<BR></STRONG></div>_______________________________________________<BR>SAP-WUG mailing list<BR>SAP-WUG@mit.edu<BR>http://mailman.mit.edu/mailman/listinfo/sap-wug<BR></BLOCKQUOTE><BR><p>&#32;__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com