cancel
Showing results for 
Search instead for 
Did you mean: 

How to register a program in satgateway?

Former Member
0 Kudos

Hello colleagues,

I am trying to test a remote function call.

steps to error:

1) sm59--> ACTIONPAD_TCPIP_J2EE

2)Press "Conenction test " button .

Now i got the below error:

***********************************************************

Logon Connection Error

Error Details Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=67

Error Details ERROR: program BTM_RTMF_NOTIFICATION not registered

Error Details LOCATION: SAP-Gateway on host vaci<sid>.wdf.sap.corp / sapgw00

Error Details DETAIL: TP BTM_RTMF_NOTIFICATION not registered

Error Details COMPONENT: SAP-Gateway

Error Details COUNTER: 20664

Error Details MODULE: gwr3cpic.c

Error Details LINE: 1693

Error Details RETURN CODE: 679

Error Details SUBRC: 0

Error Details RELEASE: 711

Error Details TIME: Mon Dec 13 10:16:21 2010

Error Details VERSION: 2

***********************************************************

In smgw i have checked the registered programs through the goto->logged clients

In the registered programs the above mentioned program is not registered. This is the reason for the error.

Solution i have tried:

Tried to register the current program using the below command

--> ./rfcexec -a BTM_RTMF_NOTIFICATION -g vaci<sid> -x sapgw00

./rfcexec: Command not found.

In the system i have seacrhed throughly as rfcexec file is not existed.

but nearly one year back i have tried this same command and executed it.

Now it is not working.. could you please provide solution to register the program in sapgateway.

Thanks and Regards,

Siva

Accepted Solutions (0)

Answers (2)

Answers (2)

JPReyes
Active Contributor
0 Kudos

./rfcexec: Command not found.

RFCEXEC is a program located on your kernel... I will suggest you to check your kernel to make sure that the file exist. If thats the case then your need to update PATH in your environmental variables so it can find it.

If the file doesn't exist... then your probably need to replace your kernel.

Regards

Juan

Former Member
0 Kudos

Hi,

To be able to registeron a SAP gateway a Program has to be an RFC server (usually developped using the RFC SDK)

What is this BTM_RTMF_NOTIFICATION program, is it an RFC Server program ?

Regards,

Olivier

Former Member
0 Kudos

Hi Oliver,

Yes BTM_RTMF_NOTIFICATION program is RFC server program.

The problem here is we are unable to exceute register any program using the rfcexec function.

System gives error as there is no rfcexec program exits in the system.

Regards,

Siva

Former Member
0 Kudos

Hi,

If BTM_RTMF_NOTIFICATION is an RFC server program, you don't have to use rfcexec.exe.

rfcexec.exe is an RFC server standard SAP exemple program. It may be used to start scripts on a distant server but it is usually a bad solution because the registration is lost after each restart of the SAP backend system.

If the RFC Server program is not able to re register automatically in cas of a SAP beckend restart, one possible solution is to install a SAP standalone Gateway on the external server and to register the RFC server program on the standalone gateway.

You, then, define the RFC destination to use the standalone gateway.

Regards,

Olivier