cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC XML to CSV in CPI

Akhila_A
Explorer
0 Kudos
323

Hi Experts,

I am trying to convert MATMAS IDOC to CSV by using standard functionality of XML to CSV conversation from CPI pallet.

first level <MATMAS03>

2nd level <IDOC>

<E1MARAM>

3rd level <Field1> </Field1>

<Field2></Field2>

<E1MARDM>

4th level <Field3> </Field3>

</E1MARDM>

</E1MARAM>

</IDOC>

<MATMAS03>

I am able to see Field1 and Field2 getting converted to CSV but fields which comes under E1MARDM is not converting to CSV. Is it because of nested structure ?

Below is the path I gave in Source XSD, tried by giving /MATMAS03 and /MATMAS03/IDOC in XSD path but no luck

Accepted Solutions (0)

Answers (1)

Answers (1)

MortenWittrock
Active Contributor
0 Kudos

Hi Akhila

The converter cannot handle nested elements. So to use it, you would have to flatten your structure in an earlier step (using a mapping or a script).

Regards,

Morten