Retrieving content from an SAP workflow attachment

Retrieving content from an SAP workflow attachment

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?

    Requires Free Membership to View

    When you register, you will start receiving targeted emails from my award-winning team of editorial writers. Our goal is to keep you informed on the hottest topics and biggest challenges faced by SAP professionals today.

    Hannah Smalltree, Editorial Director

    By submitting your registration information to SearchSAP.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSAP.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

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 first published in March 2009