Skip to Content
0
Sep 18, 2018 at 06:49 AM

How to upload/download data file/to from SFTP server in SAP?

2693 Views Last edit Sep 18, 2018 at 11:23 AM 3 rev

Hello Team,

Client is saving .CSV file in SFTP server on daily basis. we need to fetch it from ABAP custom program and need to do some required data operations.

Could you please help me to fetch that file from SFTP server.? is FM-SXPG_COMMAND_EXECUTE is the right FM to solve this issue? If Yes, then what will be the 'Actual parameters value' needs to pass?. is there any sample ABAP program code?

Note : 1. This is SFTP related issue not FTP.

2. I have created a command using SM69.

3. I am using to connect SFTP server using FM- 'SXPG_COMMAND_EXECUTE'.