Hi Gurus,
I have searched in the forum and unable to find the required solution for my scenario.
User will attach a document from EP side and this document has to be attached to the workflow definition. We have an RFC which will be called from EP side to start the workflow (using FM SAP_WAPI_START_WORKFLOW).
In generally this attachment is a scanned copy that presents on the PC presentation server. I tried using the FM SAP_WAPI_ATTACHMENT_ADD to attach that document. but it requires work item id. and also I am not getting how to pass the attachment data to att_txt/att_bin parameters. If possible please give me some code how can we convert the scanned copy document into the data of type att_txt/att_bin.
Please kindly let me know how can i bind this document to workflow definition. so that the remaining tasks in my workflow can use this attachment.
Thanks,
V.Nagaraju.