Fonction SAP BAPI_SYSTEM_MTE_SETGENPROP - Set the General Properties of an MTE

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
KEEP_ALERT_MAX BAPIMTEPRP-KEEPALMAX I 4 X Maximum Number of Alerts
KEEP_ALERT_TYPE BAPIMTEPRP-KEEPALTYPE I 4 X Defines which Alerts are to be Retained
SEC_TILL_COLLECT BAPIMTEPRP-SECTILCOLT I 4 X Duration Until Data Collection
SEC_TILL_INACTIVE BAPIMTEPRP-SECTILINAC I 4 X Duration Until Set to Inactive
SEC_TILL_WARMUP BAPIMTEPRP-SECWARMUPT I 4 X Duration as Long as Warmup Phase is Running
SEVERITY BAPIMTEPRP-SEVERITY I 4 X Severity
TEXT_CLASS BAPIMTEPRP-DTEXTCLASS C 16 X Text Class Used
TEXT_ID BAPIMTEPRP-DTEXTID C 30 X Text ID Used
TID BAPITID u 84 MTE ID
TID_SPECIFIC BAPIPARAMS-BOOL_PARA C 1 ' ' X "X" if the Change is Only for MTE
VARIANT_NAME BAPIVARINT-NAME C 20 X Name of Variant Used
VISIBLE_LEVEL BAPIMTEPRP-VISILEVEL I 4 X View

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

Functionality
This method is used to change the general properties of a monitor treeelement (MTE).
The properties can be changed:

  • For the MTE class the MTE is assigned to. This means that the property
  • changes are valid for all MTEs belonging to the MTE class.
    • For the individual MTE. The changes then overwrite the properties
    • "inherited" from the MTE class.
      In addition, the variant for which the properties are to be changed canbe specified. Note that the owner of a variant must be identical to thecompany name used in the XMI logon. Variants that are specifiedexplicitly are created using Transaction RZ21.
      If no variant is specified, the changes will be made for the variantthat has the same name as the company name used for the XMI logon. If avariant with this name does not exist, the system creates itautomatically.

      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 method could not be executed due tocommunication problems (possibly check network connection).
      MSG_DB_PROBLEM: The system encountered an error accessing the database.
      INCLUDE RETURN_DEFAULT_RANGE ID TX

      Description
      INCLUDE EXTERNAL_USER_NAME_DESC ID TX

      Value range
      INCLUDE EXTERNAL_USER_NAME_RANGE ID TX

      Description
      This (optional) parameter describes the maximum number of alerts thatcan be stored for this monitor tree element.

      Description
      This (optional) parameter defines which alerts are to be stored forthis monitor tree element.

      Value range
      Possible values are:

      • 0: Store all alerts

      • 1: Only store oldest alert

      • 2: Only store newest alert

      • 3: Only store alert with highest severity
      • Description
        This (optional) parameter defines the time interval (in seconds) afterwhich the data collection method assigned to the monitor tree elementis to be executed.

        Description
        This (optional) parameter defines the time interval (in seconds) thesystem should wait before setting the monitor tree element to"INACTIVE", when no new alerts have been reported.

        Description
        This (optional) parameter defines the length of the warmup phase (inseconds) for this monitor tree element.

        Description
        This (optional) parameter defines the severity of the monitor treeelement.

        Value range
        The possible values lie between 0 (very low) and 255 (very high).

        Description
        This (optional) parameter describes the message class this monitor treeelement uses for messages.

        Description
        This (optional) parameter describes the message ID used by the monitortree element.

        Description
        INCLUDE TID_DESC ID TX

        Description
        If this (optional) parameter is set ('X'), the specified changes areexecuted for only that one monitor tree element (MTE). If this is notset, the changes are executed for the MTE class the monitor treeelement is assigned to.

        Description
        This (optional) parameter defines which variant is used.
        The owner of the specified variant must be identical to the companyname entered in the XMI logon. If no variant is specified, the systemuses a variant with the same name as the company name from the XMIlogon. If this variant does not exist, the system automatically createsit.

        Description
        This (optional) parameter describes the desired view of the monitortree element.

        Value range
        Possible values:

        • 0: view is unknown

        • 1: operator view

        • 2: expert view

        • 3: developer view