cancel
Showing results for 
Search instead for 
Did you mean: 

RFC connection error when registering PROGRAM ID.

Former Member
0 Kudos

Hi,

I created a RFC connection of type T.

I gave the following parameters ->

gateway host: hostname and then ip-address

gateway service: sapgwxx

Registered program id: xxx

It is giving me the following error:

Error Details Error when opening an RFC connection

Error Details ERROR: program sapgwxx not registered

Error Details LOCATION: SAP-Gateway on host <hostname> / sapgwxx

Error Details DETAIL: TP sapgwxx not registered

Error Details COMPONENT: SAP-Gateway

Error Details COUNTER: 2696

Error Details MODULE: gwr3cpic.c

Error Details LINE: 1777

Error Details RETURN CODE: 679

Error Details SUBRC: 0

Error Details RELEASE: 700

Can anyone help me in troubleshooting the issue.

Also I am not able to register this program id in Visual Admin -> Services -> JCo RFC Provider. Here it is giving me an error. Can anyone guide me in this?

Points to be rewarded for any kind of small help.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi abdul,

Have you tried this michal's blog

/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step

Check this discussion with same problem

Also check this SAP note 809420

regards

Ramesh P

Message was edited by:

Ramesh P

Former Member
0 Kudos

Thanks Ramesh.

I followed the blog. Here are the steps that I did.

RFC destination:

1. To create the RFC go to TCODE: SM59 <b>-> Done</b>2. Create new destination of type T (TCP/IP) <b>-> Done</b>

3. Make sure you select Registered Server Program option before writing your program ID <b>-> Done</b>

4. Write you program ID (remember it's case-sensitive) <b>-> gave the SID name</b>

5. In the gateway host and gateway service write the values of your "Application system" - business system (not the XI server) <b>-> Typed the gateway hostname and gateway service "sapgw<instance no>", that I got from SMGW.</b>

But still I face the same problem. It get the following error:

Logon Connection Error

Error Details Error when opening an RFC connection

Error Details ERROR: program <SID name> not registered

Error Details LOCATION: SAP-Gateway on host xxxxx / sapgwxx

Error Details DETAIL: TP <SID Name> not registered

Error Details COMPONENT: SAP-Gateway

Error Details COUNTER: 2719

Error Details MODULE: gwr3cpic.c

Error Details LINE: 1777

Error Details RETURN CODE: 679

Error Details SUBRC: 0

Error Details RELEASE: 700

Error Details TIME: Thu Nov 1 10:39:43 2007

Error Details VERSION: 2

Kindly help me out.

Former Member
0 Kudos

hi abdul,

Are you sure the program is registered in J2EE engine. Anyways deleting once and again create the same, it might work

Before that, Kindly check the SAP note <b>63930 </b>

regards

Ramesh P

Answers (2)

Answers (2)

Former Member
0 Kudos

I got the same problem and resolved it with the changing the parameter of GateWay Profile.

Please have a look at gw/acl_mode in Tcode rz10 und rz11.

acl is for access list. the actual value should be "0".

Former Member
0 Kudos

Hi Abdul,

Check out this blog..

/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009 on Troubleshooting - RFC and SOAP scenarios

Also I am not able to register this program id in Visual Admin -> Services -> JCo RFC Provider. Here it is giving me an error. Can anyone guide me in this?

--- Can you please provide us error message..you need to register JCO RFC here first then only your first RFC will work.

Hope this will help.

Nilesh