Registering the Mlunxsnd Program

Use

If you have created an RFC destination with the activation type registration for program Mlunxsnd in the SAP system, you must register the program to an SAP gateway. The program is then used as the RFC server.

An RFC server registered in the SAP system maintains a constant connection to an SAP gateway, which forwards all outgoing RFC calls. The RFC server registers for the SAP-Gateway with a unique program ID, via which the RFC link is identified in SAP.

Activities

You have two possibilities for registering the RFC destination for the SAP Gateway:

·        in the file Saprfc.ini

·        directly in the command line when starting program mlunxsnd.

The following information is specified at registration:

Parameters in the file saprfc.ini
Option when called up directly
Description
Example

DEST

Name of RFC connection

SIMG_Mlunxsnd

TYPE

The connection type is registration R at the activation type.

R

PROGID

-a

User defined name, for example, <host name>.<program name>.<system name><client>

hs3333.mlunxsnd.c11001

GWHOST

-g

SAP Gateway host name

hs3333

GWSERV

-x

The Gateway service port is usually specified in the form sapgw<system number>.

sapgw00

RFC_TRACE

-t

Specifies whether a trace of RFC connections should be written to the file Dev_rfc.

This file can be very large.

0

Example for the entry in file Saprfc.ini:

The file Saprfc.ini must be located in the work directory of the program Mlunxsnd. Under Windows NT, this is usually the directory in which the program itself is located.

Information on registration via file Saprfc.ini can be found in the documentation BC - The RFC API.