cancel
Showing results for 
Search instead for 
Did you mean: 

Conversion of XML Idoc to File Idoc

Former Member
0 Kudos

Hi,

My query is:

I have an XI (PI 7.0) in between an SAP system and a file system. An idoc comes into XI. It needs to be conerted to a file idoc, ie, each segment needs to be separated by a new line. How can I achieve this?

1. Do I have to create a java/ ABAP class?

2. Is an adapter available which does this for me?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Bhaumik,

Check these blogs on Idoc to File:

<a href="/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters to IDoc-XI-File scenario and complete walk through for starters.</a>

/people/sravya.talanki2/blog/2005/10/27/idoc146s-not-reaching-xi133-not-posted-in-the-receiver-sap-systems133

For any other type of help on IDOC you can refer this book:

<a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi IDoc Business Scenarios with SAP XI</a>

Regards,

Subhasha Ranjan

Former Member
0 Kudos

Hi Tamoghno,

1. No

2. Yes, use the File/FTP and IDoc Adapters.

Do a search on SDN on "How To ..." for IDoc and File scenario and you will find a plethora of them. You can also start at the WIKI page for SAP XI.

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

Also try this:

https://wiki.sdn.sap.com/wiki/display/XI/SAPR3%28Idocs%29ToXI--Steps+Summarized

Hopes this helps!

Regards,

John Ta