Skip to Content
-1
Nov 01, 2019 at 03:57 AM

How to remove symbol # (Output inbound file from SFTP with WRITE statement)

137 Views Last edit Nov 01, 2019 at 04:02 AM 2 rev

Hi experts.

I tried to implement ABAP Program outputs inbound file from SFTP server with WRITE statement.

(not uploading file in SAP appl server, just want to output inbound file contents.)

However, symbol '#' was appeared the end of output result like below.

I tried to use REPLACE and CONDENSE statement to remove # , It did not work.

------------------------------------------------------------------------------

abcdefg

hijklmn

opqrstu#######################################

------------------------------------------------------------------------------

In case of uploading file in SAP appl server, this problem is not occurred.

I think this may be due to file format ( need BEGIN ~ END at the begining and end??)

I refer to the following noteļ¼š2007916

https://launchpad.support.sap.com/#/notes/2007916

Thanks.