Fonction SAP BAPI_SYSTEM_MTE_GETTIDBYNAME - Read TID for a Uniquely-Named MTE

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CONTEXT_NAME BAPITID-MTMCNAME C 40 The context name
EXTERNAL_USER_NAME BAPIXMLOGR-EXTUSER C 16 Name of the SAP-External User
MTE_NAME BAPIMTEGEN-SHORTNAME C 40 X MTE Name
OBJECT_NAME BAPIMTEGEN-OBJECTNAME C 40 X Object Name
SYSTEM_ID BAPITID-MTSYSID C 8 System ID

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Return Messages
TID BAPITID u 84 The returned MTE ID (TID)

Functionality
This tool returns the MTE ID (TID) corresponding to a specified monitortree element "long name".

Notes
A monitor tree element "long name" consists of the system, context,object and attribute names. This four-part name is globally unique.
Any sum or virtual nodes are not contained within the "long name" of amonitor tree element but are indicated by "...".
The "short name" of a monitor tree element is the name of the monitortree element itself. You can determine the short name by using theSystemMonitorTreeElement.GetGeneralProperties method, for example.

Description
INCLUDE RETURN_DESC ID TX

Value range
MSG_TID_INVALID: The specified TID is invalid.
MSG_CALL_INVALID: The underlying function call could not be executed(function parameters may be incorrectly set).
MSG_C_CALL_FAILED: The last C function called could not be executed.
MSG_COMMUNICATION_PROBLEM: The system could not call the tool due tocommunication problems (possibly check network connection).
MSG_DB_PROBLEM: The system encountered a problem accessing thedatabase.
INCLUDE RETURN_DEFAULT_RANGE ID TX

Description
INCLUDE TID_DESC ID TX

Description
Name of a monitoring context. A monitoring context is a logicallyconnected group of monitoring objects which are ordered together underone summary in the monitoring tree. Each independent tree forms amonitoring context within a monitoring segment. The monitoring contextis named after the root element of the tree.

Description
INCLUDE EXTERNAL_USER_NAME_DESC ID TX

Value range
INCLUDE EXTERNAL_USER_NAME_RANGE ID TX

Description
Name of a monitoring attribute in the alert monitor. In the monitoringtree, a monitoring attribute is always an end-node in the hierarchy, a"leaf" in the monitoring tree.
A monitoring attribute is the receptacle into which a data supplierreports data. A monitoring attribute is also the monitoring treeelement in which alerts can be triggered.

Description
Name of a monitoring object in the alert monitor.
A monitoring object represents a component or property of the systemthat is to be monitored. Actual monitoring functionality is associatedwith monitoring attributes. A monitoring object can have one or moresubordinate monitoring attributes.

Description
The name of the SAP System in which the MTE is located.