cancel
Showing results for 
Search instead for 
Did you mean: 

Add attachment to workflow

Former Member
0 Kudos

Hi all,

I am triggering a SAP workflow by calling calling an event through function module . I want to pass a PDF file to this event to further pass it to the workflow container. The purpose is that user wants to add a PDF file from computer and wants to see it in Workitem as a link.

Can u give me any idea.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

bpawanchand
Active Contributor
0 Kudos

Check this article on [attachments|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60ff6ad3-729b-2b10-6582-fedc82680a29]

Former Member
0 Kudos

Hi Pavan,

Thanks for the reply.

I had already read that attachment u suggested. In that attachment, the process of adding a script form to a workitem is shown. Anyway we can do the same for a PDF file. We can read any file from GUI_UPLOAD and convert it into binary format.

But problem is that the function module SAP_WAPI_ATTACHMENT_ADD does not exist or have become obsolete in SAP version 5.0...thats why this method can not used.

I am still doing research on this...as i get something, i will update sdn.

Ur inputs are always welcome and appriciated.'

Thanks