Fonction SAP BAPI_SYSTEM_MTE_GETPERFHIS - Read the Performance Data History

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
EXTERNAL_USER_NAME BAPIXMLOGR-EXTUSER C 16 Name of the SAP-External User
TID BAPITID u 84 MTE ID (TID)

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

Paramètre Reférence Long. Facultatif Description
HISTORY_VALUES BAPIPAHIS 60 History Data Determined
REQUESTS BAPIPAREQ 22 Requirements

Functionality
This tool returns the value history of the specified performancemessage.
In this context, the value history contains performance messagescollected and reported during a specified time interval.

Notes
Use the SystemMonitorTreeElement.GetPerfCurrentValue tool to determinethe current performance messages.

Description
INCLUDE RETURN_DESC ID TX

Value range
MSG_TID_INVALID: The specified TID is invalid.
SG_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 EXTERNAL_USER_NAME_DESC ID TX

Value range
INCLUDE EXTERNAL_USER_NAME_RANGE ID TX

Description
INCLUDE TID_DESC ID TX

Description
This table contains the history data determined.
INCLUDE BAPI_DATAELEMENT

Description
This table contains the requests that define the desired history data.This allows the system to be able to report different history data whenthis tool is called.
"One" performance history value always consists of three parts:
- The SUM of the performance values within the time frame
- The NUMBER of performance values within the time frame
- The AVERAGE of the performance values
The types of performance values are:
'I': The system reports the history values for the last 30 minutes bydisplaying one three-part performance value (as described above) perminute. The time frame is therefore 60 seconds.
'C': The system reports the history values for the last 24 hours. Thetime frame here is 3600 seconds meaning the system reports onethree-part performance value per hour.
'D': The system reports the history data for a specific day. The timeframe of 3600 seconds contains 24 values.
'X': The system reports the history data for a specific period. Timeframe and number of values are as for "D".
'W': The system reports the history data for a specific week. Timeframe and number of values are as for "D".
'M': The system reports the history data for a specific month. Timeframe and number of values are as for "D".
'Y': The system reports the history data for a specific year. Timeframe and number of values are as for "D".
INCLUDE BAPI_DATAELEMENT

Value range