cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc xml to IDoc flat File.

PratibhaK
Participant
0 Kudos

Hi..

My scenario is as follows:

R/3 is the Sender systtem. IDoc PEXR2002 is sent to PI. I have a File Receiver Adapter configured in XI.

I want to convert this IDoc XML to IDoc flat file in PI.

Kindly guide me with detail steps.

I have tried using StrictXML2Plain Bean, but I do not understand the exact module parameters and their values.

Please Help!

Thanks,

Pratibha.

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

have you explored this option?

/people/william.li/blog/2009/04/01/how-to-use-user-module-for-conversion-of-idoc-messages-between-flat-and-xml-formats

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Pratibha,

Which PI version you are using, if it is PI 7.11 ,then you can use the newly introduced a Java adapter

user-module as suggested.

You can write a java mapping to achieve the same which read the meta data and converts the XML to flat file.

Other way could be that SAP side itself the IDOC XML to Flat file conversion can be done using file port,in that case PI can be used to simply pick and place the file.

Please refer the following document on how to convert IDOC xml to flat filewhich suggest ABAP mapping if you are in lower PI version.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1...

PratibhaK
Participant
0 Kudos

thanx all!