
- SAP Business Workflow Tutorial
- SAP Business Workflow - Home
- Introduction
- Challenges
- Benefits/Features
- Layers
- Architecture
- Linking Process, Business Logic & People
- Business Object
- Start & Termination
- Condition Editor
- Administration
- Event Manager Administration
- Workflows With Errors
- Workflow Configuration
- Workflow Builder
- Import/Export
- Creating Steps
- Business Object Builder
- Abap Classes
- Extended Notifications
- Notifications Configuration
- Integration With Non-Sap Workflow Apps
- Universal Worklist
- Creating Workflows
- Archiving Workitems
- Using Swi2_Diag Diagnosis
- Using The Event Trace
- Transactions
- Function Modules
- Job Responsibilities
- SAP Business Workflow Resources
- Quick Guide
- SAP Business Workflow - Resources
- SAP Business Workflow - Discussion
Archiving Workitems
In SAP system, it is possible to archive all the completed Workitems. You can also achieve all data in a workitem. You can display the achieved workitems but they can’t be loaded in SAP system. When you archive workitems, it includes archiving log data, workflow manager data, dependent workitems and workitem attachments.
Workitems with the following status can only be archived.
- Workitems completed
- Execution of the workitem is completed
- When workitem is not required for the workflow logic
- Cancelled workitems
To archive workitems, you have to navigate to Tools → Business Workflow or Development → Workflow → Administration → Workflow Runtime → Reorganization → Archive Work Item.

To archive the workitem, you can use the following selection criteria −
- Workitem number
- Task identifier
- Actual agent of the workitem
- Creation date
- Completion date

Deleting Archived Workitems
You can also delete workitems which are not archived. To delete workitems, navigate to Tools → Business Workflow or Development → Workflow and then Administration → Workflow Runtime → Reorganization → Archive Work Item or T-Code: SWWL.

With the selection criteria as shown below, you have an option to delete Workitems immediately/Delete log data as well. To delete Workitem, enter the required fields and click the Execute button at the top.

To display archived workitems, you have to use report “RSWWARCR”.
Note − In case you want to delete workitems directly that meet the archiving criteria, it is recommended to archive them first, considering performance-wise to use the delete program of the archiving object WORKITEM than to directly delete the workitems.