Fonction SAP BAPI_SYSTEM_MTE_SETPERFPROP - Set the Specific Performance Attribute Properties

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DECIMALS BAPIPAPROP-DECIMALS I 4 X Number of Decimal Places
EXTERNAL_USER_NAME BAPIXMLOGR-EXTUSER C 16 Name of the SAP-External User
RELEVANT_VALUE BAPIPAPROP-RELVALTYPE I 4 X Determines the Relative Value for Alert Generation
THRESHOLD_DIRECTION BAPIPAPROP-THRESHDIR I 4 X Determines the Threshold Direction
THRESHOLD_GREEN_TO_YELLOW BAPIPAPROP-TRESHG2Y I 4 X Value for the Green to Yellow Threshold
THRESHOLD_RED_TO_YELLOW BAPIPAPROP-TRESHR2Y I 4 X Value for the Red to Yellow Threshold
THRESHOLD_YELLOW_TO_GREEN BAPIPAPROP-TRESHY2G I 4 X Value for the Yellow to Green Threshold
THRESHOLD_YELLOW_TO_RED BAPIPAPROP-TRESHY2R I 4 X Value for the Yellow to Red Threshold
TID ALGLOBTID u 84 MTE ID (TID)
TID_SPECIFIC BAPIPARAMS-BOOL_PARA C 1 ' ' X "X" if Only the MTE Should Be Changed
VALUE_UNIT BAPIPAPROP-VALUNIT C 4 X Unit Used
VARIANT_NAME BAPIVARINT-NAME C 20 X Variant Used
XMI_MSG_CLASS BAPIPAPROP-MSGCLASS C 16 X XMI Message Class
XMI_MSG_ID BAPIPAPROP-MSGID C 30 X XMI Message ID

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

Functionality
This method is used to change the specific properties of a performanceattribute.
The properties can be changed:

  • For the MTE class the performance attribute is assigned to. This means
  • that the property changes are valid for all performance attributesbelonging to the MTE class.
    • For the individual performance attribute. 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 probelms (check network connection)
      MSG_DB_PROBLEM: The system encountered a problem accessing the database
      INCLUDE RETURN_DEFAULT_RANGE ID TX

      Description
      This parameter defines the number of decimal places to display.

      Default
      The default setting is to display 0 decimal places.

      Description
      INCLUDE EXTERNAL_USER_NAME_DESC ID TX

      Value range
      INCLUDE EXTERNAL_USER_NAME_RANGE ID TX

      Description
      This (optional) parameter is used to specify which performance valuesshould trigger an alert, if necessary.

      Value range
      Choose from the following:

      • 0: the relevant value for alert generation is not defined

      • 1: the last value determined is used

      • 2: the values determined during the last full quarter of an hour are
      • considered
        • 3: the values determined during the last full hour are considered

        • 4: the values determined during the last minute are considered

        • 5: the values determined during the last five minutes are considered

        • 6: the values determined during the last fifteen minutes are considered
        • Default
          The default setting: the last value determined is used

          Description
          This (optional) parameter is used to specify whether an alert istriggered when the determined value is above or below the threshold.

          Value range
          The possible values are:

          • 0: not defined

          • 1: alerts are generated when the threshold value is exceeded

          • 2: alerts are generated when the value falls short of the threshold
          • value.

            Default
            Default setting: an alert is generated when the threshold values areexceeded.

            Description
            This (optional) parameter defines the threshold value that triggers thechange from "green" to "yellow".

            Description
            This (optional) parameter defines the threshold value that triggers thechange from "red" to "yellow".

            Description
            This (optional) parameter triggers the threshold value that triggersthe change from "yellow" to "green".

            Description
            This (optional) parameter defines the threshold value that triggers thechange from "yellow" to "red".

            Description
            INCLUDE TID_DESC ID TX

            Description
            If this (optional) parameter is set ("X"), the specified changes areexecuted for the monitor tree element itself. Otherwise, the changesare executed for the MTE class the monitor tree element is assigned to.

            Description
            This (optional) parameter defines the unit used for displaying theperformance values.

            Value range
            You can use any unit you want as long it does not exceed the allowedlength (for example, msec, sec, day, km, and so on).

            Description
            This (optional) parameter defines the name of the variant used.
            The owner of the specified variant must be identical to the companyname entered for the XMI logon. If no variant is entered, the systemuses the variant with the same name as the company name entered for theXMI logon. If this variant does not exist, the system creates itautomatically.

            Description
            This (optional) parameter defines the external management tool messageclass to use.

            Default
            The default message class is "T100".

            Description
            This (optional) parameter specifies the message ID.