Skip to Content

Reading the attachments in Fiori

Hi All,

Need a help in reading the attachments . I am using the method /IWPGW/IF_TGW_TASK_FACADE~READ_TASK_ATTACHMNET_STREAM  method .

What data need to be populated in the filed ES_ATTACHMENT_STREAM-VALUE  filed.

I have the url document which having the document ..Please help.

Thank you

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Oct 15, 2014 at 01:17 PM

    Ur media content will be stored in a raw string format in backend. So u need to send those stream of data to GW with appropriate mime type. Only then GW can download ur content correctly. If u can search in forum u will get so many examples blogs which will explain ol necessary details and steps. Please search and with that u can accomplish ur scenario.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 15, 2014 at 01:19 PM

    search as read media content or download media content in forum. U will get ol details.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 15, 2014 at 01:27 PM

    Hi,

    While uploading any document through gateway, It converts into an Xstring format, so when downloading the same, it contains Xstring value here, ES_ATTACHMENT_STREAM-VALUE and mimetype should be based on your document(PDF,Image etc..)

    Regards,

    Vijay V

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 15, 2014 at 04:12 PM
    Add comment
    10|10000 characters needed characters exceeded

  • Oct 17, 2014 at 12:18 PM

    Thank you All

    Add comment
    10|10000 characters needed characters exceeded