Fonction SAP BAPI_QUALNOT_CHANGEUSRSTAT - QM Notification: Change User Status

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
NUMBER BAPI2078_NOTHDRE-NOTIF_NO C 12 Message Number
SET_INACTIVE BAPI20783T-STATUS_IND C 1 SPACE X Set Inactive Indicator
TESTRUN BAPI20783T-STATUS_IND C 1 SPACE X Test Flag
USR_STATUS BAPI2078_NOTUSRSTATI u 12 User Status to be Set

Paramètre Reférence Type Long. Description
SYSTEMSTATUS BAPI2078_NOTADT-SYSTATUS C 40 System Status for Notification
USERSTATUS BAPI2080_NOTADT-USRSTATUS C 40 Field displaying user status

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 X Return Parameter(s)

Functionality
This BAPI changes the user status of a QM notification at header level.

Comments
Errors are transferred in the parameter RETURN.
The status profile must be assigned in the status management for thenotification type.

Notes
The user status can be transferred in internal or external format(fields USR_STATUS-STATUS_INT or USR_STATUS_EXT).
If the external format is used, the language must also be specified(fields USR_STATUS-LANGU or USR_STATUS-LANGU_ISO).
The changes made to the notification data are only available on thedatabase after the function modules BAPI_QUALNOT_SAVE andBAPI_TRANSACTION_COMMIT have run successfully.

Description
System status of notification (in display mode)

Description
Notification user status

Description
Number of the notification to be processed

Description
Specifies that the specified user status is to be set to inactive

Description
If this parameter is set, the system does not make any changes on thedatabase. It just checks if the functions can be executed withouterrors.

Description
Specifies the user status that can be set in the notification using theBAPI

Description
The table contains the list of errors that occurred during processing