<div dir="ltr"><div>hello &nbsp;Lalitha,</div><div><br></div><div>if it can be added to the business object as an attachment . &nbsp;is an attachment &nbsp;if you have the data of the files &nbsp; i would check the blogs about sap wapi add attachment you would have the parent wi</div>
<div>-id where you want to add it. also &nbsp;in one of our workflows &nbsp;we made it &nbsp;mandatory to add it to the bor using gos menu and only displayed it reading the reference.bapi-rel-get&nbsp;</div><div>Rina</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Apr 7, 2014 at 9:51 PM, Lalitha Sankaran <span dir="ltr">&lt;<a href="mailto:lalisan@gmail.com" target="_blank">lalisan@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div>Hi,<br><br>The image can be a PDF or&nbsp; a TIF file, and Attachment is of SOFM object type, So this binding is not allowed.<br><br></div>Could this be becoz of the task type, We have this working fine in another WF, but the approval task in that is a user decision<br>

</div>task, but the approval task in this WF is an activity task. So maybe the attachment is treated differently ?<br><br></div>Thank you<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">Lalitha<br>
</font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Apr 4, 2014 at 9:39 PM, Sudhir Pargaonkar <span dir="ltr">&lt;<a href="mailto:pargov@gmail.com" target="_blank">pargov@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<p dir="ltr">How did you create SOFM of pdf attachment stored in filenet? </p><div><div>
<div class="gmail_quote">On Apr 4, 2014 8:21 PM, &quot;Prakashreddy Sabbu&quot; &lt;<a href="mailto:prakashreddy.sabbu@mytecsoft.com" target="_blank">prakashreddy.sabbu@mytecsoft.com</a>&gt; wrote:<br type="attribution">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="auto">
<div>Hi Lalitha,</div>
<div>Couple of years back I got this working by creating SOFM object for attachment and mapped to container element Attach_object and it worked. Hope this will give you some light.<br>
<br>
<span style="background-color:rgba(255,255,255,0)">Sent from my iPhone</span></div>
<div><br>
On 05-Apr-2014, at 3:29 AM, &quot;Lalitha Sankaran&quot; &lt;<a href="mailto:lalisan@gmail.com" target="_blank">lalisan@gmail.com</a>&gt; wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">
<div>Hi Michael,</div>
<div><br>
</div>
<div>I did try to instantiate the IMAGE object using a BG task. And I see the IMAGE in the container.</div>
<div>But have not tried the Adhoc objects, will give that a try.</div>
<div><br>
</div>
<div>Attaching a screenshot of the WF log.</div>
<div><br>
</div>
<div>Thank you</div>
<div>Lalitha</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Fri, Apr 4, 2014 at 2:50 PM, <span dir="ltr">&lt;<a href="mailto:michael.mcley@daimler.com" target="_blank">michael.mcley@daimler.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">Lalitha,</span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">&nbsp;</span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">Here is something I got from the WUG a few years ago on this topic.&nbsp; Maybe it will help you.&nbsp; I can&rsquo;t remember who it was, maybe Florian?</span></p>



<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">&nbsp;</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">Note from WUG on GOS attachments</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">yes and no, as it is depending on what you address to be a &quot;GOS object&quot;,</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">but most of the times, they are, indeed, related to a BOR business object.</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">&nbsp;</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">In the case of a scanned invoice image, it&#39;s not the SOFM type, but IMAGE</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">what you need to look for.</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">&nbsp;</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">Whenever you&#39;re able to retrieve an instance of such a business object</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">(BOR or ABAP-OO-Workflow) you can add this to the predefined workflow</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">container element _ADHOC_OBJECTS. In this case, all such object will</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">appear as links on the work item display.</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">&nbsp;</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">In order to get something more &quot;running&quot;, such as performing the</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">.Display() action of the IMAGE, you&#39;ll also need to assign it to a single</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">workflow container element, e.g. &quot;Image&quot; and maintain the &quot;Methods&quot;</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">section of the particular workflow step and choose under &quot;Before methods&quot;:</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">Image.Display() and the scanned invoice will show up, every time a user</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">clicks on the work item.</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">&nbsp;</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">So the real question is: How do you find out, which objects are assigned</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">or visible via GOS, and the second one is, how to get an instance of that.</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">And the answer is, that it depends on the object type again :-) , what</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">wonder, as the relationship is provided by the GOS-object itself and it</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">may be stored at any place in the database.</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">&nbsp;</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">In the case of Attachments, they are stored either in the</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">SAP-Office-Folders or in the linkage tables of SAP ArchiveLink. For the</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">latter one you may use ARCHIV_GET_CONNECTIONS with your existing targeted</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">object that you hold in your workflow. The result must then be put into</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">any kind of instantiation process for the object type IMAGE. This could be</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">one of the wizard&#39;s step of generic instantiation, or, as you need to make</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">at least one custom background step anyways, you can perform both action</span></p>
<p style="margin:0in 0in 0pt"><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">in that one step, returning the leading IMAGE instance.</span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">&nbsp;</span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">&nbsp;</span></p>
<p class="MsoNormal"><b><span style="color:olive;font-family:&quot;Arial Black&quot;,&quot;sans-serif&quot;;font-size:13.5pt">Michael McLey</span></b><b><span style="color:olive;font-family:&quot;Arial Black&quot;,&quot;sans-serif&quot;;font-size:11pt">&nbsp;</span></b><span style="color:olive;font-family:&quot;Arial Black&quot;,&quot;sans-serif&quot;;font-size:11pt"><br>



