Skip to Content
author's profile photo Former Member
Former Member

How to register a program in satgateway?

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 13, 2010 at 10:36 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

  • Posted on Dec 14, 2010 at 10:35 AM

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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.