cancel
Showing results for 
Search instead for 
Did you mean: 

Add Attachments for leave workflow

Former Member
0 Kudos

Hi Experts,

My requirement is to add attachments in leave workflow objects.

Our portal consultant has added an upload button on portal leave screen which would accept attachments and can be given to backend

though RFC as binary content.

Now at back end what could the possible storage possiblities be , the unique key would it be generated and what are the different or the most appropriate way to store the attachments so that they can be retrieved at any stage with the key. Should anything like GOS services be used or so..Any thoughts...

Accepted Solutions (0)

Answers (1)

Answers (1)

anjan_paul
Active Contributor
0 Kudos

HI,

   In portal background one Web Dynpro view is attached. For Upload button  action method you have to take the binary content of the attachment and pass it to workflow. In workflow task method you use sap_wapi_attachment_add to upload the content in work item.

Here is a example link w.

http://wiki.sdn.sap.com/wiki/display/Snippets/SAP+Workflow+Add+Attachment+to+Workflow+and+Generic+Ob...