<html 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" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[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 Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</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 link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='color:#1F497D'>Hey Rick,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Finally I got successed
in this issue. The PDF is opening. The problem was with data type. Thank you
very much.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <b>On Behalf Of </b>Sample, Rick<br>
<b>Sent:</b> Monday, June 22, 2009 6:51 PM<br>
<b>To:</b> SAP Workflow Users' Group<br>
<b>Subject:</b> RE: PDF is not opening<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Hey Prakash,</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Making some progress I see. </span><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Sounds like it is finding the PDF just unable to open. I recall
this error,&nbsp;how it is saved rings a bell. </span><span style='font-size:
12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>You saving attachment as TXT or BINARY? </span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

<div>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>&nbsp;<o:p></o:p></span></p>

</div>

<p class=MsoNormal><b><span style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:black'>Rick Sample</span></b><span style='font-size:8.0pt;font-family:
"Arial","sans-serif";color:#3399CC'> </span><span style='font-size:8.0pt;
font-family:"Arial","sans-serif";color:black'>| </span><span style='font-size:
8.0pt;font-family:"Arial","sans-serif";color:#3399CC'>Office (314) 573-5822</span><span
style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'> | </span><span
style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#3399CC'>Mobile
(314) 952-2273</span><span style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:black'> | </span><span style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:#3399CC'><a href="mailto:rick.sample@graybar.com">rick.sample@graybar.com</a>
<br>
<a href="http://www.graybar.com/" target="_BLANK&#65535;&#65535;&#65535;&#65535;">www.graybar.com</a>
- <i>Graybar Works to Your Advantage</i> </span><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

<div>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>&nbsp;<o:p></o:p></span></p>

</div>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p>&nbsp;</o:p></span></p>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>

<hr size=2 width="100%" align=center>

</span></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <b>On Behalf Of </b>Prakashreddy Sabbu<br>
<b>Sent:</b> Friday, June 19, 2009 3:30 AM<br>
<b>To:</b> SAP Workflow Users' Group<br>
<b>Subject:</b> PDF is not opening</span><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

<p class=MsoNormal>Hi,<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
I have created a workflow where the user decision &nbsp;task will have a PDF
attachment. The work item is having attachment, but when I am trying to open it
the error is showing like &#8220;The file is damaged and could not be opened&#8221;. I have
&nbsp;checked the container, the values are coming fine but the attachment is
not opening.<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Here I have created my own object type where the method exports two parameters
&nbsp;1. <b>SWR_ATT_ID</b>&nbsp; &nbsp;2. <b>SWR_ATT_ID-DOC_ID. </b>&nbsp;I
have done this following a document, I am attaching the document too. Please
suggest.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Thanks &amp; 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 &nbsp; (Cell)<o:p></o:p></p>

<p class=MsoNormal>040- 40300700 &nbsp;(Fax)<o:p></o:p></p>

<p class=MsoNormal><span style='color:navy'><img border=0 width=177 height=55
id="Picture_x0020_1" src="cid:image001.jpg@01C9F36B.64850820"
alt="cid:image002.jpg@01C84970.63EADBC0"><o:p></o:p></span></p>

<p class=MsoNormal><b><span lang=EN-IN style='color:#00B050'><a
href="http://www.mytecsoft.com">www.mytecsoft.com</a><o:p></o:p></span></b></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>