Wednesday 1 September 2021

Configure SAP FTP Connection in SAP ABAP System.

Follow the below steps.

PRE-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 12.12.123.223  21)

                                     Root@Techrelam> telnet 12.12.123.223  21

                                     Trying 12.12.123.223  21

                                     Connected  to  12.12.123.223


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 programs 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 shown the FTP command value. like if you have some files in a particular FTP folder you gave the ls command on the FTP command-tab you will get the whole file list in the execute output screen.


You Should use 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.

No comments:

Post a Comment

SAP HANA DB ANALYSIS AFTER ISSUES

To be able to further analyze your issue and environment please download the attached shell script you can get from KBA: 3218277 - Collectin...