Monday, 1 February 2021

Configure SAP FTP Connection in SAP ABAP System


 Configure SAP FTP Connection in SAP ABAP System.

Follow the below steps.

PER-REQUISITES:

  1.     FTP credentials.
  2.     SAP GUI credentials with authorization.
  3.     SAP OS access to check IP ports accessibility.
  4.     Network basic understanding.

FTP credentials and FTP Accessibility   

Check FTP server IP and network Port.(20 and 21)

  • 20 for file transfer.
  • 21 for Connectivity.
  • Get the FTP IP and port provided by FTP/OS team.
  • Telnet FTP server IP on a specific port. The default port is 21.
  • Telnet Syntax (Linux & windows): telnet <IP> <PORT>

 Check FTP is accessible from SAP system OS.
         example( telnet 123.33.17.15  21)

Root@Techrelam> telnet 123.33.17.15  21

 Trying 123.33.17.15  21

 Connected  to  123.33.17.15

Make sure it will connect.

  • ogin to the SAP System Add FTP server entry in SAP Table.
  • Maintain FTP entry in SAP table (SAPFTP_SERVERS_V) using Transaction Code SM30
  • SAPFTP_SERVER_V is a client dependent table. Add entry in those specific clients who are going to connect to FTP.


Click maintain --> add new entries and maintian FTP Ip with Port.

After Maintain the entry we need to test the connection.

Test FTP connection using SAP standard Program.

Some standard program for Check RFC connection check and create,etc,

  • RSFTP001 Release version check .
  • RSFTP002 Check the FTP Connection using credentials.
  • RSFTP003 SAP FTP put / get Test 
  • RSFTP004 SAP FTP Copy
  • RSFTP005 SAP SAPFTP RFC Creation SAPFTP, SAPFTPA
  • RSFTP006 SAP SAPFTP check

This are all the some impotent SAP ABAP report

 Execute SAP program rsftp002 using Tcode SE38

 

Execute the report and enter details.

 After enter the required field hit the execute button. connection should be show the FTP command value. like if you have some files in particular FTP folder you gave the ls command on FTP command tab you will get whole file list in the execute output screen.

You Should user RFC “SAPFTPA” as FTP is only accessible from the SAP server. SAPFTP for 

front end access.

SAPFTPA (RFC)Use background access

SAPFTP (RFC) foreground access.

 If the connection is successful you will get the output like below.


If you need any doubt  command here I will clear your doubt.


Thanks for reading.

 


1 comments so far

This comment has been removed by a blog administrator.


EmoticonEmoticon

Note: only a member of this blog may post a comment.