cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Connection Error

Former Member
0 Kudos

Hi,

i installed SAP XI 3.0 SR1,Oracle on Windows 2000 Server. During the

post-installation steps after the installation process, I am getting

the following RFC Connection error.

I had created RFC connection "AI_DIRECTORY_JCOSERVER" as mentioned in

Installation Guide using SM59 transaction and configured JCo RFC

Provider as J2EE Administrator.

But when i tried to test the connection for the above mentioned

connection it's giving the following error.

<b>

Connection Type: Connection Error

TCP/IP Connection: Error opening an RFC Connection.

Other info:

ERROR program AI_DIRECTORY_XI4 not registered

LOCATION SAP-Gateway on host ctssap4 / sapgw00

DETAIL TP AI_DIRECTORY_XI4 not registered

COMPONENT SAP-Gateway

COUNTER 4164

MODULE gwr3cpic.c

LINE 1621

RETURN CODE 679

SUBRC 0

RELEASE 640

TIME Thu Feb 03 10:51:49 2005

VERSION 2</b>

When I tried checking the above mentioned program in SE38. Program

doesn't exist.

Same problem is existing with other connections (AI_RUNTIME_JCOSERVER,

LCRSAPRFC and SAPSLDAPI) too.

Thanks in advance,

Regards,

Srinivas.

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

Hi Srinivas,

Even i have same error. please let me know solution if u got it.

my mail id kur773@hotmail.com.

Regards

Raj

Former Member
0 Kudos

Hi,

You need to register the Program ID being used in the RFCs(for post installation) in Visual Administrator.

in your Visual Administrator:

Select Cluster>Server>Services-->JCo RFC Provider

Then enter the Program id and gw host & service, #process =10

  1. of processes for the other destinations:

LCRSAPRFC = 3

SAPSLDAPI = 3

After this you should be able to test the rfcs successfully

Hope this helps. Thanks

Former Member
0 Kudos

Hi ~

I had same status you met. But I changed and correct the "SAPJSF" password. It's done.

Regard,

Rick

Former Member
0 Kudos

Srinivasa,

It's important you use the same name (program id) on both the abap and the java side. Both must be exactly the same.

Best regards,

Alwin

bhaskar_ghandikota
Participant
0 Kudos

In simpler terms, i think just create the RFC destinations in Visula Composer as per the post install steps

andreas_stolz
Active Participant
0 Kudos

Hello Srinivas,

from the J2EE Engine you have to register the Server Programs at the SAP Gateway you're referring to in the SM59 rfc destinations.

Plesae refer to the Postinstalltation Steps in the Installation Guide section "Creating RFC Destinations in the ABAP and Java Environment". After creating the destinations in ath abap stack there is the documentation how ro register the programs from J2EE at the xi's abap server gateway.

Kind regards,

Andreas

Former Member
0 Kudos

Hi,

The problem lies in the registered server program you have on the SM59 entry - these do not actually exist as programs in their own right.

The help for the registered server program is as follows:

<i>Identification of a registered RFC server program

With an SAP gateway, an RFC server program can be registered under this ID and then wait for RFC calls from different SAP systems.

The registered server program thus no longer has to be started locally by an SAP instance (applications server, gateway or SAPgui) or via remote shell.

You must maintain the specifications made via the SAP Gateway (host name and service) if registration is not being made via the gateway of the current applications server.

The program ID or host name and service of the SAP gateway in this entry must match the registration parameters (through RfcAccept).</i>

This needs to take place for all of the SM59 entries you have listed.

This is something Basis should be able to help you with.

Cheers

Colin.

Message was edited by: Colin Bickell