• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

riyaz.net

Tech Tips and Tutorials for SAP Professionals and Bloggers

  • Home
  • WordPress
  • Tips & Tricks
  • Internet
  • SAP
    • SAP PI
    • SAP ABAP
  • Personal Finance
  • Health & Fitness
  • Travel & Leisure
You are here: Home / SAP / XI/PI: File Adapter Configuration

XI/PI: File Adapter Configuration

February 18, 2008 by Riyaz

In this article series we will discuss the nitty gritties of the SAP XI File Adapter. First we will understand the File adapter in its most basic form. Then we will have a look at File content conversion with simple and complex file structures.

File Adapter converts incoming file into XML and vice versa. The adapter resides on the J2EE stack of the XI server. It can read/write files directly from/to the XI server at the OS level using File System protocol. It also works using FTP protocol, using which it can read/write files from/to any server location. Configuration of File Adapter is quite simple and straightforward.

File Sender Adapter

Select the Transport protocol as FTP or NFS and Message Protocol as File. Specify the Directory and filename from where the source file needs to be picked up. File type can be either text (or XML) or binary. In case of FTP protocol, you will need to provide FTP connection parameters as well.

The adapter supports all the three QoS namely BE (Best Effort), EO (Exactly Once) and EOIO (Exactly Once in Order). Specify QoS as per your scenario. Poll Interval indicates the time interval between two consecutive attempts by XI to read the files from source directory. Processing mode defines how the file should be handled once it is processed by the adapter engine. If you specify a queue name (in case of EOIO) it is automatically created in XI.

File Receiver Adapter

Select the Transport protocol as FTP or NFS and Message Protocol as File. Specify the Directory and filename where the target file is to be put. Target directory if it does not exist gets created automatically. Specify connection parameters in case of FTP protocol. You can specify the File Construction mode as per your choice. QoS possible here are EO and EOIO and is inherited from the Integration Server.

To see an example of file adapter using NFS protocol, go through this article about File to IDoc scenario.

In the next part we shall discuss setting up File Adapter for File Content Conversion with simple structure (CSV File) at sender and receiver end.

Filed Under: SAP Tagged With: SAP PI

About Riyaz

Riyaz Sayyad is the founder of Riz Labs. Learn more about him here.

Primary Sidebar

Popular Guides

  • Dropbox Tutorial
  • CDN Setup Guide
  • Blog Design Tips
  • Optimize RSS Feed
  • Create Twitter App
  • Short URLs
  • Password Protect Folders
  • Time Management
  • ALE IDocs Tutorial
  • SAP PI Starter Kit
  • SAP PI Tips
  • Ergonomics

Popular Topics

  • Home
  • WordPress
  • Tips & Tricks
  • Internet
  • SAP
    • SAP PI
    • SAP ABAP
  • Personal Finance
  • Health & Fitness
  • Travel & Leisure

About Riyaz

riyaz.net is a popular technology site with how-to guides, tips and tutorials on personal technology, blogging, social media, web apps, personal finance and SAP.

riyaz.net was launched way back in 2005 by web designer, blogger and SAP Consultant Riyaz Sayyad from Pune, India. Over the years the site has grown into a full featured online community with thousands of visitors daily from around the world. Read more.

Copyright © 2026 ยท riyaz.net