Thursday, October 20, 2011

Note 353597 - Registering a server program

Summary

Symptom

In the syslog, the following error messages are displayed repeatedly in short intervals:
R49 K Communication error
R49 K Communication error, CPIC-RC=002, SAP-RC=679
R5A K > Conversation ID: 43616802
R64 K > CPIC Function: CMALLC

The following error message is displayed in the trace of the work process:
*****************************************************
* LOCATION SAP-Gateway on host p22970
* ERROR program TEST not registered
*
* TIME Mon Oct 30 09:10:27 2000 * RELEASE 40B
* COMPONENT SAP-Gateway
* VERSION 2
* RC 679
* MODULE gwr3cpic.c
* LINE 1361
* DETAIL TP TEST not registered
* COUNTER 2
*****************************************************

Other terms

TP TEST not registered, SAP-RC=679, CPIC-RC=02

Reason and Prerequisites

The R/3 system tries to access a registered server program that is not currently registered on the gateway.

Solution

Register the server program on the gateway. The server program is responsible for its registration on the gateway.

When you start the server program, it has all of the information concerning the gateway on which the program should be registered.

The following parameters are required:

-a -g -x

To register, for example, the test program rfcexec (sample server program from the RFCSDK) under the 'test' program ID on the SAP host 'HOST' using the gateway 'sapgw00', start rfcexec as follows:

rfcexec -atest -gHOST -xsapgw00

The program ID (which is case-sensitive) must correspond with the program ID used in the RFC destination (SM59, see below).
Restart the relevant server program with the relevant parameters. In the Gateway Monitor (transaction SMGW --> Goto --> Logged on Clients), check whether the server program was subsequently registered.

The entry for the above example is then:
" LU Name TP Name Host Name Host Address System Type ..
HOST test HOST REGISTER_TP.."

The parameters to note are:
TP Name: The name you selected (-a)
System Type: REGISTER_TP (indicates a registered program).

For more information, refer to the online documentation.

Header Data



Release Status:Released for Customer
Released on:05.10.2011 12:31:58
Master Language:German
Priority:Recommendations/additional info
Category:Help for error analysis
Primary Component:BC-MID-RFC RFC
Secondary Components:BC-CST-GW Gateway/CPIC

No comments:

Post a Comment