<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16757" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=729191323-12012009><FONT face=Arial 
color=#0000ff size=2>Hi Akshay, </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=729191323-12012009><FONT face=Arial 
color=#0000ff size=2>Ok well if that is the scenario you might want to approach 
the problem in a different way.&nbsp; Rather than pass attachments around, which 
is always a pain when you have to convert between different formats, why not 
just pass a reference number&nbsp;?&nbsp; i.e. assign some sort of 
id&nbsp;to&nbsp;the form.&nbsp;&nbsp;&nbsp; Your actual binary 
data&nbsp;representing the current known form&nbsp;would be 
stored&nbsp;somewhere in SAP.&nbsp; Some applications such as SAP HCM Workforce 
Process Management have used Records Management (transaction SCASE) to store the 
binary/XML data of the form and then assign a GUID as the reference that is 
passed throughout the workflow.&nbsp; Then your ABAP WD application uses the 
reference to read/update the pdf.&nbsp; It's not particularly important where 
you store it from workflow's point of view - so long as you can use your form id 
to find the form data.&nbsp; </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=729191323-12012009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=729191323-12012009><FONT face=Arial 
color=#0000ff size=2>Trying to use SOFM - which is really only intended for 
creating and displaying attachments - &nbsp;will be very restrictive. Also 
passing around a large attachment in the workflow is likely to have other 
implications - e.g. sizing issues.&nbsp; </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=729191323-12012009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=729191323-12012009><FONT face=Arial 
color=#0000ff size=2>You might also want to look at the&nbsp;many Adobe 
tutorials on SDN.&nbsp; There are&nbsp;various approaches to&nbsp;handling 
incoming PDF forms. <BR>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=729191323-12012009><FONT face=Arial 
color=#0000ff size=2>Jocelyn</FONT></SPAN></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>akshay.bhagwat@wipro.com<BR><B>Sent:</B> Saturday, 10 January 2009 12:55 
PM<BR><B>To:</B> sap-wug@mit.edu<BR><B>Subject:</B> [LIKELY JUNK]Workflow and 
PDF attachments<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2><SPAN class=921564001-10012009>Hi 
All,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=921564001-10012009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=921564001-10012009>I know 
this&nbsp;topic is discussed a lot, still posting the questions as I am not able 
to achieve the requirement.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=921564001-10012009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=921564001-10012009>Just to elaborate 
the scenario, we are using Web dypnro for ABAP to host Interactive form 
.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=921564001-10012009>This Form in turn 
triggers the workflow, as this form is to be approved using workflow process. 
i.e. UWL will be used to launch the form when executing the work 
items.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=921564001-10012009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=921564001-10012009>As the form includes 
Digital signatures, we are not able to read the same from contexts (e.g. using 
UWLs dynamic parameters such as WI_ID.) So we have decided to use attachments 
i.e. send this form as an attachment inside workflow, since saved PDF file has 
all the data intact.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=921564001-10012009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=921564001-10012009><SPAN 
class=921564001-10012009>Now the issue is: </SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=921564001-10012009><SPAN 
class=921564001-10012009>How this form in Webdynpro is to be saved as PDF file 
automatically and then send as an attachment in 
workflow?</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=921564001-10012009><SPAN 
class=921564001-10012009></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=921564001-10012009><SPAN 
class=921564001-10012009>1. I have tried using SAP Office function modules such 
as SO_OBJECT_UPLOAD to create PDF files in SOFM object. However the problem is 
these FM s can not be used from Webdynpro as Front end services are 
unavailable.</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=921564001-10012009><SPAN 
class=921564001-10012009>2. Same is the issue If I use background step for 
creating SOFM document so that it can be used as an 
attachment.</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=921564001-10012009><SPAN 
class=921564001-10012009></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=921564001-10012009><SPAN 
class=921564001-10012009>Can any body please suggest what approach can be taken 
so that from webdynpro , attachment can be&nbsp;created and passed to workflow 
seamlessly?</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=921564001-10012009><SPAN 
class=921564001-10012009></SPAN></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=921564001-10012009><SPAN 
class=921564001-10012009>Any inputs are appreciated.</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=921564001-10012009><SPAN 
class=921564001-10012009>Thanks in advance.</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=921564001-10012009><SPAN 
class=921564001-10012009></SPAN></SPAN></FONT>&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<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 Bhagwat</SPAN></P>
<DIV 
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; PADDING-BOTTOM: 1pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext 1pt solid; mso-element: para-border-div; mso-border-bottom-alt: solid windowtext .75pt"></SPAN>&nbsp;</DIV></DIV></DIV></DIV></DIV>
<P><STRONG><SPAN 
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: 'Palatino Linotype','serif'">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>