Skip to Content
author's profile photo Former Member
Former Member

How to download the attachment text to local file.

Hi Xperts,

My requirement is at the time of workitem execution, Approver can write the attachment with the reason for Rejection.

Now, I need to down load that attachment content to local file and then that content needs to be updated in the PO Header changes.

I can able to get the attachment files' title, size and everything from the DB Table SOOD. But there is no Attachment's content is getting updated in that table.

Will you pls let me know how to download the content of the attachment to a local file from the sap.

ThanX in ADvance.

Krish.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 01, 2009 at 05:58 AM

    I think you can use Function Module

    SAP_WAPI_GET_ATTACHMENTS To retrieve the attachment

    SO_FOLDER_ROOT_ID_GET to retrive the file extension.

    Thaqnks

    Arghadip

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.