<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)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:0cm;
        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;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.l0s701
        {mso-style-name:l0s701;
        font-family:"Courier New";
        color:gray;
        background:white;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></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-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>The attachments link from the portal/UWL is actually a BOR object / Class link.&nbsp; By default it will start an ITS service and use the default method for your BOR object / Class.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>So, if you want to see the attachments for a trip you could try having these as an explicitly bound object in your task and seeing if they appear in the Attachment list.&nbsp; You could also try creating a new default method on BUS2089 to display the attached documents and see how this looks.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>If this doesn&#8217;t work you may need to use SWFVISU to create an alternative object visualisation and do some development work to retrieve the document in an acceptable manner.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Good luck! Let us know if you find a simple approach.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Mark<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 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US 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>Dale Brown<br><b>Sent:</b> 29 June 2011 21:21<br><b>To:</b> sap-wug@mit.edu<br><b>Subject:</b> Attachment Links for Trip Expense Workflow<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span lang=EN-US>I&#8217;ve been looking at prior posts on this subject but I still can not seem to come to a point where I can get the results I&#8217;m after.&nbsp; Our users will be running workflow for BUS2089 (Employee Trip).&nbsp; They have handled doing the XML code for this.&nbsp; I am responsible for doing the workflow.&nbsp; Right now when the user creates a trip they will add attachments to the trip and then save and send to kickoff workflow.&nbsp; When it gets to the approval step, there is an Employee Trip link that will take them to the ECC side where they can see the attachments using Generic Services.&nbsp; The financial analyst does not think it is appropriate for the users to be able to go to ECC to see these attachments and would like to have them viewable in portal instead.&nbsp; I&#8217;ve seen where some posts have talked about using function modules referring to SAP_WAPI_GET_ATTACHMENTS, SAP_WAPI_ATTACHMENT_ADD, SCMS_BINARY_TO_XSTRING, etc.. but I am not sure of some of the inputs to these function modules.&nbsp; I have been able to get the instid_ A and instid_B&nbsp; information for these attachments using <span style='color:black;background:white'>cl_binary_relation</span><span class=l0s701><span style='font-family:"Calibri","sans-serif"'>=&gt;</span></span><span style='color:black;background:white'>read_links_of_objects</span>, but that&#8217;s about all I have found thus far.&nbsp; I&#8217;ve used other functions modules on prior workflows before such as <span style='color:black;background:white'>BINARY_RELATION_CREATE, ARCHIV_CONNECTION_INSERT, etc.. but do not for sure how they all relate and do not know if needed for this request of the user. &nbsp;I feel like I&#8217;m all around what needs to be done, but can&#8217;t seem to find the correct starting point.&nbsp; I&#8217;ve tried to bind info into the _<i>Attach</i>_Objects, but still can&#8217;t get that right combination to get a link.&nbsp;&nbsp; Any advice ?&nbsp; Thanks.</span><o:p></o:p></span></p></div></body></html>