cancel
Showing results for 
Search instead for 
Did you mean: 

Using File Content Conversion converting XML format to text format

Former Member
0 Kudos

Hi All,

I am able to convert to Text format using file content conversion, But the requirement is to convert the same for the structure with additional subnodes as in the example (also complex nested structures)

<ns0:SendXSDEmployeeDetails xmlns:ns0="http://ehro.eds.com/FRAMEWORK/FileToFile/FileCConverion">

<Employee>

<Employee_ID>2</Employee_ID>

<Employee_Name>KannanKumar</Employee_Name>

<Address>

&nbsp;&nbsp;&nbsp;&nbsp;<Street>13th Cross Reddy</Street>

&nbsp;&nbsp;&nbsp;&nbsp;<City>Bangalore</City>

&nbsp;&nbsp;&nbsp;&nbsp;<Pincode>641026</Pincode>

&nbsp;&nbsp;&nbsp;&nbsp;<Phone_No>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<t1>9901934934</t1>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<t2>9901934934</t2>

&nbsp;&nbsp;&nbsp;&nbsp;</Phone_No>

</Address>

</Employee>

</ns0:SendXSDEmployeeDetails>

can any one help on this please

I have already seen the blogs :

/people/krishnakumar.ramamoorthy3/blog/2007/01/27/generic-mapping-to-convert-nested-xml-to-flat--receiver-file-adatper

/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping

<b>Can any one help to do this in simple way</b><br>

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member184619
Active Contributor
0 Kudos

HI Rajan,

Check this blog

/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file

this might be helpful

Regards

Sachin

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Like correctly pointed by JaiShankar, the Sender File Adapter currently does not supoort such stracutures.

the strcuture supported is described in this link,

http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm

Regards

Bhavesh

Former Member
0 Kudos

Rajan,

File adapter in the current version can not handle this. May be in future SP this feature will be supported.

Regards,

Jai SHankar