cancel
Showing results for 
Search instead for 
Did you mean: 

Generating Deeply nested XML from a flat file

Former Member
0 Kudos

Hi All,

I am working on a MQ to IDOC scenario.

I am getting a flat file as input. I need to convert it into XML( so that XI can understand it).

But conversion is into a "Deeply Nested XML from a Flat File" at sender side (JMS Adapter).

Any inputs on this.

Regards,

Vikas

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

But is there a way, that it can be done using Graphical Mapping only ?

sunil_singh13
Active Contributor
0 Kudos

No my friend using Graphical mapping you cant Build a node (which does not exist in the source side) just forget abt building nested structure

thanks

Sunil Singh

Former Member
0 Kudos

You can only convert flat file into xml structure with 3 levels.

If you need to convert flat file into deep nested xml structure, you have to do java mapping or xslt or abap mapping. There is a tool, I think it's called conversion agent by itemfield (bought by SAP), which can do pretty everything with conversion. Never used it though.

Jayson

Answers (1)

Answers (1)

sunil_singh13
Active Contributor
0 Kudos

Hi Vikas,

First you convert it into simple structure xml file then you can use java mapping to get the nested structure .

Thanks

Sunil Singh