cancel
Showing results for 
Search instead for 
Did you mean: 

Doubt in file to file scenario

Former Member
0 Kudos

Hi,

I have one doubt in file to file scenario. suppose there are two systems 'A' and 'B' now system 'A' wants to send a file to system 'B'. The file is a text file at system 'A' with records. And i want to send this text file to system 'B' as a text file. How can i do this, can anybody explain me how to do this scenario. While practising i am creating a structure at system 'A' with some 3 fields name, street, city and i am testing the file in IR by giving some values to the fields name, street, city and i am taking source code from IR and i am pasting in one notepad and saving it as .xml file but i don't want to do this. Already i have Text file at system 'A' with some 5 records and i want to send this text file to system 'B'. Kindly help me.

Thanks in advance.

Regards,

Prem.S

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

this blog will show you how to achive this in step by step form:

/people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Answers (4)

Answers (4)

Former Member
0 Kudos

Steps in integration repository

1) Create one data type (one structure you can use both the sides)

2) Create Message type

3) Message Interface

4) Message Mapping

4) Interface Mapping

Steps in Integration Directory

1) Creating inbound and outbound & outbound messages

2) Sender Agreement

3) Receiver Determination

4) Interface Determination

5) Receiver Agreement

prateek
Active Contributor
0 Kudos

For simply moving the files

/people/alessandro.guarneri/blog/2007/02/21/sap-xi-acting-as-a-huge-file-mover

If u want to skip the steps of IR (no mapping)

/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository

If u want to edit the structure from sender to receiver, u have to use File Content Conversion

/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns

Regards,

Prateek

Former Member
0 Kudos

Hi,

Can any body explain what are steps which i need to follow in IR and ID.

Let's say my source is in the following structure.

01,TYPE,DATE,30032006

02,SHABZ,T-SYS,XITEAM

02,ANISH,T-SYS,XITEAM

02,ALBY,T-SYS,ABAPTEAM

02,RATHEESH,T-SYS,ABAPTEAM

Already i have above source file in my system now i want to transfer this file to some other system. Kindly clarify my below doubts

1) In IR Do i need to create data types for both source and destination or what.

2) In IR Do i need to create message types for both source and destination or what

3) In IR Do i need to create message interfaces for both source and

destination or what.

4) In IR Do i need to do Message mapping or not required.

5) In IR Do i need to do Interface mapping or not required.

6) What are the exact steps to be followed in ID.

Kindly answer to my all points briefly.

Thanks in advance.

Regards,

Prem.S

Former Member
0 Kudos

Hi,

If it is simple file to file (without any content conversion) you need to do the following:

IR:

1) Data Type for Source & Targer (if you want to use the same data structure, create only one and use the same for Messge type Source & Target)

2) Message Type

3) Message Interface (Inbound & Outbound)

4) Message Mapping

5) Interface Mapping

ID:

1)Receiver Determination

2)Interface Determinaton

3)Sender Agreement

4)Receiver AGreement

5) Sender & Receiver Communication Channels

Regards

Former Member
0 Kudos

Hi,

After completing the following steps:

:

1) Data Type for Source & Targer (if you want to use the same data structure, create only one and use the same for Messge type Source & Target)

2) Message Type

3) Message Interface (Inbound & Outbound)

4) Message Mapping

5) Interface Mapping

ID:

1)Receiver Determination

2)Interface Determinaton

3)Sender Agreement

4)Receiver AGreement

5) Sender & Receiver Communication Channels

In communication chhanel u have to use File content conversion if the file is not ".xml".

U have to use this content conversion in both sender and reciever communication channel.

for file content conversion go through the blog...

Sender: /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file

for reciver: /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

Regards

Hemant

Give points if find useful

Former Member
0 Kudos

Hi both sides in communication channels(i.e. sender side/receiver side) you have to use <b>File Content conversion</b>

Protocl, By specifying <b>content conversion parameters</b>,

Former Member
0 Kudos

Hi Prem,

You can even refer to Below Blog also which explains File to File Scenario.

/people/srinivas.vanamala2/blog/2007/02/05/step-by-step-guide-xml-file-2-xml-file-scenario-part-i

Thanks