Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Connect and read file SFTP of SSFF through ABAP

former_member740482
Participant
0 Kudos
1,152

Dear

Is possible through a program ABAP read a file that is in the Server SFTP of Successfactor ?

I am using this code and return "not_connected = 1".


CALL FUNCTION 'HTTP_SCRAMBLE'
EXPORTING
SOURCE = lv_pass
sourcelen = lv_slen
key = lv_key
IMPORTING
destination = lv_pass.
  CALL FUNCTION 'FTP_CONNECT'
EXPORTING
user = lv_user
password = lv_pass
host = lv_host
rfc_destination = 'SAPFTP'
IMPORTING
handle = lv_handle
EXCEPTIONS
not_connected = 1
OTHERS = 2.

What other option is possible ?

What shoul pass in the key?

Regards

1 REPLY 1