<div dir="ltr">Hi All,<br>&nbsp; Its working now. I was just seeing the structure output from the FM where the link&nbsp; was not properly formulated. Thanks Florin and Sudhir.<br><br><div class="gmail_quote">On Fri, Aug 15, 2008 at 11:08 AM, Ibrahim Khan <span dir="ltr">&lt;<a href="mailto:ikhansap@gmail.com">ikhansap@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hi Sudhir,<br>&nbsp; Thanks. I got the following output using the function module you said, but i dont know how to formulate the exact link to that object using this URL field. Pls let me know the same.<br>
<br>SAP_OBJECT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BUS2104<br>
OBJECT_ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 000000010327<br>ARCHIV_ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Z1<br>ARC_DOC_ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 76ADA248DBDE881CE100000048250C94<br>AR_OBJECT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ZIMOPDF<br>AR_DATE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 08/13/2008<br>

DEL_DATE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&nbsp; /<br>URI&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b><a href="http://omhq10d5:48020/acsap/dispatcher?get&amp;pVersion=0046&amp;contRep=Z1&amp;do" target="_blank">http://omhq10d5:48020/acsap/dispatcher?get&amp;pVersion=0046&amp;contRep=Z1&amp;do</a></b><br>

MIMETYPE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; application/pdf<br><br>Regards,<br>Ibrahim Khan<br><br><div class="gmail_quote">2008/8/15 Sudhir Pargaonkar <span dir="ltr">&lt;<a href="mailto:pargov@gmail.com" target="_blank">pargov@gmail.com</a>&gt;</span><div>
<div></div><div class="Wj3C7c"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Use Function Module &quot;ARCHIVOBJECT_GET_URI&quot;...<br><br>sudhir<br><br>

<div class="gmail_quote">2008/8/14 Ibrahim Khan <span dir="ltr">&lt;<a href="mailto:ikhansap@gmail.com" target="_blank">ikhansap@gmail.com</a>&gt;</span><div><div></div><div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hi Florin,<br>&nbsp; Thanks for your idea. Can you Please let me know from where can we get this http link,<br>


Is there any table using which we can formulate the http link using the archive id. Please reply.<br>
<br>Regards,<br>Ikhan<br><br><div class="gmail_quote">On Thu, Aug 14, 2008 at 9:16 PM, Florin Wach <span dir="ltr">&lt;<a href="mailto:florin.wach@gmx.net" target="_blank">florin.wach@gmx.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



He Ikhan,<br>
<br>
I once have programmed a custom send-mail-step that reads the archiveLink-object via the ArchiveLink API and creates a full mail attachment from that.<br>
Later on I have changed this to an attachment of type .URL having the http-Link of the contentServer to avoid too much traffic/storage.<br>
<br>
Mayhaps you could create a virtual attribute that resolve as a http-link to the archiveLink object and put this in the workitem&#39;s long text, so the recipient may click on it?!<br>
<br>
Best wishes,<br>
Florin<br>
<br>
<br>
-------- Original-Nachricht --------<br>
&gt; Datum: Thu, 14 Aug 2008 20:42:40 +0800<br>
&gt; Von: &quot;Ibrahim Khan&quot; &lt;<a href="mailto:ikhansap@gmail.com" target="_blank">ikhansap@gmail.com</a>&gt;<br>
&gt; An: &quot;SAP Workflow Users\&#39; Group&quot; &lt;<a href="mailto:sap-wug@mit.edu" target="_blank">sap-wug@mit.edu</a>&gt;<br>
&gt; Betreff: Re: How to attach a document stored in Archive link in a notification<br>
<div><div></div><div><br>
&gt; Hi Akshay,<br>
&gt; &nbsp; Thanks for your reply. It can be done if it is a work item, but<br>
&gt; notification attachment can be of only type SOFM right, in this case how<br>
&gt; to<br>
&gt; do. Please advice.<br>
&gt;<br>
&gt; Regards,<br>
&gt; IKhan<br>
&gt;<br>
&gt; 2008/8/14 &lt;<a href="mailto:akshay.bhagwat@wipro.com" target="_blank">akshay.bhagwat@wipro.com</a>&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; I can think of an option like, &nbsp;instead of attachment if you can use the<br>
&gt; &gt; archived image as object in this notification and use object link of<br>
&gt; this<br>
&gt; &gt; object in notification ( which gets displayed in &nbsp;work item preview), to<br>
&gt; &gt; refer the stored PDF image??<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Thanks and Regards,<br>
&gt; &gt;<br>
&gt; &gt; Akshay Bhagwat<br>
&gt; &gt;<br>
&gt; &gt; SAP Practice<br>
&gt; &gt;<br>
&gt; &gt; *Wipro Technologies*<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &nbsp;------------------------------<br>
&gt; &gt; *From:* <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>] *On<br>
&gt; &gt; Behalf Of *Ibrahim Khan<br>
&gt; &gt; *Sent:* Thursday, August 14, 2008 1:38 PM<br>
&gt; &gt; *To:* SAP Workflow Users&#39; Group<br>
&gt; &gt; *Subject:* How to attach a document stored in Archive link in a<br>
&gt; &gt; notification<br>
&gt; &gt;<br>
&gt; &gt; &nbsp;Hi Friends,<br>
&gt; &gt; &nbsp;Is it possible to get the PDF file stored in Archive link and make it<br>
&gt; as<br>
&gt; &gt; an attachment in a notification. I think we need to get this PDF<br>
&gt; attachment<br>
&gt; &gt; and convert it into SOFM instance, then only we can make it as an<br>
&gt; attachment<br>
&gt; &gt; in notification &nbsp;becoz notification can accept only SOFM instance right?<br>
&gt; &gt; Please let me know how to do this or is there any other simple way to<br>
&gt; &gt; convert this attachment to SOFM instance.<br>
&gt; &gt;<br>
&gt; &gt; * Please do not print this email unless it is absolutely necessary. *<br>
&gt; &gt;<br>
&gt; &gt; The information contained in this electronic message and any attachments<br>
&gt; to<br>
&gt; &gt; this message are intended for the exclusive use of the addressee(s) and<br>
&gt; may<br>
&gt; &gt; contain proprietary, confidential or privileged information. If you are<br>
&gt; not<br>
&gt; &gt; the intended recipient, you should not disseminate, distribute or copy<br>
&gt; this<br>
&gt; &gt; e-mail. Please notify the sender immediately and destroy all copies of<br>
&gt; this<br>
&gt; &gt; message and any attachments.<br>
&gt; &gt;<br>
&gt; &gt; WARNING: Computer viruses can be transmitted via email. The recipient<br>
&gt; &gt; should check this email and any attachments for the presence of viruses.<br>
&gt; The<br>
&gt; &gt; company accepts no liability for any damage caused by any virus<br>
&gt; transmitted<br>
&gt; &gt; by this email.<br>
&gt; &gt;<br>
&gt; &gt; <a href="http://www.wipro.com" target="_blank">www.wipro.com</a><br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; SAP-WUG mailing list<br>
&gt; &gt; <a href="mailto:SAP-WUG@mit.edu" target="_blank">SAP-WUG@mit.edu</a><br>
&gt; &gt; <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
&gt; &gt;<br>
&gt; &gt;<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>
</div></div></blockquote></div><br></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></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></div>
</blockquote></div><br></div>