cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver File Adapter - Content Conversion

Former Member
0 Kudos

Hi,

I don't quite get this:

I have a structure

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

<AnElement1>

<AnElement2>

Bla bla bla

</AnElement2>

</AnElement1>

I want to convert this to a flat file with a line containing

Bla bla bla

In te receiver file adapter I define the following:

In the 'Content Conversion Parameters'

Recordset Structure : AnElement2

Name Value

AnElement2.addHeaderLine 0

AnElement2.fieldSeparator 'nl'

AnElement2.endSeparator 'nl'

This results in an Empty file each time indicating some error somewhere.

What am I missing?

Thanks

Andre

Accepted Solutions (1)

Accepted Solutions (1)

p_vanos
Active Participant
0 Kudos

Hi Andre,

You need to mention all structure elements in the recordset structure like below:

Recordset Structure : AnElement1,AnElement2

cheers,

Paul

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Andre,

Just check the link <a href="http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/frameset.htm">File content conversion</a>

Also check out this web log <a href="/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 to TXT</a>

Is there any error log shown in File adapter ?

Regards,

Keith

Message was edited by: keith thompson

udo_martens
Active Contributor
0 Kudos

Hi Andre.

and here the documentation for the <a href="http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm"><b>Receiver</b> Adapter</a>

Regards,

Udo