cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Connection is not Opening for externel FTP server

Former Member
0 Kudos

Hi,

We created RFC connection for external server the RFC type =T(TCP/IP).

While testing the "Connection test" it is giving time out error.

Pls check the below error log.

Error details:

A RFC 1485 CONVID 43249121

A * CMRC=20 DATA=0 STATUS=0 SAPRC=637 ThSAPOCMINIT

A RFC> ABAP Programm: RSRFCPIN (Transaction: SM59)

A RFC> User: P00008522 (Client: 730)

A RFC> Destination: ZCITY_BANK (handle: 2, , )

A *** ERROR => RFC ======> CPIC-CALL: 'ThSAPOCMINIT' : cmRc=20 thRc=637

rexec unsuccessful

[abrfcio.c 8176]

A *** ERROR => RFC Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1501

CPIC-CALL: 'ThSAPOCMINIT' : cmRc=20 thRc=637

rexec unsuccessful

DEST =ZCITY_BANK

HOST =ERCDCSWS.mydrreddys.com

PROG =
192.168.1.115\C:\Program Files (x86)\WinSCP\DRL_SFTP_PUSH

GWHOST =eccdcs1s.mydrreddys.com

GWSERV =sapgw01

Thanks

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hello,

As told by Oliver the path given has to be corrected.

Apart from that better to check whether the service which you want to connect or the script which you are trying reach is properly running.

Also ensure proper permissions are in place.

Generally using IP address would cause the issue if this host gets the IP dynamically.

Check if you can replace the IP by the complete FQDN.

Regards

Vivek

Former Member
0 Kudos

Hi,

A *** ERROR => RFC Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1501

CPIC-CALL: 'ThSAPOCMINIT' : cmRc=20 thRc=637

rexec unsuccessful

Please make sure, executable and program has enough permissions from the calling server.

Regards,

Arjun

Former Member
0 Kudos

Hi,

Well, at least this syntax is wrong :


192.168.1.115\C:\Program Files (x86)\WinSCP\DRL_SFTP_PUSH

this should be


192.168.1.115\C$:\Program Files (x86)\WinSCP\DRL_SFTP_PUSH

if the user sapservice<SID> is admin of the FTP server.

Otherwise a shared directory should be created.

It would even be simpler to store the script DRL_SFTP_PUSH on the SAP server.

Regards,

Olivier

Former Member
0 Kudos

Hello,

Please check if external server is available or not.

Thanks,

Siva Kumar

Former Member
0 Kudos

Hi

Check if you are able to ping that server, from SAP. Use OS01 transaction > Specific IP Address > and in the pop, give 192.168.1.115 .

IF yes, you are able to, check, if that target destination directory is shared and has appropriate permissions to edit that file.

DEST =ZCITY_BANK

HOST =ERCDCSWS.mydrreddys.com

PROG =
192.168.1.115\C:\Program Files (x86)\WinSCP\DRL_SFTP_PUSH

GWHOST =eccdcs1s.mydrreddys.com

GWSERV =sapgw01

Hope this helps!!

~Raj

Edited by: Mr. Rajesh Mutharaju on Jan 12, 2012 10:32 AM