2009 Dec 28 10:58 AM
Hi Folks,
I'm connecting from SAP system to a FTP server using the FTP program. When I'm connecting to the FTP server through the RFC destination SAPFTP its working fine i can connect to the server however I have to run the program in the background mode so I cannot use the SAPFTP rfc destination as it can run only on the foreground so in my case I'm using the RFC destination SAPFTPA as this is the RFC destination which can be used in the background mode.
The problem arises here when I'm using SAPFTPA in place of SAPFTP as I have to run the program in background. When I'm using the RFC dest SAPFTPA I'm getting an error saying "Attemp To Set Up Connection To 179.65.23.203 Failed" however the connection is successful when the RFC dest SAPFTP is used.
Please provide your valuable inputs.
Regards,
Santosh
2009 Dec 28 11:34 AM
Hi Santosh,
This happens bcos when we use SAPFTPA, the application server connects to the other machine.
Normally the sap server is put under firewall / network restrictions. So probably you will have to
contact your basis team for figuring out that.
They will first login to the application server at the operating system and try to use ftp (using os ftp commands). If that will work, then ftp from SAP program will also work.
Regards,
Amit Mittal.
Hi Folks,
I'm connecting from SAP system to a FTP server using the FTP program. When I'm connecting to the FTP server through the RFC destination SAPFTP its working fine i can connect to the server however I have to run the program in the background mode so I cannot use the SAPFTP rfc destination as it can run only on the foreground so in my case I'm using the RFC destination SAPFTPA as this is the RFC destination which can be used in the background mode.
The problem arises here when I'm using SAPFTPA in place of SAPFTP as I have to run the program in background. When I'm using the RFC dest SAPFTPA I'm getting an error saying "Attemp To Set Up Connection To 179.65.23.203 Failed" however the connection is successful when the RFC dest SAPFTP is used.
Please provide your valuable inputs.
Regards,
Santosh
2009 Dec 28 11:10 AM
You may need to write a small utility and runs in background and check
report zaRs message-id 04 line-size 132.
tables: rfcdoc.
data: rfc_mess(132),
call function 'RFC_PING' destination 'SAPFTPA'
exceptions
system_failure = 1 message rfc_mess
communication_failure = 2 message rfc_mess.
if sy-subrc ne 0.
write: / 'Errors', rfc_mess.
endif.
a®
2009 Dec 28 11:34 AM
Hi Santosh,
This happens bcos when we use SAPFTPA, the application server connects to the other machine.
Normally the sap server is put under firewall / network restrictions. So probably you will have to
contact your basis team for figuring out that.
They will first login to the application server at the operating system and try to use ftp (using os ftp commands). If that will work, then ftp from SAP program will also work.
Regards,
Amit Mittal.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |