<br><font size=2 face="sans-serif">Hi Jocelyn,</font>
<br>
<br><font size=2 face="sans-serif">no quite there yet! </font>
<br>
<br><font size=2 face="sans-serif">There is a bit of information in the
SDN about this subject - please find a list of some of the stuff I used</font>
<br>
<p><a href="https://www.sdn.sap.com/irj/scn/thread?messageID=6160963#6160963"><font size=2 color=blue face="Arial"><u>https://www.sdn.sap.com/irj/scn/thread?messageID=6160963#6160963</u></font></a><font size=3>
</font>
<p><a href="https://www.sdn.sap.com/irj/scn/thread?messageID=6155106#6155106"><font size=2 color=blue face="Arial"><u>https://www.sdn.sap.com/irj/scn/thread?messageID=6155106#6155106</u></font></a><font size=3>
</font>
<p><a href="https://www.sdn.sap.com/irj/scn/thread?messageID=4455619#4455619"><font size=2 color=blue face="Arial"><u>https://www.sdn.sap.com/irj/scn/thread?messageID=4455619#4455619</u></font></a><font size=3>
</font>
<p><a href="https://www.sdn.sap.com/irj/scn/thread?messageID=4586358#4586358"><font size=2 color=blue face="Arial"><u>https://www.sdn.sap.com/irj/scn/thread?messageID=4586358#4586358</u></font></a><font size=3>
</font>
<p><a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0c139d3-3eae-2910-01a1-d253f2587b0e"><font size=2 color=blue face="Arial"><u>https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0c139d3-3eae-2910-01a1-d253f2587b0e</u></font></a><font size=3>
</font>
<p><a href="https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60ff6ad3-729b-2b10-6582-fedc82680a29"><font size=2 color=blue face="Arial"><u>https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60ff6ad3-729b-2b10-6582-fedc82680a29</u></font></a><font size=3>
</font>
<p>
<p><font size=2 face="sans-serif">There is a pretty good explanation from
Jeff Gebo (a webniar on sending attachments) - we at the moment are trying
to 'tweak' the code a bit so the Workflow sends the email on a SELFITEM.SENDTASKDESCRIPTION
step - i.e. we want the code to simply return the attachment and then the
workflow will use the attachment in the email step. &nbsp;Jeff's sends
the email from his code. </font>
<p><font size=2 face="sans-serif">For one of the Forms we are using (a
Transfer Employee form), the attachment was 29KB - so not too bad at all.</font>
<br>
<br><font size=2 face="sans-serif">Hope that helps,<br>
<br>
Cristiana<br>
_________________________________<br>
Cristiana d'Agosto<br>
IBM Global Business Services<br>
Mobile: &nbsp;+61 417 927 224<br>
cristiana.dagosto@au1.ibm.com</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Dart, Jocelyn&quot;
&lt;jocelyn.dart@sap.com&gt;</b> </font>
<br><font size=1 face="sans-serif">Sent by: sap-wug-bounces@mit.edu</font>
<p><font size=1 face="sans-serif">14/01/2009 10:39 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
&quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">&quot;SAP Workflow Users' Group&quot;
&lt;sap-wug@mit.edu&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">RE: [LIKELY JUNK]RE: [LIKELY JUNK]RE:
[LIKELY JUNK]Workflow and PDF &nbsp; &nbsp; &nbsp; &nbsp;attachments</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2 color=blue face="Arial">Akshay, Whether you can take that
approach depends upon the requirements of your customer. &nbsp;However
at this point it is clear this is no longer a workflow question, but rather
an Adobe question - i.e. how do store and retrieve a pdf WITH it's digital
signatures. &nbsp;So you should try raising the question on the SAP Interactive
Forms by Adobe forum on SDN. </font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Arial">Cristiana - My impression was
your issue is very similar - so if you have solved this or have found something
useful on the SDN forums you might want to discuss that with Akshay - preferably
via the Adobe SDN forum.</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Arial">Regards,</font>
<br><font size=2 color=blue face="Arial">Jocelyn </font>
<br>
<br>
<hr><font size=2 face="Tahoma"><b>From:</b> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu]
<b>On Behalf Of </b>akshay.bhagwat@wipro.com<b><br>
Sent:</b> Wednesday, 14 January 2009 1:43 AM<b><br>
To:</b> sap-wug@mit.edu<b><br>
Subject:</b> [LIKELY JUNK]RE: [LIKELY JUNK]RE: [LIKELY JUNK]Workflow and
PDF attachments</font><font size=3><br>
</font>
<br><font size=2 color=blue face="Arial">Hi Jocelyn,</font>
<br><font size=3>&nbsp;</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Arial">The requirement was a form should
be sent for approvals and this form will have to be signed digitally at
every approval.</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Arial">Now as you have suggested, if
I have to retrieve the form filled in by 1st approver, &nbsp;I have a key
number based on which I can retrieve the stored pdfsource data. Only problem
was that I was not able to populate the form with the digital signature.</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Arial">&nbsp;So my actual doubt is related
to point -4. Displaying the PDF form based on pdfSource data- because only
problem is if I have to display the previous Digital signature as it is
on the form.</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Arial">Do you mean to say that we can
just go on storing the PDF source at every approval , and during each approval
just display the details of previous approval i.e. when it was signed etc
on the form and not the actual signature?</font>
<br><font size=3>&nbsp;</font>
<br><font size=3>&nbsp;</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 face="Arial">Regards</font>
<br><font size=2 face="Arial">Akshay Bhagwat</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=1 color=#c0c0c0 face="Arial">Akshay Bhagwat, <i>Senior Specialist
</i>| &nbsp;SAP Practice, Wipro Technologies | O: +91-20-22933700 Ext 3608
| M: +91-9881471909 | Email:</font><font size=1 face="Arial"> </font><a href=mailto:akshay.bhagwat@wipro.com><font size=1 color=#808080 face="Arial"><u>akshay.bhagwat@wipro.com</u></font></a><font size=1 color=#808080 face="Arial">
| </font><font size=1 color=#c0c0c0 face="Arial">Web:</font><font size=1 color=#808080 face="Arial">
</font><a href=blocked::http://www.wipro.com/><font size=1 color=#808080 face="Arial"><u>www.wipro.com</u></font></a><font size=1 face="Times New Roman">
</font>
<br><font size=6 color=#008000 face="Webdings"><b>P</b></font><font size=2 color=#008000 face="Times New Roman"><b>
Please do not print this email unless it is absolutely necessary. Spread
environmental awareness.</b></font>
<p><font size=3>&nbsp;</font>
<br>
<br>
<hr><font size=2 face="Tahoma"><b>From:</b> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu]
<b>On Behalf Of </b>Dart, Jocelyn<b><br>
Sent:</b> Monday, January 12, 2009 9:19 PM<b><br>
To:</b> SAP Workflow Users' Group<b><br>
Subject:</b> RE: [LIKELY JUNK]RE: [LIKELY JUNK]Workflow and PDF attachments</font><font size=3><br>
</font>
<br><font size=2 color=blue face="Arial">Hi Akshay, </font>
<br><font size=2 color=blue face="Arial">Well if you are already storing
your PDFSource data in a custom table then surely you would just:</font>
<br><font size=2 color=blue face="Arial">1. Add a key to the custom table</font>
<br><font size=2 color=blue face="Arial">2. Send the key to workflow </font>
<br><font size=2 color=blue face="Arial">3. Have workflow call the ABAP
WD program passing the key</font>
<br><font size=2 color=blue face="Arial">4. Using the key look up the table
and import the pdfsource in your ABAP WD program and display it.</font>
<br><font size=2 color=blue face="Arial">5. When the user updates the form
with the digital signature, reimport it and update your custom table. </font>
<br><font size=2 color=blue face="Arial">6. You could use your ABAP WD
program to read data from the form to pass to the workflow container, as
well as reading the PDF in full, before closing.</font>
<br><font size=2 color=blue face="Arial">(After all workflow probably doesn't
need all the details of the digital signature - mostly it needs to know
if it was signed at all.)</font>
<br><font size=2 color=blue face="Arial">This would provide data for subsequent
steps in workflow, rather than having to create an attachment or try and
get the workflow to parse the file in background. </font><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Arial">Similarly if you were sending
the form offline via email or uploading a returned from via email you would
need the key as well as the PDF. </font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Arial">The approach would be much the
same regardless of what storage area you use. &nbsp;</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Arial">The point is to get away from
thinking of workflow as the carrier of the document. Rather workflow handles
the communication needed to complete the process. &nbsp;It's the ABAP WD
program that accesses the PDF document. &nbsp;So all you need is for the
workflow and the ABAP WD to agree on some way of uniquely identifing a
document. </font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Arial">Please look at the Adobe tutorials
on SDN.</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Arial">Regards,</font>
<br><font size=2 color=blue face="Arial">Jocelyn </font>
<br>
<br>
<hr><font size=2 face="Tahoma"><b>From:</b> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu]
<b>On Behalf Of </b>akshay.bhagwat@wipro.com<b><br>
Sent:</b> Tuesday, 13 January 2009 12:57 PM<b><br>
To:</b> sap-wug@mit.edu<b><br>
Subject:</b> [LIKELY JUNK]RE: [LIKELY JUNK]Workflow and PDF attachments</font><font size=3><br>
</font>
<br><font size=2 color=blue face="Arial">Hi Jocelyn,</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Arial">Thanks for the inputs.</font>
<br><font size=2 color=blue face="Arial">But I am not able to visualize
how can I use the retrieved data?</font>
<br><font size=2 color=blue face="Arial">e.g. In my case As this is custom
application, we had created a custom table and stored the data from PDFsource
of context in custom table as Xstring. However, problem is how to use this
data for displaying again as PDF?</font>
<br><font size=2 color=blue face="Arial">Another issue is how to reproduce
the digital signatures from this data? Even though it's stored inside XSTRING
&nbsp;,,,</font>
<br><font size=2 color=blue face="Arial">So I thought of using the form
getting manually saved on Front end when use digitally signs it.</font>
<br><font size=2 color=blue face="Arial">Then create attachment of it -
then use it for further purpose inside workflow.</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Arial">Now the issue was how to create
attachment in background step of workflow.</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Arial">Please suggest.</font>
<br><font size=3>&nbsp;</font>
<br><font size=3>&nbsp;</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 face="Arial">Regards</font>
<br><font size=2 face="Arial">Akshay Bhagwat</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=1 color=#c0c0c0 face="Arial">Akshay Bhagwat, <i>Senior Specialist
</i>| &nbsp;SAP Practice, Wipro Technologies | O: +91-20-22933700 Ext 3608
| M: +91-9881471909 | Email:</font><font size=1 face="Arial"> </font><a href=mailto:akshay.bhagwat@wipro.com><font size=1 color=#808080 face="Arial"><u>akshay.bhagwat@wipro.com</u></font></a><font size=1 color=#808080 face="Arial">
| </font><font size=1 color=#c0c0c0 face="Arial">Web:</font><font size=1 color=#808080 face="Arial">
</font><a href=blocked::http://www.wipro.com/><font size=1 color=#808080 face="Arial"><u>www.wipro.com</u></font></a><font size=1 face="Times New Roman">
</font>
<br><font size=6 color=#008000 face="Webdings"><b>P</b></font><font size=2 color=#008000 face="Times New Roman"><b>
Please do not print this email unless it is absolutely necessary. Spread
environmental awareness.</b></font>
<p><font size=3>&nbsp;</font>
<br>
<br>
<hr><font size=2 face="Tahoma"><b>From:</b> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu]
<b>On Behalf Of </b>Dart, Jocelyn<b><br>
Sent:</b> Monday, January 12, 2009 6:37 PM<b><br>
To:</b> SAP Workflow Users' Group<b><br>
Subject:</b> RE: [LIKELY JUNK]Workflow and PDF attachments</font><font size=3><br>
</font>
<br><font size=2 color=blue face="Arial">Hi Akshay, </font>
<br><font size=2 color=blue face="Arial">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;i.e.
assign some sort of id to the form. &nbsp; &nbsp;Your actual binary data
representing the current known form would be stored 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>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Arial">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>
<br><font size=3>&nbsp;</font>
<br><font size=2 color=blue face="Arial">You might also want to look at
the many Adobe tutorials on SDN. &nbsp;There are various approaches to
handling incoming PDF forms. <br>
Regards,</font>
<br><font size=2 color=blue face="Arial">Jocelyn</font>
<br>
<br>
<hr><font size=2 face="Tahoma"><b>From:</b> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu]
<b>On Behalf Of </b>akshay.bhagwat@wipro.com<b><br>
Sent:</b> Saturday, 10 January 2009 12:55 PM<b><br>
To:</b> sap-wug@mit.edu<b><br>
Subject:</b> [LIKELY JUNK]Workflow and PDF attachments</font><font size=3><br>
</font>
<br><font size=2 face="Arial">Hi All,</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 face="Arial">I know this topic is discussed a lot, still
posting the questions as I am not able to achieve the requirement.</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 face="Arial">Just to elaborate the scenario, we are using
Web dypnro for ABAP to host Interactive form .</font>
<br><font size=2 face="Arial">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.</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 face="Arial">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.</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 face="Arial">Now the issue is: </font>
<br><font size=2 face="Arial">How this form in Webdynpro is to be saved
as PDF file automatically and then send as an attachment in workflow?</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 face="Arial">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.</font>
<br><font size=2 face="Arial">2. Same is the issue If I use background
step for creating SOFM document so that it can be used as an attachment.</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 face="Arial">Can any body please suggest what approach
can be taken so that from webdynpro , attachment can be created and passed
to workflow seamlessly?</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 face="Arial">Any inputs are appreciated.</font>
<br><font size=2 face="Arial">Thanks in advance.</font>
<br><font size=3>&nbsp;</font>
<br><font size=2 face="Arial">Regards</font>
<br><font size=2 face="Arial">Akshay Bhagwat</font>
<p><font size=3>&nbsp;</font>
<p><font size=2 color=#008000 face="Palatino Linotype"><b>Please do not
print this email unless it is absolutely necessary. </b></font>
<p><font size=3>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. </font>
<p><font size=3>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. </font>
<p><font size=3>www.wipro.com </font>
<p><font size=2 color=#008000 face="Palatino Linotype"><b>Please do not
print this email unless it is absolutely necessary. </b></font>
<p><font size=3>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. </font>
<p><font size=3>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. </font>
<p><font size=3>www.wipro.com </font>
<p><font size=2 color=#008000 face="Palatino Linotype"><b>Please do not
print this email unless it is absolutely necessary. </b></font>
<p><font size=3>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. </font>
<p><font size=3>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. </font>
<p><font size=3>www.wipro.com </font><font size=2 face="Arial">_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
</font>
<p>