I have the attachment in my workflow work item. I can extract the attachment from workflow using Function Module (FM) "SAP_WAPI_GET_ATTACHMENTS". However, this is returning the attachment as "SOFM Object".
I am using the following FMs to create the archive and add a link to PREL Object with proper key:
How can I convert the SOFM Object either into a file or to a binary object format so that we can use the above FMs?
Dig deeper on SAP workflow development
Related Q&A from Alon Raskin
An SAP user has created a user decision step in an SAP workflow item and wants to know how an end user can send an attachment to other users.continue reading
Find out how to configure clients so that the same version of an SAP workflow item is used when the workflow is triggered in separate clients.continue reading
A SearchSAP.com reader wants to know how to hide the forward button in an SAP Business Workplace toolbar.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.