Q
Problem solve Get help with specific problems with your technologies, process and projects.

Retrieving content from an SAP workflow attachment

An SAP user wants to know how to retrieve the content of an SAP workflow attatchment.

I am able to retrieve attachments from a workflow through Function Module SAP_WAPI_GET_ATTACHMENTS, but it's only returning the file name and Object ID. How do you retrieve the content of the attached file?
To read the contents of an SAP Office Mail object (SOFM), you can use Function Module SO_OBJECT_READ, or if it is an attachment to an SAP Office Mail object, you can use SO_ATTACHMENT_READ_API1.
This was last published in March 2009

Dig Deeper on SAP workflow development

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Join the conversation

1 comment

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

How can you read the attachments for an archived workitem? When I look at the archived workitem thru SARI and expand the record I see SOLI_WI. When I expand it I see the contents of the 2 attachments (RAW and EXT). Unfortunately, these are unreadable characters. What funtion module can I use to read the attachment contents of an archived workitem. If it's NOT archived then there are a number of function modules.
Cancel

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close