cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Connection Test Error

Former Member
0 Kudos

I have created new RFC connection for XI configuration but getting below error while RFC Connection Test. Please help.

Logon Connection Error

Error Details Error when opening an RFC connection

Error Details ERROR: program AI_DIRECTORY_JCOSERVER_PXI not registered

Error Details LOCATION: SAP-Gateway on host SAPXI / sapgw00

Error Details DETAIL: TP AI_DIRECTORY_JCOSERVER_PXI not registered

Error Details COMPONENT: SAP-Gateway

Error Details COUNTER: 392966

Error Details MODULE: gwr3cpic.c

Error Details LINE: 1778

Error Details RETURN CODE: 679

Error Details SUBRC: 0

Error Details RELEASE: 700

Error Details TIME: Wed Sep 17 14:24:39 2008

Error Details VERSION: 2

Thanks,

Nishant

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member537867
Active Contributor
0 Kudos

Hi Nishanth,

Basically 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:

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).

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

Also plz 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.

In your Visual Administrator:

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

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

of processes for the other destinations:

LCRSAPRFC = 3

SAPSLDAPI = 3

After this you should be able to test the rfcs successfully.

Refer:

Regards,

Vinod.

Former Member
0 Kudos

Hi,

Do some change to the RFC created in Visual Admin and save and Run again the RFC in ABAP Satck

Regards

Seshagiri

Former Member
0 Kudos

Hi,

Create the AI_DIRECTORY_JCOSERVER_PXI RFC in Visual Admin , then only it will get registred

Regards

Seshagiri

Former Member
0 Kudos

We have already created AI_DIRECTORY_JCOSERVER_PXI in visual admin and we have created RFC destination and given program id as AI_DIRECTORY_JCOSERVER_PXI. Then also we are getting the below error in Visual Admin while starting the RFC Connection.

"Error starting bundles, see log for details"

former_member192295
Active Contributor
0 Kudos

Hi,

It is due to configuration problem, check it once again with RFC destination window meanwhile check all parameters in RFC adapter. Check test connection with RFC window.

Former Member
0 Kudos

Hi Nishant,

You must create also the same RFC in J2EE Visual Administrator in order to be registered.

regards,

Carlos