Archived discussions are read-only. Learn more about SAP Q&A

Content Conversion - Ignore Fields

Hi,

Is it possible to ignore fields when converting from XML to a flat file ? For example if my input XML is:

<RecordSet>

<Record>

<f1>a</f1>

<f2>b</f1>

<f3>c</f1>

</Record>

<Record>

<f1>d</f1>

<f2>e</f1>

<f3>f</f1>

</Record>

</RecordSet>

Is it possible to produce an output file of:

a,b

d,e

...where f3 is ignored.

Cheers,

PaulC.

Edited by: paul clements on Aug 23, 2011 3:21 PM

Edited by: paul clements on Aug 23, 2011 3:22 PM

replied

hi,

in the FCC use two more entries in Content conversion but before that add it in the recordset structure lets say as XXXXX

then in the entries use it as

XXXXX.fieldFixedLengths / 0

XXXXX.fixedLengthTooShortHandling / Cut

This XXXXX can be the filed name that is coming in XML and the two entries keep this out of the flat file.

This is a demo you may have to work a little in defining the filed names. This will work as I have used it in my case.

Regards.....

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question