Fonction SAP BAPI_SYSTEM_MTE_GETMLHIS - Read Value History of a Log Attribute

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CLIENT BAPIPARAMS-MANDANT C 3 X Required Client
END_TIMESTAMP BAPIPARAMS-TIMESTAMP P 8 End of Time Interval
EXTERNAL_USER_NAME BAPIXMLOGR-EXTUSER C 16 Name of the SAP-External User
START_TIMESTAMP BAPIPARAMS-TIMESTAMP P 8 Beginning of Time Interval
TID BAPITID u 84 MTE ID (TID)
USERID BAPIPARAMS-USERID C 12 X Required user ID

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Return Messages

Paramètre Reférence Long. Facultatif Description
MSG_LINE_DATA BAPIMLCVAL 96 Table Containing General Data per Line
XMI_MSG_EXT BAPIXMIEXT 255 Table Containing the Triggered XMI messages
XMI_MSG_RAW BAPIXMIRAW 690 Table Containing XMI Parameters

Functionality
This tool can be used to determine the value history of a messagecontainer within any time interval.

Notes
The "value history" of a message container mainly consists of a sectionof the monitored log file. The "values" of a message container aretherefore generally lines from just such a log file.

Description
INCLUDE RETURN_DESC ID TX

Value range
MSG_TID_INVALID: The specified TID is invalid.
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).
INVALID_TIME_RANGE: The specified time interval is invalid.
MSG_DB_PROBLEM: The system encountered a problem accessing thedatabase.
INCLUDE RETURN_DEFAULT_RANGE ID TX

Description
This parameter indicates the client, for which a value history is to bedetermined.

Default
This parameter is optional. If it is not specified, the system returnsvalue histories for all clients.

Description
This parameter defines the end point for a value history.

Description
INCLUDE EXTERNAL_USER_NAME_DESC ID TX

Value range
INCLUDE EXTERNAL_USER_NAME_RANGE ID TX

Description
This parameter defines the start point for a value history.

Description
Describes the monitor tree element ID (TID).
In general, the individual TID fields do not need to be consideredindividually.

Description
This parameter defines the user, for whom the system should determine avalue history.

Default
This parameter is optional. If it is not specified, the value historyis returned for all users.

Description
This table contain general information about the individual lines of avalue history.
INCLUDE BAPI_DATAELEMENT

Description
This table contains the individual (translated and triggered) externalmanagement tool messages for the value history.
INCLUDE BAPI_DATAELEMENT

Description
This table contains the parameters of the individual externalmanagement tool messages.
INCLUDE BAPI_DATAELEMENT