cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP--RFC Scenario

Former Member
0 Kudos

Hi All,

I have Done HTTP--RFC Scenario and i got the Bellow Error in Receiver RFC CC

Receiver channel 'CC_RFC_Receiver_IB' for party '', service 'Sub_ssd_subdev'

Error can not instantiate RfcPool caused by:

com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed

Connect_PM TYPE=A ASHOST=10.1.1.203 SYSNR=00 GWHOST=10.1.1.203 GWSERV=sapgw00 PCS=1

LOCATION CPIC (TCP/IP) on local host with Unicode

ERROR partner '10.1.1.203:sapgw00' not reached

Regards

Suman

Accepted Solutions (0)

Answers (6)

Answers (6)

former_member859847
Active Contributor
0 Kudos

HI,

Please check the following path on u r local machine.

i.e C:\WINDOWS\system32\drivers\etc\hosts.

please chck the ip address of local hosts ..etc

regards

mahesh.

aashish_sinha
Active Contributor
0 Kudos

Hi,

- Check out for the correct System number you are using.

- If you are having problems connecting to the SAP instance, open a DOS-window and type:

telnet your error partner host ip and service

And press ENTER. If the whole screen goes black and all letters on it disappear, you are reaching the server. If you get a "Connecting To 131.200.65.109..." message that just sits there, you aren't reaching the server.

Also

- Please take a look at note: 730870 and question 25:

Q 25: A RFC sender channel is registered at a SAP Gateway which is shutdown. Does the RFC sender channel automatically reconnect to the SAP Gateway after it is available again?

A: The SAP Gateway is shutdown due to e.g. offline backup of the R/3 database while a RFC-Adapter sender channel is registering at this SAP Gateway. After restarting the SAP Gateway, the RFC sender channel does not seem to automatically perform a reconnect.

Actually the RFC sender channel will try to reconnect to the SAP Gateway. If this reconnect fails, the next reconnect attempt is made after a waiting period of 1 second. If the next reconnect fails also, the waiting period is doubled and so on. This will lead to a reconnect timing of 1, 2, 4, 8, ..., 3600 seconds. Saving recources is the aim of this technique.

If not configured, the maximum waiting time is defined in the middleware layer of SAP JCO, which is 3600 seconds. But this maximum time can be configured for each RFC sender channel in the XI Integration Directory. Open the Advanced Mode for the RFC Server Parameter.

  • Before SP 12: Add a line to the table and use 'jco.server.max_startup_delay' as name and the maximum number of seconds to wait between reconnect attempts as value.

  • Since SP 12: Enter the maximum number of seconds to wait between reconnect attempts in the field Maximum Reconnect Delay.

Regards

Aashish Sinha

PS : reward points if helpful

Former Member
0 Kudos

Hi,

Iam able to reach the SAP R/3 system by giving the IP Address in Run command

BTW my scenario is RFC is Receiver, not Sender RFC

Regards

SUman

Former Member
0 Kudos

Hi Suman,

May be the SAP R/3 system that your sending the data is not reachable and also test the RFC destination in "SM59".......

And also check the Recevier agreement has been assgined to right business systemm............

Theses could areas where the error could be there .................

Regards

Sai

Reward with points if helpful

Former Member
0 Kudos

hi,

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/httpToRFCSynchronousScenario-FAQs&

regards

Former Member
0 Kudos

hi,

Go through

/people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit

Regards

Former Member
0 Kudos

Are you using "external RFC Server" option in your adpter configuration??

Former Member
0 Kudos

Hi Sekhar,

No , Iam using SAP System as RFC Server Type

Regards

Suman

Former Member
0 Kudos

Ok...Check wether your able to reach the traget system ie SAP from XI in SM59 Tcode(R/3 destination).And also check your gateway service also.

ex: sapgw00 where 00 is your system number.

Former Member
0 Kudos

Hi Sekhar,

you wrote this

Ok...Check wether your able to reach the traget system ie SAP from XI in SM59 Tcode(R/3 destination).

Do we require any RFC Destination Creation in HTTP---RFC Scenario????

Where we need to create the RFC Destination???

In XI??? Or In R/3?????

Can u please explain in detail

Regards

Suman

Former Member
0 Kudos

No need to create any RFC destination for RFC receiver case.

Whats status of your RFC receiver adapter ?

Former Member
0 Kudos

Hi,

My Receiver RFC Adapter in ID is Active only

I send the Message through HTTP Test Tool and i got success in MONI

When iam checking in Receiver RFC CC( in RWB)

I got that above mentioned error

Regards

Suman

Former Member
0 Kudos

Check wether you are using correct system number or not in the receiver communication channel.

former_member859847
Active Contributor
0 Kudos

Hi,

Could please check the t.code SMGW..

which is gateway monitor, where all are in active

and status connected.

still u rfacing the problem, please check port point of view.

suppose u r servers located at onsite..

please make sure that all necessary ports opened or not.

regards

mahesh.

Former Member
0 Kudos

Hi Mahesh,

Yes in SMGW the gateway sapgw00 is connected and active only

Is there any place where we can check

Regards

Suman

aashish_sinha
Active Contributor
0 Kudos

Hi,

add the line:

sapgw00 3300/tcp # SAP System Gateway Port

To the File C:\WINDOWS\system32\drivers\etc\services

Regards

Aashish Sinha

PS : reward points if helpful

former_member859847
Active Contributor
0 Kudos

Hi,

Please check the following links similat to your problem.

/message/4710876#4710876 [original link is broken]

trouble shooting guide for the above error.

http://download.oracle.com/docs/cd/B14099_19/integrate.1012/b14061/tshoot.htm

regards

mahesh.

Former Member
0 Kudos

Hi Aashish,,

Where i need to add this entry

In my Local desk location??? or in XI Server Location???

Regards

Suman

Former Member
0 Kudos

Hi Ashish,

Iam accessing the XI server through Remote Desktop

I have the Entry sapgw00 3300/tcp in the File

C:\WINDOWS\system32\drivers\etc\services

Do we need any thing along with this entry??

former_member859847
Active Contributor
0 Kudos

Hi,

you have host file in that location.

open that in notepad and add that entry if it was not there.

regards

mahesh.

Former Member
0 Kudos

Hi Mahesh,

In Hosts file,, i have the entry for Xi Server as well as for SAP R/3 also

in Services file i have the entry like this sapgw00 3300/tcp

Any thing more do i need to check ??

Please tel me

Regards

Suman

aashish_sinha
Active Contributor
0 Kudos

Hi,

As i said add these lines to the location i mentioned.

sapgw00 3300/tcp # SAP System Gateway Port

To the File C:\WINDOWS\system32\drivers\etc\services

then restart the SAP instance and if its not working reboot the system and then start SAP instance.

In case of remote desktop , do it thr.

Regards

Aashish Sinha

PS : reward points if helpful

Former Member
0 Kudos

Hi,

sapgw00 3300/tcp # SAP System Gateway Port

I have already this entry in that location sapgw00 3300/tcp

Do i need to write this also # SAP System Gateway Port

beside sapgw00 3300/tcp

Regards

Suman

aashish_sinha
Active Contributor
0 Kudos

Yes !!!!

Former Member
0 Kudos

Hi Ashish,

Do we really require SAP R/3 Restart after making an anrty in that location???

Why because SAP R/3 is at Remote location

Regards

Suman