Handling Errors in the Approval Request Process
Errors may occur if, for example,the alert is locked when the system tries to update the alert.
When the approver approves or rejects a decision, the system will update the alert. A temporary error may occur if the alert is already locked. The system will try to update the alert three times. (The Repeat Counter that is used in report RSWWERIN is fixed.)
If the alert cannot be updated, the workflow is erroneous and can be displayed in transaction SWI2_DIAG (Diagnosis of Workflows with Errors).
Workflow administrators will also be informed about erroneous workflows, as set up in the Automatic Workflow Customizing (transaction SWU3) in step Schedule Background Job for Work Items with Errors (the corresponding transaction is SWWD - Configure and Schedule Work Item Error Monitoring).
Display Application Log
In case of an error further messages are available in the application log.
You can display the application log in transaction SLG1. You can analyze the logs and their messages for workflow-specific errors by using object FRA_WORKFLOW.
Workflow Items Without Approvers
You can use the work item analysis (transaction SWI2_ADM1 - Work Items Without Agents) to find work items without approvers. You can limit the work items to be analyzed by time, type, and task.
Deleting Workflows
It may be required that the workflow administrator deletes a workflow in transaction SWI1. In the Approval Request Log on the Decision section of the alert item, the Status is Logically Deleted.