cancel
Showing results for 
Search instead for 
Did you mean: 

Conversion file Receiver

Former Member
0 Kudos

Hi all,

I have the follow XML instance:

<RDN>

<ITP>

<element1>

<element2>

...

</ITP>

<AE1>

<element1>

<element2>

...

<NF2>

<element1>

<element2>

...

</NF2>

<AE2>

<element1>

<element2>

...

<AE4>

<element1>

...

</AE4>

</AE2>

<AE2>

<element1>

<element2>

...

<AE4>

<element1>

...

</AE4>

</AE2>

<TE1>

<element1>

<...>

</TE1>

</AE1>

<FTP>

<element1>

...

</FTP>

</RDN>

In the Integration Directory I configure to use file content conversion with this parameters:

Recordset structure: ITP,AE1,NF2,AE2,AE4,TE1,FTP

for eacth record set structure I inform the fieldFixedLengths parameters.

When this is processed, I receiver the error:

"more fields found in XML structure than specified in conversion parameters! (Value 'NF2')', probably configuration error in file adapter (XML parser error)'" handled by adapter.

How I configure the file adpter to output the file with this structure:

ITP.....

AE1....

NF2.....

AE2....

AE4....

AE2...

AE4....

TE1...

FTP...

The file conversion not work when I have a XML with nodes and subnodes?

thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Elton,

http://help.sap.com/saphelp_nw2004s/helpdata/en/ae/d03341771b4c0de10000000a1550b0/frameset.htm

/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion

You need to configure a sender file adapter to get the file into XI. The above said links might helping you in fixing the issue.

Regards,

Anish

Former Member
0 Kudos

Hi,

I would also check that each of the Record Sets you have specfied have a corresponding RecordSetName.fieldSeparator and RecordSetName.endSeparator entry in the Content Conversion parameters section as this will also throw an error.

Kind regards

Colin.

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Elton,

ASFAIK, while doing content conversion in the file adapter, only 3 levels of nesting is allowed and from what you have given your structure to be as , I think the error is becasue your nesting is for more than 3 levels.

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

Regards,

Bhavesh

Former Member
0 Kudos

Hi Alton,

One round about way if you cannot change the strcuture is to pick the data row by row.

hope this helps

Regards

Vijaya