Fonction SAP BAPI_ISUSMNOTIF_USERSTATUSSET - Set User Status for Notification

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
INACTIVE BAPIFLAG-BAPIFLAG C 1 ' ' X Indicator: Delete status
NUMBER VIQMEL-QMNUM C 12 Notification number
STATUS BAPI_STATUS u 12 Status

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Error messages

Functionality
Sets or deletes a user status for service/maintenance notifications. Inthe structure STATUS, you can enter the status either in the uniqueinternal format or in the language-dependent external format.

Notes
If all fields of the structure STATUS are filled, conflicts arise,which can be resolved as follows:

  • The external format of the status overwrites the internal format.

  • The language in structure element LANGU overwrites the language in
  • element LANGU_ISO.
    Error messages are returned in parameter RETURN.

    Description
    RETURN is a structure used to return error messages. If the messagetype is not initial or "S", then the process flow was interrupted by anerror.

    Description
    INACTIVE controls whether a status will be set or deleted. Thefollowing values are defined:
    Value,,Action
    " ",,Status is set
    "X",,Status is deleted

    Default
    INACTIVE = " "

    Description
    NUMBER is the unique key for a notification

    Description
    STATUS is a structure with the following fields:
    Field,,Description
    INTERN,,Internal format of the status
    EXTERN,,External format of the status
    LANGU,,Language key
    LANGU_ISO,,Language according to ISO 639

    Default
    STATUS-LANGU = Logon language