Fonction SAP BAPI_QUALNOT_CHANGETSKSTAT - QM Notification: Change Task

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CARRIED_OUT_BY BAPIQMSM-CARRIED_OUT_BY C 12 X Person Who Completed the Task
CARRIED_OUT_DATE BAPIQMSM-CARRIED_OUT_DATE D 8 X Date on Which the Task Was Completed
CARRIED_OUT_TIME BAPIQMSM-CARRIED_OUT_TIME T 6 X Time at Which Task Was Completed
LANGU BAPI2078_NOTSTI-LANGU C 1 SY-LANGU X Language key
LANGUISO BAPI2078_NOTSTI-LANGUISO C 2 X Language According to ISO 639
NUMBER BAPI2078_NOTHDRE-NOTIF_NO C 12 Message Number
TASK_CODE BAPI2078_NOTADT-TCODE C 2 Transaction Indicator
TASK_KEY BAPI2078_NOTTASKE-TASK_KEY N 4 Sequential task number
TESTRUN BAPI20783T-STATUS_IND C 1 SPACE X Test Flag

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

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

Functionality
You can use this BAPI to change a task in a QM notification:
TASK_CODE = '01' -> The system status "Task Completed" is assigned tothe task.
TASK_CODE = '02' -> The system status "Task Released" is assigned tothe task
TASK_CODE = '03' -> The system status "Task Successful" is assigned tothe task.
Comments
Errors are transferred in the parameter RETURN.
If you set the parameter TESTRUN, no status change will be made. Thesystem checks if changes to the task are permitted.
The system expects the key of the task in the database to be in theparameter TASK_KEY. You can import this key, for example, using the BAPIBAPI_QUALNOT_GETDETAIL.

Notes
The changes to the notification data are only available on the databaseafter the function modules BAPI_QUALNOT_SAVE and BAPI_TRANSACTION_COMMIThave run successfully.

Description
System status of task

Description
User status of task

Description
Name of processor who completed the task

Description
Date on which the task was completed

Description
Time at which the task was completed

Description
Language key of the current language

Description
Language according to ISO 639.

Description
Number under which the notification to be processed was created in thesystem

Description

Transaction indicators:
TASK_CODE = '01' -> The system status "Task Completed" is assigned tothe task
TASK_CODE = '02' -> The system status "Task Released" is assigned tothe task
TASK_CODE = '03' -> The system status "Task Successful" is assigned tothe task

Description
Number under which the task was created in the system

Description
If the test indicator is set, the function module runs in test mode andthe database is not updated.

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