Skip to Content
0
Feb 25, 2021 at 04:35 PM

SFTP sender encoding error with File content conversion (Message Transform Bean)

73 Views Last edit Feb 25, 2021 at 04:38 PM 3 rev

Hi Experts,

We have an interface in which flat file is sent from FTP server (using FCC) and sent as proxy message to SAP via pass through scenario. We now need to replace sender FILE channel with SFTP channel. The files are in different encoding, so the current sender FILE channel has encoding set as 'iso-8859-1' in standard parameters. The structure after FCC looks like this:

fccerror.jpg

The issue I have is that the I am unable to set the right encoding. Here's what I have tried so far:

I tried using Message Transform bean in module parameters and FCC in standard SFTP parameters, but since FCC is getting executed first, encoding is getting messed up.

I tried putting both FCC & encoding in module parameters for MTB, but since its two level hierarchy in XML, I can not use SimplePlain2XML . I cannot use StructPlain2XML since I dont have key value. It works fine with SimplePlain2XML but then the converted XML has only one level hierarchy.

I tried setting encoding with Advanced mode in SFTP using parameter 'encodingFormat'. It didn't work.

Please let me know if you see any other option to fix it. I know we can add mapping and manage it there, but I want to keep it without ESR. We are using SAP PO 7.5.

Thanks

Attachments

fccerror.jpg (22.7 kB)