cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Flat file into XML

Former Member
0 Likes
702

Hi,

I have a requriment like source will be sending IDoc DELVRY03 in form of flatfile(fixed length).So i have to convert to XML so that PI can do transformation.I cant do file content conversion.Target is also IDoc DELVRY03.

Kinldy suggest me how to convery flat file into XML.

Regards,

Anitha M

Edited by: Anitha m on Aug 3, 2010 10:07 AM

View Entire Topic
Former Member
0 Likes

Hi Anitha,

The requirement that you have is to convert an IDoc which is in text format to XML.

This cannot be done using the normal FCC since FCC will not support the structural hierercy of an Idoc.

Hence the better option is to use a ENTERPRISE JAVA BEAN, which in turns calls opens the JCO to the SAP R/3 and call the function module IDX_IDOC_TO_XML. I am not really sure about the function module, you have to search a bit for the name.

The function module takes your File and return an XML.

You can use the EJB in the receiver adapter to convert into XML.

Thank you,

Anupam