SAP BASIS SAP Gateway Monitoring SMGW

** Credit web
Monitoring SAP Gateway
SAP Gateway Monitoring via SMGW
The SAP Gateway carries out CPI-C services within the SAP world, which are based on TCP/IP. These services enable SAP Systems and external programs to communicate with one another.
CPI-C services can be used either in the ABAP program or for the external programs via the interfaces. As RFC (remote function call) is based on CPI-C, all RFC connections also pass through the SAP Gateway.
Monitoring SAP Gateway
The Gateway Monitor is used for analyzing and administrating the SAP Gateway in the SAP system.
SAP Tcode for SAP Gateway monitoring is SMGW
The initial screen of the gateway monitor shows all the active gateway connections on this instance. Please find the screenshot attached below.

Using the SAP Gateway Monitor in the SAP System

Use
The Gateway Monitor is used for analyzing and administrating the SAP Gateway in the SAP system.
The initial screen of the gateway monitor shows all the active gateway connections on this instance.



The fields on this screen have the following meaning:
Number Connection number
LU Name The term "logical unit" is a term borrowed from SNA and describes a logical node in an SNA network. The remote partner program is intended to run on this node.
With CPIC connections via TCP/IP, this field describes the host on which the partner program is running or supposed to run.
TP Name Long transaction program name or the name of the program that was started by the gateway.
User Name of the user who is currently using the connection
Status This field indicates the status of the connection:
FREE : Connection is not being used
INIT : Connection is being initialized
INITIALIZED : Connection initialized
CONNECT : Setting up connection
CONNECTED : Connection set up
DISCONNECT : Connection to be closed down
DISCONNECTED : Connection closed down
Symbolic (Destination) The symbolic destination is required when CPIC connections are set up and is a key for the TXCOM and side information tables. These tables manage the required connection parameters.
First the system attempts to read unknown parameters from table TXCOM. Afterwards the gateway reads all the parameters not defined in this table from the side information.
Conversa(tion ID) The conversation ID is a unique number that can be used to identify the connection. By clicking this field, you can display details of the connection.
Prot This field indicates the protocol agreed with the client:
R2PR: R/2 presentation
INT : Internal communication
EXT : External communication
REG : External communication with registered program
CPIC: CPI-C communication
NE : External communication, not started by gateway
Last Req Time of last activity
SAP SAP return code: These return values are defined by SAP; you can display an overview in F1 help. The previous and following syslog messages provide further details on the source of the error. If the syslog messages are not sufficient, the relevant trace files must be analyzed.
The return codes are described under Error Analysis.
CPIC CPI-C return code: The return values of the individual CPI-C functions and their meaning are defined in the "X/Open Developers' Specification - CPI-C". You can display an overview in F1 help. The previous and following syslog messages provide further details on the source of the error. If the syslog messages are not sufficient, the relevant trace files must be analyzed.
Integration
You can also run the Gateway Monitor from outside the SAP system, from operating systems. This is described in detail in the section Using the SAP Gateway Monitor from Outside the SAP System.
Features
You can perform the following functions in the SAP Gateway Monitor:
Local Gateway or SNA Gateway
Display the Logged On Systems
Displaying Remote Gateways
Displaying Existing CPI-C Connections
Deleting a CPI-C Connection
Resetting the Error Count
Display Gateway Work Processes
Displaying Gateway Release Information
Displaying Parameters and Attributes of the SAP Gateway
Changing Gateway Parameters
Activating Tracing for External Programs
The section Expert Functions contains details of other, less frequently used functions. The functions are used mainly by SAP to analyze problems.
Activities
You can launch the Gateway Monitor via transaction SMGW or by choosing the following menu path: Administration ® System Administration ® Monitor®System Monitoring ® Gateway Monitor

0 comments:

Loading