cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Communication - error CPIC return code 020, SAP return code 665

Former Member
0 Kudos

Hello,

I have created RFC destination for connecting SCM system from Solution Manager. Both the systems are Unicode.

I am getting the following error --

ERROR service '?' unknown

LOCATION SAP-Gateway on host gva4103 / sapgw00

COMPONENT NI (network interface)

COUNTER 4028

MODULE

LINE

RETURN CODE -3

SUBRC 0

RELEASE 640

TIME Mon Apr 24 11:28:21 2006

VERSION 37

And in SM21, I am getting following description

Communication error, CPIC return code 020, SAP return code 665

Following are the things I have checked..

1. RFC destination user checked, password reset in SM59 and in the target system

2. checked entries in /etc/services - Entry sapgw03 is present.

Please let me know what all things I need to check.

Thanks and Regards,

Vaibhav

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I solved the problem by myself.

The problem was with the entry in services file only.

I was checking the file on Target system, which had the entry. There was no entry in Host system services file. After modifying the file, the connection now works fine.

Thus for RFC connection, entry of the target system gateway MUST be there in /etc/service of Host system.

Regards,

Vaibhav