Skip to Content

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

File Adapter-Append

Dear all,

When I select APPEND in the communication channel in file processing parameters with the below source files

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

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://ehro.eds.com">

<EMP_DETAILS xmlns:"http://ehro.eds.com/PSPC/JDBCrec">

<EMP>

<FirstName>sree</FirstName>

<LastName>Phani</LastName>

<ENO>1</ENO>

<Sal>121231243</Sal>

<desg>Manager</desg>

</EMP>

</EMP_DETAILS>

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

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://ehro.eds.com">

<EMP_DETAILS xmlns:"http://ehro.eds.com/PSPC/JDBCrec">

<EMP>

<FirstName>Ravi</FirstName>

<LastName>Phani</LastName>

<ENO>2</ENO>

<Sal>121231243</Sal>

<desg>Manager</desg>

</EMP>

</EMP_DETAILS>

The output appended file is getting apended but <?xml version="1.0" encoding="utf-8"?> is also getting appended to each message which is appended in the file.

Kindly let me know how to maintain a single <?xml version="1.0" encoding="utf-8"?> so that this file contents may be appended to my dtabase.

Thanks,

Srini

Former Member
Former Member replied

Hi,

To have the data to be appended we should have File content conversion at the receiver.Otherwise there will be a conflict with the nodes.

Thanks,

Zabiulla

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