cancel
Showing results for 
Search instead for 
Did you mean: 

File->XI->IDOC (how to start?)

Former Member
0 Kudos

Hi,

i have an text file on the XI-system and want to generate an idoc an send it to an business system.

What are the neccessary steps? How to get the text file into XI? Which communication channel for which business system?

Thanks for your help!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hii Christian,

>>>How to get the text file into XI?

for this u need to configure a file adapter specifying the path from where the file is to be picked up.

to know abt IDOCs -

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

https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1814. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]

Hope these weblogs r helpful..

best wishes,

Divya

Answers (3)

Answers (3)

former_member187339
Active Contributor
0 Kudos

Hi

<b>STEPS IN DESIGN</b>

1. Import idoc from the SAP System (SAP02) through imported objects.

2. Create Data Type, Message Type, Message Interface for the Outbound File.

3. Create Message Mapping with file Message and idoc (Matmas04)

5.Create Interface mapping between File Interface and the idoc.

<u>

Steps to be followed in Creation of Technical and Business System </u>

<b>Technical System</b>

In SLD, click on technical landscape->New Technical System->WebAS ABAP.

<b>

Business System</b>.

1.Goto Business Landscape->New Business System->Name the business system.

2. Choose the technical system that needs to be attached->WebAS ABAP->Technical System Name.

Preconfiguration steps for transfer of data to IDOCS

1.Create a RFC Destination in SM59 of XI Server of type.

2.In transaction IDX1 ,create a port for the client of XI server.

3. The port has to be displayed in the idx2 transaction and we should be able to view the idoc’s which we imported through integration repository.

<b>

Steps in Configuration</b>

1. Goto service without party, right click->Assign a business system.

2. Choose the business system to be added.

3. Create a File Sender Service with communication channel for the same.

4. Create an idoc receiver channel under the business system. Mention the RFC Destination and the port created for the same.

5. In the Application system side,create logical name for the File Sender service and the business System in the transaction bd54.

6.Create the partner profile for the same in transaction we20.

7. The Idoc type( which data is to be written) is mentioned as inbound parameter.

8. Mention the logical Name in the Service->Adapter Specific Parameters of both the File Sender Service as well as the business system.

9. Make the Sender Agreement for theFile Sender with communication channel.

10.Create the Receiver Determination and Interface Determination for the business system.

11.Create the Receiver Agreement for the Business system.

Regards

Suraj

udo_martens
Active Contributor
0 Kudos

Hi Christian,

u need a file sender adapter (channel). There u configure a poll intervall and specify a folder to be polled. If u put a file into that folder, a message will be send to XI. For the receiving side u have to configure the IDoc adapter. Probably u have to configure little bit in ABAP stack (IDX1, SM59).

Regards,

Udo

Former Member
0 Kudos

Hi Christian,

These are the transactions u need:

TCODES for File>XI>IDoc

SM59-rfc destination on recving side

IDX1-port on recving side

IDX2-load metadata

Bus. service adapter specific Identifiers-->Logical sys name (check this blog:/people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system )

we05-IDoc status records

BD54-Create Partner Number

We20-Create Partner Profile

Import ur idoc fron the r/3 system into Xi using the import objects in the SWCV.

For the file part refer this blog:

/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping(file to multiple idoc)

and these blogs for simple file to file sceanrio can help u better to configure the file adapetr on the outbound side:

/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1

/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2

regards

Priyanka

Message was edited by: Priyanka Balagangadharan

Message was edited by: Priyanka Balagangadharan

Former Member
0 Kudos

Thanks for your answer.

One more question. After a polling intervall of 60 seconds the file is still in the incoming directory. Is there a possibility to copy the file after processing to another "Processed Files"-Directory (Backup)?

As i can see in the processing parameters box i can "archive", "delete", "test"? and set the file to read-only... but no copy functionality