cancel
Showing results for 
Search instead for 
Did you mean: 

ignoreRecordsetName=true in sftp adapter

Former Member
0 Kudos


Dear All,

Please can you let me know if the module ignoreRecordsetName=true works in sftp adapter.

I tried all combinations but in vain.

Regards,

MM

Accepted Solutions (0)

Answers (2)

Answers (2)

iaki_vila
Active Contributor
0 Kudos

Hi Murli,

Have you tried to use a XSL in the operation mapping?, you could use it at first step and you wont need to change any data type.

Are you using SAP SFTP adapter or seeburger SFTP adapter?

Regards.

Former Member
0 Kudos

Hello Inaki,

I am using the SAP SFTP adapter.

Please can you elaborate on the XSL in the operation mapping process.

iaki_vila
Active Contributor
0 Kudos

Hi Murly,

You only need to add a XSL mapping in the operation mapping before you first message mapping.

If you have for example this incoming message:


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

<Recordsetname>

    <tag1>

        <a>1</a>

        <b>2</b>

        <c>3</c>

    </tag1>

</Recordsetname>

With this XSL:


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

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

    <xsl:template match="./child::*">

        <xsl:copy-of select="*"/>

    </xsl:template>

</xsl:stylesheet>

You will obtain this:


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

<tag1>

<a>1</a>

<b>2</b>

<c>3</c>

</tag1>

Regards,

Former Member
0 Kudos

Hi,

you have to use the approach as suggested above....

you can use this either at module level using Message Transform Bean or at the operation mapping level....

HTH

Rajesh

Former Member
0 Kudos

Hi Murli

Are you using message transformation bean for performing the conversion?

Check this

REG: Message Transform Bean | SCN

Former Member
0 Kudos

Hello Again,

Please share if you have any other mechanism of removing the "Recordset" tag after FCC Modules. I really do not want to touch the Data Types (IR), and so please share if you have a configuration (ID) only change way of doing this.