cancel
Showing results for 
Search instead for 
Did you mean: 

PDF's using HTTP

Former Member
0 Kudos

Hi,

I couldn't find this using the search, so here's the question:

Can I send pdf-files using HTTP receiver?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Can you elaborate your scenario please is it,

PDF--> SAP XI -->Http (Receiver)

Or data comes by http then moves to sap xi and you generate a pdf.

Regards,

Anirban.

Former Member
0 Kudos

Hi,

The scenario is FTP->XI->HTTP and the payload is always a PDF-document.

Answers (2)

Answers (2)

Former Member
0 Kudos

this information can help u in sending a pdf with an ftp sender.

To add additional file contents, you must make the following specifications:

¡ XI.AdditionalPayloads=file.addaDOC.namePart=”.txt”=”.doc”

The files x1.pdf and x1.doc were also searched for in the same directory as the file x1.txt. The contents of these three files are included in a message to the Integration Engine. Likewise, the files x2.pdf and x2.doc are searched for and processed like file x2.txt.

Former Member
0 Kudos

Hi,

Thanks for the answers! Bhavesh answer was helpful, I have to check those through.

We have fully working FTP->XI->FTP solution which sends PDF's nicely, but now we need to change receiver to HTTP-adater.

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Tapio,

If you want your file adeapter to read contents from a PDF file, check out the folloing blog,

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

If you want your file adapter to generate its output into a PDF file, then check the following blog,

/people/sap.user72/blog/2005/07/27/xi-generate-pdf-file-out-of-file-adapter

Sriram's blog on FILE to HTTP scenario might of be help to you too. It also deals with Syn / Async Bridge which can be ignored.

/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi

These help links deal with HTTP adapter configuration,

http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm

Hope this helps,

Regards,

Bhavesh