cancel
Showing results for 
Search instead for 
Did you mean: 

How to send an iDoc from XI to flat file

Former Member
0 Kudos

hi,

I have send an IDoc from R/3 to XI.The iDoc is being received by XI.Now,I need to send this iDoc to Flat file.

For this,What i need to do?

can any body help me step by step in this regard..........

Thanx in advance..

Sridhar Raju Mahali

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member187339
Active Contributor
0 Kudos

Hi Sridhar,

Hope you are clear with the XI portion.

Now for sending the data from IDOC to XI follow these steps...

1.create an RFC destination pointing to <i>XI server</i> in the Business System where IDOC is present, using transaction sm59

2.create a tRFC port in the same Business System using transaction we21

3.create a logical system name using transaction bd54

4.then create a partner profile using transaction we20

5.Now log on to the Business System where IDOC is created.

6.go to we19..execute the idoc and give standard outbound processing on

7.on the values given click and give the sender and recipeint port and partner name and type..

Hope this will help you...

Regards

Suraj

Former Member
0 Kudos

Hi Sridhar,

Your scenario is u want to send an IDoc from R/3 system to XI to flat file.For sending IDoc to XI you have to do some configuration,which you can understand from the following link:

/people/ravikumar.allampallam/blog/2005/03/03/creating-purchase-order-idoc-through-xi

Steps:

1)Now in the design time you will import the IDoc from the R/3 system through imported objects.

2)There is no need to create datatype,message type for IDoc.

3)Then you will create datatype,message type..etc for the file.

4) Then do all the Configuration time steps for the scenario.

I think this will help you.If u stil face any problem you can ask.

Regards

Arpit

Former Member
0 Kudos

hi,

hope this weblog will be useful to you https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1348. [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]

Regards,

Divya

MichalKrawczyk
Active Contributor
0 Kudos

Hi Sridhar,

take a look at these weblogs:

/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

they show what to od it you want a file output:)

Regards,

michal

Former Member
0 Kudos

Hi sridhar,

First create a datatype for the file which contains the fields required to be mapped from the idoc. Then create the message type and message interface for the same.The iDoc has to be imported from the SAP R/3 system into the imported achives.The idoc itself can be used during mapping hence, we needn't create any datatype for idoc. Now proceed with the message mapping, interface mappings and configurations.wish you success!

Regards,

Divya.