The following image shows a list of system status values and user status values and their potential effect on business transactions:
A system status is predefined in the system by SAP and cannot be changed. The following status values on the notification header level are possible:
- Outstanding: The notification was created during defects recording, but has not yet been activated.
- In process: The Quality Engineer set the notification in process and the issue team analyzes the defect and performs tasks.
- Order assigned: A QM order has been assigned for recording defect costs.
- Postponed: Notification processing has been postponed until further notice.
- Completed: The Quality Engineer closed the notification since the issue has been resolved and all tasks have been completed.
- Defects recording: The notification was created during defects recording.
In addition, the Application Consultant can freely define a user status profile in Customizing. In our example, the user status flags the notification as reporting-relevant and ready for archiving.
A system status can influence the allowed business transactions. For example, a notification with the system status In process cannot be set to "In process" again, as it is already in that state. However, the Application Consultant can also define in the user status profile that if a user status is set, a business transaction that is not forbidden by the system status is still forbidden until the respective user status is removed. For example, setting the user status Archive could prevent a closed notification from being re-opened.
In general, a (system and user) status can have the following effect on a business transaction:
Allow a business transaction: In this case, the user can perform the business transaction.
Allow with warning: In this case, when trying to perform the business transaction, the system raises a warning message that the user can confirm.
Prohibit: In this case, the user cannot perform the business transaction and the system raises an error message.
Note
If at least one status value that is currently active forbids a business transaction, the user cannot perform the action until all status values forbidding a business transaction have been deactivated.Furthermore, note that performing a business transaction activates one status, while it might delete another status. For example, setting the notification in process, removes the status Outstanding and sets the status value In Process.
Hint
System and user status are also available at the task level of a notification. However, the defect item and activities do not have status values.
The image below illustrates how an active status enables specific business transactions and how performing a business transaction disables one status and sets another status. For example, when a user chooses to perform a business transaction, the active status allows them to carry out the transaction. However, this action also disables the previous status and sets a new status, indicating that the transaction has been initiated.
Initially, the status OSNO - Notification Outstanding (1) is active since the notification was created during defect recording, but it has not been activated. This status allows for the business transactions Put a notification in process and Complete notification to be executed (2). The user performs the business transaction Set in process (3). Now, the new object status NOPR - Notification in Process (4) is active. The latter allows for the business transaction Complete notification to be executed (5).
The following image shows an example of a user status profile the Application Consultant defined in Customizing:
The Consultant defined a status profile with four status values:
- INIT - Notification Initialized
- REL - Released for Processing
- LBK - Processing Blocked
- CANC - Notification Canceled
The initial status (1) for notifications is set as "INIT" to automatically apply this status when creating a notification. The status values "REL," "LBK," and "CANC" must be manually set. No authorization object is assigned to any status value (2), so no additional checks are performed. However, you can limit who can set or remove a status by assigning an authorization code. It is important to note that all four status values have a number (3), meaning that only one of the four status values can be set. It is also possible to set multiple status values simultaneously, but they must not have a status number. Additionally (4), "REL" and "LKD" have a lowest status number of 2 and a highest status number of 4. Once either "REL" or "LKB" is set, the user cannot set "INIT" anymore. Similarly (5), since "CANC" has both a lowest and highest status number of 4, once "CANC" is set, a lower status cannot be set anymore. From a business perspective, "CANC" is a final status that cannot be undone.
The Consultant can define which business transactions are allowed or forbidden once a status value is set by double-clicking on it. For example, they could specify that once a notification is canceled (CANC applies), it cannot be set to "in process" again. From a business perspective, it is possible to define that the coordinator reviews the notification once it is created. If they determine that the notification is no longer needed or is a duplicate created accidentally, they can set the CANC status to prevent further processing of the notification.
After having defined a status profile, the Consultant assigns it to a notification type. It's possible to assign one status profile to the notification header level and a different status profile to the task level, if this is required by your business process.