cancel
Showing results for 
Search instead for 
Did you mean: 

Error in RFC - SMSY

Former Member
0 Kudos

Hi,

Am creating RFC from SMSY. When i run thru the wizard for RFC generation wizard, i provide below option,

1.Selected Customizing Distribution & Change Request Management and Trusted System RFC connection.

2.Generate User And Password : SOLMAN<SID><CLNT> and SOLTMW<SID><CLNT>

3.Generate Incoming RFC Connection : Generate User And Password : SOLMAN<SID>

4.Assign RFC Connection for SYstem monitoring

Upon Creating RFC, system throws below error.

RFC destination SM_<SID><CLNT>_READ creation error. RFC destination may have errors

RFC destination SM_<SID><CLNT>_READ generation error

RFC destination SM_<SID><CLNT>_TRUSTED creation error. RFC destination may have errors

RFC destination SM_<SID><CLNT>_TRUSTED generation error

RFC destination SM_<SID><CLNT>_TMW creation error. RFC destination may have errors

RFC destination SM_<SID><CLNT>0_TMW generation error

Destination 'SM_<SID><CLNT>_TRUSTED' is used to generate destination 'SM_<SID><CLNT>_BACK'

Error creating RFC destination 'SM_<SID><CLNT>_BACK' in system '<SID>'

RFC destination SM_<SID><CLNT>_BACK generation error

RFC error(SM_<SID><CLNT>_READ): Error when opening an RFC connection

No RFC destination assigned for read access for client<CLNT>

When i go to the Read RFC and try to test the Connection, system throws below error.

Logon Connection Error

Error Details Error when opening an RFC connection

Error Details ERROR: hostname 'HOSTNAME' unknown

Error Details LOCATION: SAP-Gateway on host XXXXXXXXXX.XXXXXXXXX.COM / sapgw01

Error Details DETAIL: NiHsLGetNodeAddr: hostname cached as unknown

Error Details COMPONENT: NI (network interface)

Error Details COUNTER: 204353

Error Details MODULE: nixxhsl.cpp

Error Details LINE: 223

Error Details RETURN CODE: -2

Error Details SUBRC: 0

Error Details RELEASE: 701

Error Details TIME: Sat Oct 09 15:10:34 2010

Error Details VERSION: 38

help me out..!

~Waseem.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Mohammed,

Check below points,

1:The user through which you are running this setup has S_RFC* object authorization in both solman system and satellite system

2:Create a new RFC connection manually between Solman and Satellite system to see whether it works fine or not

3:Enter the solman hostname in the hostfile of satellite and viceversa.

If the connection again failed check with what RC it failed ex:0,1

Let us know the results

Regards

Uday

sumi_susan2
Participant
0 Kudos

Hi,

The issue here is with the hostname which you provided for the RFC connection, you had given "'HOSTNAME'" for the hostname field, is that correct?

Go to Tcode SM59 and expand the ABAP connections and select the RFC destination which is having the error and correct the hostname entry, you can also provide the IP adress inspite of hostname..

Regards,

Sam

Former Member
0 Kudos

Hi Sam,

I should not provide the host name manually because i generate the RFC thru' the Wizard.

But at the end of the RFC generation, i receive error. And then i manually goto SM59 and open the created RFC (with errors) and try to test connection. Then it throws the below error.

Error Details Error when opening an RFC connection

Error Details ERROR: hostname 'HOSTNAME' unknown

Error Details LOCATION: SAP-Gateway on host XXXXXXXXXX.XXXXXXXXX.COM / sapgw01

Error Details DETAIL: NiHsLGetNodeAddr: hostname cached as unknown

Error Details COMPONENT: NI (network interface)

Error Details COUNTER: 204353

Error Details MODULE: nixxhsl.cpp

Error Details LINE: 223

Error Details RETURN CODE: -2

Error Details SUBRC: 0

Error Details RELEASE: 701

Error Details TIME: Sat Oct 09 15:10:34 2010

Error Details VERSION: 38

Hope there is an issue with the HOSTNAME. How to check the HOST NAME and how is the system picking the HOSTNAME while creating the RFC? Does it picks the Hostname or FQHN ?

Pls provide me your valuable comments.

~Waseem.

sumi_susan2
Participant
0 Kudos

Hi,

HOSTNAME should be the hostname of the SAP system you want to connect, you need to know this if you want to create the RFC connection.As mentioned before you can also use IP address inspite of hostname.

Regards,

Sam