Skip to Content

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

Error in Receiver FCC: Unknown structure ... found in document

Hi Experts,

I have a problem with the Receiver File Adapter. I want to use Content Conversion to generate a plain file.

Input to receiver file adapter:

<?xml version="1.0" encoding="utf-8" ?>

<PlainFile>

<filename>filename.txt</filename>

<line>Line 1</line>

<line>Line 2</line>

...

</PlainFile>

Wanted result: a file filename.txt with this content:

Line 1

Line 2

...

FCC settings:

RecordSet Structure: line, filename

line.fieldSeparator:'nl'

filename.fieldFixedLengths:0

filename.fixedLengthTooShortHandling:Cut

Problem is: the adapter throws error "Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'PlainFile' found in document'"

If I use:

RecordSet Structure: PlainFile, line, filename

and add:

PlainFile.fieldSeparator:'nl'

... the lines are printed, but also the unwanted filename. The XML input results from an 1:n mapping, therefore I want to set different filenames by variable substitution from the payload.

Many thanks for your help,

Ralf

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question