Skip to Content
avatar image
Former Member

SAP PI text file issue using SFTP

Hello

my scenario is to AL11 (using CC FTP sender ) --> PI (using CC SFTP receiver ) --> FTP server

I'm facing an issue with SFTP CC where the communication channel picks up the text file from the SAP directory(AL11) then convert the text file from multiple lines to single line.

does anyone knows why this is happening?

psaa1.png (49.3 kB)
psaa2.png (52.3 kB)
psaa3.png (11.2 kB)
Add comment
10|10000 characters needed characters exceeded

  • Former Member

    This could simply be a display problem. How are you retrieving the files from the SAP application server vs. the target server and which operating systems are running on these machines? If your SAP system runs on Linux or Unix, the text file will be written with LF as the end of line character. If you download the file to your PC in ASCII mode, that character will be translated to CRLF so the correct line break is displayed in the standard windows editor. If you open the file on the target server directly or download it in binary mode, Notepad would not show an LF line break.

  • Get RSS Feed

3 Answers

  • Jul 04, 2017 at 08:08 AM

    Try creating a new sftp channel and check once

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 03, 2017 at 12:34 PM

    Yazeed,

    Do you have any FCC/Module in sender or receiver channel ? If its just pass through scenario then you dont need any such conversion.

    Br,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 04, 2017 at 08:15 AM

    Hi Yazeed!

    Did you try to open your result file in any text editor, rather than in Notepad? Notepad doesn't reflect on line breaks in some cases.

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded