cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error 'Program not registered' while testing RFC

Former Member
0 Likes
55,720

Hi

I have created a RFC with type T. When I am testing the same through SM59, I am getting error:

Logon Connection Error

Error Details Error when opening an RFC connection

Error Details ERROR: program <program name>not registered

Error Details LOCATION: SAP-Gateway on host xxxxxx / sapgw01

Error Details DETAIL: TP <program name> not registered

Error Details COMPONENT: SAP-Gateway

Error Details COUNTER: 6268

Error Details MODULE: gwr3cpic.c

Error Details LINE: 1694

Error Details RETURN CODE: 679

Error Details SUBRC: 0

Error Details RELEASE: 700

Error Details TIME: Tue Jan 27 00:56:55 2009

Error Details VERSION: 2

Can anybody help me in this?

Thanks in advance

View Entire Topic
Former Member
0 Likes

Something helpful related to this

The program in the above error should be registered in the gateway for this connection test to complete successfully. The server program rfcexec is responsible for its registration on the gateway.

To register the program login into the OS level as sudo su - <sid>adm and execute the following command.

rfcexec u2013g<program id> -a<gateway host name> -x<gateway service>

rfcexec is the server program name, the <program id> can be obtained from SM59, it is case sensitive and should match with the entry in SM59. The <gateway host name> and <gateway service> can be obtained from the transaction SMGW. When this command is executed it goes to a hanging loop.

The connection will fail once this command is terminated or the user executing this command logs off

To avoid this, instead of using the above mentioned command an entry should be made in the file saprfc.ini

To do this, execute the following command

sudo su - <sid>adm

rfcexec u2013D<destination name>

<destination name> is the RFC destination name in SM59

So now we are done with registering the server program, but how do we check it is registered, once a server program is registered it is displayed in the Logged on clients in SMGW.

In transaction SMGW choose GOTO-> Logged on clients. There should be an entry for the server program in the screen that is displayed with system type Registered_TP (which indicates that the program is registered)

Former Member
0 Likes

Thanks amit for your reply.

This RFC destination with the program name was automatically created during creation of entry for pre-calculation server for BI 7.0