cancel
Showing results for 
Search instead for 
Did you mean: 

pdf file via http call

Former Member
0 Kudos

Hi experts,

How to send a pdf file via http call ?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Shweta,

so you want to push the PDF file over http to external system,

where is pdf file stored.

for examle if its in the clients desktop, you can use gui_upload to upload to internal tabble (type BIN) then use FM SCMS_BINARY_TO_XSTRING to conver the binary table to type string.

then use cl_http_client class to push the file to the destination.

Hope this may help you.

All The Best!

Answers (2)

Answers (2)

Former Member
0 Kudos

are u sending as an attachment

Former Member
0 Kudos

Hi Shweta,

You can send pdf's via the file adapter. Please go throught the links below.

Read data from PDF file in Sender Adapter

/people/sap.user72/blog/2005/07/31/xi-read-data-from-pdf-file-in-sender-adapter

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4383---With [original link is broken] [original link is broken] [original link is broken] this one you can transfer any binary data thru XI, images, spreadsheets, video, raw, etc.

http://help.sap.com/saphelp_nw70/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/frameset.htm

Regards,

Merrilly