Attachment Links for Trip Expense Workflow

Dale Brown dale.brown at duke.edu
Wed Jun 29 16:20:32 EDT 2011


I'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'm after.  Our users will be running workflow for BUS2089 (Employee Trip).  They have handled doing the XML code for this.  I am responsible for doing the workflow.  Right now when the user creates a trip they will add attachments to the trip and then save and send to kickoff workflow.  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.  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.  I'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.  I have been able to get the instid_ A and instid_B  information for these attachments using cl_binary_relation=>read_links_of_objects, but that's about all I have found thus far.  I've used other functions modules on prior workflows before such as 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.  I feel like I'm all around what needs to be done, but can't seem to find the correct starting point.  I've tried to bind info into the _Attach_Objects, but still can't get that right combination to get a link.   Any advice ?  Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20110629/6346cfdc/attachment.htm


More information about the SAP-WUG mailing list