cancel
Showing results for 
Search instead for 
Did you mean: 

File adapter

Former Member
0 Kudos

What type of files can we handle through file adapter? How can we configure those i.e other tahn xml and txt files.?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You could use verious types of files with file adapter. (CSV, DAT, PDF, EXCEL, Image files and many more)

The file contents can be sent to the Integration Server unaltered. If the data contains Comma Separated Values (CSV), then it can first be converted into a simple XML message. This XML message is then forwarded to the Integration Server.

Conversely, file content coming from the Integration Server or the PCK can be put unaltered into a file or converted from XML into CSV format.

Text files that are to be processed by the Integration Server or the PCK must be based on the UTF-8 code page. The file/FTP adapter can use every code page that is installed in the Java runtime environment for conversion purposes (for example, for converting foreign sets).

For FAQs about the file/FTP adapter, see SAP Note 821267.

Please go through below links for in-depth detials to use verious types of files

*1. pdf files *

SAP Network Blog: XI: Read data from PDF file in Sender Adapter

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

SAP Network Blog: XI: Generate PDF file out of file adapter

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

2. excel files

SAP Network Blog: XI: Generating Excel files without the Java nor the Conversion agent not possible?

/people/michal.krawczyk2/blog/2005/12/10/xi-generating-excel-files-without-the-java-nor-the-conversion-agent-not-possible

SAP Network Blog: Read Excel instead of XML through FileAdapter

/people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter

3. Image files

Sending an Image File Through Exchange Infrastructure in a File-to-Mail Scenario

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c...

4. CSV files

How to process CSV data with XI file adapter

/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter

How to Use the Content Conversion Module with the Exchange Infrastructure 3.0 J2EE JMS Adapter (NW2004)

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12...

Thanks

Swarup

justin_santhanam
Active Contributor
0 Kudos

Karthikeya,

What sort of files do u want to get. If you want to get CSV files then u need to use Content Conversion. Or for example if you want to transfer image,pdf,etc.. files from one folder to another then u can use normal file adapter with Binary mode. If you want to read Excel files and convert to XML then u need to use Modules.

raj.