cancel
Showing results for 
Search instead for 
Did you mean: 

File Adapter

Former Member
0 Kudos

Dear all,

In our landscape, we have SAP R3, SAP XI and File system repositoy system. My question here is How the SAP XI can pick file from file system repositoy and get posted in SAP R3 ( for creating Purchase orders). I think we can use File adapter for this requirement, Correct me if im wrong.

Please let me know how do i do mappings in XI for this above requirement..request you to all suggest me with steps to do..

as im a business user here..

thanks a lot for your help.

Pradeep

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answers (4)

Answers (4)

Former Member
0 Kudos

Dear Senders,

Im really exited and greatful to your swift replies about my question. it shows the people can still alive with their doubts and clarifications. Really all SDN members should appreciate this. Thanks a lot. Thanks a lot for your time. I really wanted to give very help ful answer to everyone..i suppose it will take 2 normally, pl dont mistake me that i have i assigned 2 points and 6 points to other, greatwork, keep up SDN alive.

FYI.... the file system will have the file format( XML format file).

thanks

Pradeep

Former Member
0 Kudos

Hello Pradeep,

If the file system produces files in the XML format, then it is not necessary to do any Content conversion in file adapter.

Thanks,

kiran.

Former Member
0 Kudos

Hi Pradeep,

Yes , you are right. You have to use sender file adapter and receiver IDoc adapter.

In integration repository, you can directly import the Idoc message structure from R/3

For file, either you can use already available xsd or dtd for your data structure otherwise you have to create data type manually along with message type and message interfaces.

In Integration directory, you have to specify the technical params like url port of your file server and R/3 server respectively.

Regards,

Piyush

Former Member
0 Kudos

Hi,

Basis guys will create the Connection between the File system and XI system in SM59 ,so ask ur basis guys, have done the setting.and ur is File to IDOC scenario.

U have to import the IDOC into XI system for receiver side structure.

for Source side structure u have to do depend on the requirement and incoming file structure.

check the links on File to IDoc scenario.

File-to-Idoc

/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping

File To IDOC - Part1 (SLD and Design)

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&

File To IDOC - Part2 (Configuration):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&

File To IDOC - Part3 (Steps required in XI and R3):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/fileToIDOC&

Troubleshooting File-to-IDOC Scenario in XI

/people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/main&;

/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters

Regards,

Phani

Reward Points if Helpful

Former Member
0 Kudos

Hi

You can use the following steps

File To IDOC Scenario

Get the Vendor Master Data from file and create a Vendor in R/3 System

Perquisites: Try creating a vendor in R/3 using transaction XK01 and get list of mandatory fields to have the source file structure. Here I am using XI server as File System and IDES as R/3 System. The IDOC type used is CREMAS04

SLD

Create a Product and software Component for File System.

Create a Third Party Technical and Business System for File System.

Create a Web AS ABAP Technical System and Business System for SAP R/3 System

Integration Repository - Design:

Import the Software Component from SLD

Create the Namespace for file to IDOC scenario

Import the IDOC CREMAS04 from the relevant R/3 System

Create the data type for the file structure, it may vary based on your input structure

Create the Outbound Asynchronous Message Interface

Create the Message mapping

Create the Interface Mapping

prateek
Active Contributor
0 Kudos

Yes u have to use File adapter at sender side and Idoc/ RFC/ Abap proxy at the receiver side. As u have mentioned Purchase Order, it is better to use Idoc (if scenario is async)

Mapping is based on requirement. If the file format is similar to tht of idoc format with fields with same name, then no mapping is required. Otherwise u have to perform mapping if any business rules have to be added (e.g. adding two numbers or concat some string)

Regards,

Prateek