cancel
Showing results for 
Search instead for 
Did you mean: 

Reading the attachments in Fiori

Reejapanath
Explorer
0 Kudos

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


Accepted Solutions (0)

Answers (5)

Answers (5)

Reejapanath
Explorer
0 Kudos

Thank you All

AshwinDutt
Active Contributor
0 Kudos

vijaybhaskarraju_vegesana
Active Participant
0 Kudos

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

AshwinDutt
Active Contributor
0 Kudos

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

AshwinDutt
Active Contributor
0 Kudos

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.