MBUSI - IT Parts &amp; Administration </span><span style="color:olive;font-family:&quot;Arial Black&quot;,&quot;sans-serif&quot;;font-size:10pt"><br>
Mercedes-Benz US International, Inc.</span><span style="color:olive;font-family:&quot;Arial Black&quot;,&quot;sans-serif&quot;;font-size:11pt">&nbsp;</span><span style="color:olive;font-family:&quot;Arial Black&quot;,&quot;sans-serif&quot;;font-size:10pt"><br>



1 Mercedes Drive</span><span style="color:olive;font-family:&quot;Arial Black&quot;,&quot;sans-serif&quot;;font-size:11pt">&nbsp;</span><span style="color:olive;font-family:&quot;Arial Black&quot;,&quot;sans-serif&quot;;font-size:10pt"><br>



Vance, AL 35490</span><span style="color:olive;font-family:&quot;Arial Black&quot;,&quot;sans-serif&quot;;font-size:11pt">&nbsp;</span><span style="color:olive;font-family:&quot;Arial Black&quot;,&quot;sans-serif&quot;;font-size:10pt"><br>



PHONE: &nbsp;<a href="tel:%28205%29%20462%20-%205239" value="+12054625239" target="_blank">(205) 462 - 5239</a></span><span style="color:olive;font-family:&quot;Arial Black&quot;,&quot;sans-serif&quot;;font-size:11pt">&nbsp;</span><span style="color:olive;font-family:&quot;Arial Black&quot;,&quot;sans-serif&quot;;font-size:10pt"><br>



EMAIL: &nbsp; </span><span style="color:rgb(31,73,125);font-family:&quot;Arial Black&quot;,&quot;sans-serif&quot;;font-size:11pt"><a href="mailto:michael.mcley@daimler.com" target="_blank"><span style="color:blue;font-size:10pt">michael.mcley@daimler.com</span></a></span><span style="color:olive;font-family:&quot;Arial Black&quot;,&quot;sans-serif&quot;;font-size:11pt">&nbsp;
 &nbsp;</span><span style="color:rgb(31,73,125);font-family:&quot;Arial Black&quot;,&quot;sans-serif&quot;;font-size:11pt"><br>
<br>
</span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">&nbsp;</span></p>
<p class="MsoNormal"><b><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;font-size:10pt">From:</span></b><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;font-size:10pt">
<a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a> [mailto:<a href="mailto:sap-wug-bounces@mit.edu" target="_blank">sap-wug-bounces@mit.edu</a>]
<b>On Behalf Of </b>Lalitha Sankaran<br>
<b>Sent:</b> Friday, April 04, 2014 1:30 PM<br>
<b>To:</b> SAP Workflow Users&#39; Group<br>
<b>Subject:</b> Display Image as a attachment in Approval Workitem - FIORI</span></p>
<div>
<div>
<p class="MsoNormal">&nbsp;</p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">&nbsp;</p>
</div>
<p class="MsoNormal" style="margin-bottom:12pt">Hi All,</p>
</div>
<p class="MsoNormal">I am trying to modify one of our existing Workitem to display the scanned image of the document as an attachment. The WF is for an invoice, The business object is FIPP.</p>
</div>
<p class="MsoNormal" style="margin-bottom:12pt">The approval task is a an activity task, and not a user decision task. Since we have a custom Approval screen, with the Approve, Reject and Cancel options.</p>
</div>
<p class="MsoNormal" style="margin-bottom:12pt">I have created a container element FI_IMage of type BOR IMAGE, in the Workflow and the Approval task. I do see that it is instantiated, but it is not displayed as an attachment. Am not sure what step I am missing.
 Can you please let me know if I am going about it the wrong way.</p>
</div>
<p class="MsoNormal" style="margin-bottom:12pt">I do see the image as a Process object. We are trying to integrate this custom WF with Fiori, The approval part is working, but to be able to view the scanned images, it needs to be an attachment in the workitem.
 Tested this out by manually uploading an image to the workitem and we are able to view it from Fiori.</p>
</div>
<div>
<p class="MsoNormal">Attaching 2 images, the &quot;Attachment&quot; is what we want it to be under,
</p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt">the second one is what is currently happening, it is displayed under &quot;Process objects&quot;</p>
</div>
<p class="MsoNormal">Appreciate your input.</p>
</div>
<p class="MsoNormal">&nbsp;</p>
</div>
<p class="MsoNormal">Thank you<br>
Lalitha</p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt"><br>
<br>
<br>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td><font color="#808080" face="sans-serif, Arial, Helvetica" size="-1"><br>
If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support.<br>
<br>
</font></td>
</tr>
</tbody>
</table>
</div>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu" target="_blank">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div>&lt;Image Instance.JPG&gt;</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>SAP-WUG mailing list</span><br>
<span><a href="mailto:SAP-WUG@mit.edu" target="_blank">SAP-WUG@mit.edu</a></span><br>
<span><a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a></span><br>
</div>
</blockquote>
</div>

<br>_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu" target="_blank">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br></blockquote></div>
</div></div><br>_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu" target="_blank">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br></blockquote></div><br></div>