Skip to Content

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

File Adapter - Content conversion parameters at Receiver

Hi all,

I'm trying to translate a XML message to a text line file.

My XML message is this:

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

<ns1:Proveedor_100011 xmlns:ns1="http://sap.com/xi/webservices/buyordint">

<config>

<directory>c:/tmp</directory>

<filename>dynamicFile3.txt</filename>

</config>

<root><string>Header;423423</string>

<lines>

<value>LINE;</value>

</lines>

</root>

</ns1:Proveedor_100011>

I only want to write to text file the "root" TAG content.

I try different "Content conversion parameters" in the integration builder (configuration)

For example:

*************************************

RecordSet Structure: root

root.addHeaderLine 0

root.fieldSeparator ;

root.endSeparator ;

*************************************

but the better result is all XML content.

Can someone tell me how to skip "Config" TAG and only write the "ROOT" one?

I'll apreciate any help.

Thanks in advance,

Diego.

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